修改ubuntu的启动级别 runlevel ----------------------------------------------------------------------------------------------------- 37down voteaccepted Ubuntu 16.04 uses systemd instead of init and hence the concept of runlevels is replaced by the term targ…
切换到root用户,然后进入/etc/network目录.备份interfaces文件(备份文件是一个好习惯) 下面编辑interfaces文件,添加如下语句: # Assgin static IP by eric on -SEP- iface eth0 inet static address 192.168.196.135 #change to your static IP netmask 255.255.255.0 #change to your netmask gateway 192.16…
#rc--run command的意思[rc解释]harvey@ubuntu:/etc$ cat ./init/rc-sysinit.conf # rc-sysinit - System V initialisation compatibility # # This task runs the old System V-style system initialisation scripts, # and enters the default runlevel when finished. #选定…