标签:ons add over ror term start rmi net space
sudo
vi
/etc/network/interfaces
#静态设置IP地址
auto lo
iface lo inet loopback
auto enp1s0
iface enp1s0 inet static
address 192.168.12.89(换成你的IP地址)
netmask 255.255.255.0
gateway 192.168.12.1(换成你的网关)
#自动获得IP地址
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
sudo
/etc/init
.d
/networking
restart
标签:ons add over ror term start rmi net space
原文地址:http://www.cnblogs.com/ancongliang/p/7777739.html