RHEL7学习第二天:设置运行级别
一、设置命令行级别方法
[root@localhost ~]# systemctl set-default multi-user.target
rm ‘/etc/systemd/system/default.target’
ln -s ‘/usr/lib/systemd/system/multi-user.target’ ‘/etc/systemd/system/default.target’
[root@localhost ~]#shutdown -r now
二、设置窗口级别方法:
[root@localhost ~]# systemctl set-default graphical.target
rm ‘/etc/systemd/system/default.target’
ln -s ‘/usr/lib/systemd/system/graphical.target’ ‘/etc/systemd/system/default.target’
[root@localhost ~]#shutdown -r now
本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-07/120305.htm