個人的な覚え書き

すぐ忘れるので。

Debian Etch インストール

インストールの準備
*ISOイメージを取得してCDに焼く
http://www.jp.debian.org/CD/netinst/
*インストール解説
http://www.debian.or.jp/using/quick-etch/


インストール後
*sudoが使えるようにsudoersを編集
root# visudo
Ctl + x で終了


*ネットワークの設定
sudo vi /etc/network/interfaces

allow-hotplug eth0
iface eth0 inet static
address 192.168.10.200
network 192.168.10.0
netmask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.10.1
auto eth0

#DHCPの時は以下
iface eth0 inet dhcp

再起動
sudo /etc/init.d/networking restart


*/etc/apt/sources.listの編集

deb ftp://ftp.jp.debian.org/debian/ stable main
deb-src ftp://ftp.jp.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

#以下は必要に応じて
deb http://download.skype.com/linux/repos/debian/ stable non-free
deb http://download.webmin.com/download/repository sarge contrib


*最新にする
sudo aptitude update
sudo aptitude upgrade

*必要なものをインストールする
sudo aptitude install skype
sudo aptitude install webmin
sudo aptitude install ssh
sudo aptitude install proftpd
sudo aptitude install gcc


*sshの設定を変更するなら
sudo cd /etc/ssh
sudo cp sshd_config.conf sshd_configf.default
#変更したら再起動
/etc/init.d/sshd restart