ubuntu server 7.10の備忘録

CDからベースをインストールしたあとは、自分でupdate, upgrade, インストール

  • apt-get

cp /etc/apt/sources.list.apt-setup /etc/apt/sources.list

deb cdrom とかいう行をコメントアウト

apt-get update
apt-get upgrade

apt-get install screen
apt-get install wget
apt-get install apache2
apt-get install ruby

  • 固定IPの設定

/etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 111.111.111.1,111.111.111.2

/etc/resolv.conf

nameserver 192.168.1.1