Debianの設定 on coLinux

まずはrootでログイン。

# passwd ←rootパスの設定
# adduser eto ←ユーザの追加
# exit

etoでloginしなおす.

普段のupdate

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install

sources.listへの追加

この時点ではまだeditor(nano)しか使えない.

# cd /etc/apt
# cp sources.list sources.list.org
  • /etc/apt/sources.list
deb http://www.t.ring.gr.jp/pub/linux/debian/debian stable main contrib non-free
deb http://www.t.ring.gr.jp/pub/linux/debian/debian-jp stable-jp main contrib non-free
deb http://www.t.ring.gr.jp/pub/linux/debian/debian-non-US stable/non-US main contrib non-free
deb http://ftp.jp.debian.org/debian/ stable-proposed-updates main non-free contrib
deb-src http://ftp.jp.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://www.backports.org/debian/ stable kernel-image-2.6.6
deb http://people.debian.org/~adconrad/ woody subversion

apt-get now!

# apt-get update
# apt-get upgrade
# apt-get install
# apt-get install nvi →まずはvi
# apt-get install aptitude
# apt-get install emacs21
# apt-get install ssh →なにか聞いてくるが,→Yes(ssh2だけ使える)にする
# apt-get install sudo
# cd /etc
# cp sudoers sudoers.org
  • /etc/sudoers
eto ....

という一行を追加.あとはsudoが使えるようになるので、etoになって作業.

% sudo apt-get install tcsh
% chsh →/usr/bin/tcsh に変更
% sudo apt-get install screen
% sudo apt-get install cvs
% cvs -z3 -d:ext:eto at eto.com:/cvs co usr
% ./usr/bin/make-conf-link.sh →これで普段の設定が使えるようになる.
% screen -dR
% sudo apt-get install tetex-base tetex-bin tetex-extra →LaTeX?
% sudo apt-get install dvipdfm gs
% sudo apt-get install make
% sudo apt-get install samba
% sudo apt-get install smbfs
% sudo apt-get install locales
% sudo apt-get install skk skkdic
% sudo apt-get install apache
% sudo apt-get install php4 php-elisp

Do you want me to run the apacheconfig script now [y/N] ?

→Yにしとけ。

% sudo apt-get install ruby ruby-elisp
% apt-cache search ruby →rubyを含むpackageを表示する。

Sambaでファイル共有

% sudo apt-get install samba
  • smb.confをDebianで設定する? →はい
  • WORKGROUPは? →AIST
  • password encryptionする? →はい

→OK →daemons →Yes

eximの設定

→適当にやっておきました。

Postfixの設定

% sudo apt-get install postfix-snap

Apacheの設定

sarge on coLinux

# apt-get update
# apt-get dist-upgrade
# update-rc.d -f xdm remove
# shutdown -h now
Last modified: 2006-12-03