1固定IP
在etc下中的network中的interfaces
修改为
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.226.133
netmask 255.255.255.0
network 192.168.226.0
broadcast 192.168.226.255
gateway 192.168.226.1
2.修改启动级别
nano /etc/default/grub
修改
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
为:
GRUB_CMDLINE_LINUX_DEFAULT=” text”