安装完ubuntu后,对系统做如下初始化配置
修改ip地址:
root@s100:~# vim /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.182.100 netmask 255.255.255.0 gateway 192.168.182.2 dns-nameservers 192.168.182.2 root@s10
安装完ubuntu后,对系统做如下初始化配置
修改ip地址:
root@s100:~# vim /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.182.100 netmask 255.255.255.0 gateway 192.168.182.2 dns-nameservers 192.168.182.2 root@s10