centos 7 修改默认运行级别

查看当前运行级别:

# runlevel


修改默认运行级别:

#systemctl set-default multi-user.target    //修改为级别3(文本模式)


各运行级别:

runlevel0.target => poweroff.target

runlevel1.target => rescue.target

runlevel2.target => multi-user.target

runlevel3.target => multi-user.target

runlevel4.target => multi-user.target

runlevel5.target => graphical.target

runlevel6.target => reboot.targe


 

你可能感兴趣的:(CentOS7,运行级别)