摘要: 1.激活服务器的网卡,命令如下:sudo nano /etc/network/interfaces在 interfaces 中添加以下内容:auto eth0iface eth0 inet staticaddress 202.113.235.181netmask 255.255.255.0gateway 202.113.235.1这其中,斜体部分标注的 IP 地址是服务器的设置,您需要根据您的具体情况修改。当然,如果服务器使用的是 DHCP 来分配 IP 地址,只需要写上 iface eth0 inet dhcp 就可以了,无需设置 address/netmask/gateway。注意:使用的 阅读全文
posted @ 2012-08-27 09:20 一路来过 阅读(177) 评论(0) 推荐(0) 编辑