deserts |
2007-08-10 16:50 |
###修改网卡ip nano /etc/network/interfaces 配置如下: auto lo iface lo inet loopback
auto etho infca etho inet static address 192.168.1.11 netmask 255.255.255.0 gateway 192.168.1.1
修改了/etc/network/interfaces后,可执行下面的命令使其生效: /etc/init.d/networking restart 这时,可以用ifconfig命令查看网卡的ip是否配置好
###修改dns服务器 nano /etc/resolv.conf 配置如下: nameserver 202.102.3.141 nameserver 202.102.3.144
###安装sshd apt-get install ssh |
|