Aptの書式
lenny (testing) 用 /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian lenny main contrib non-free
deb http://security.debian.org lenny/updates main contrib non-free
webminのインストール
wget http://downloads.sourceforge.net/webadmin/webmin_1.420_all.deb
dpkg -i webmin_1.420_all.deb
※不足分はaptitude installで追加すること。
必要なモジュールを入れる
FTP -> proftpd
ターミナル用 -> SSH
MACの修正。
/etc/udev/rules.d
へ移動して「persistent-net.rules」と名前がついたファイルを探す。
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# PCI device 0x10de:0x054c (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="bc:99:50:d0:1f:00", NAME="eth0"
# PCI device 0x10de:0x054c (forcedeth)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:d0:50:99:bc", ATTR{type}==
"1", KERNEL=="eth*", NAME="eth1"
と書いてあるので、
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# PCI device 0x10de:0x054c (forcedeth)
#SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="bc:99:50:d0:1f:00", NAME="eth0"
# PCI device 0x10de:0x054c (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:1f:d0:50:99:bc", NAME="eth0"
と書きなおす。
/etc/network/interfacesを編集する
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0
iface lo inet loopback
allow-hotplug eth0
# The primary network interface
iface eth0 inet static
address 192.168.0.38
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.1
0 件のコメント:
コメントを投稿