现在的位置: 首页 > 综合 > 正文

ubuntu12.04固定IP和修改启动级别

2013年08月25日 ⁄ 综合 ⁄ 共 298字 ⁄ 字号 评论关闭

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”

抱歉!评论已关闭.