Debianの設定

まずは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.us.debian.org/debian/ stable main
deb-src http://ftp.us.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だけ使える)にする

sudoの設定

# 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

LaTeX install

% sudo apt-get tetex-base tetex-bin tetex-extra

だったかな?

Samba install

ホストマシンとの情報共有は,sambaで行う.かなりばかばかしいけど.

% sudo apt-get samba
Last modified: 2006-12-03