2021-05-12 14:32:11
RHEL7學習第二天:設定執行級別
2020-06-16 17:57:16
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
相關文章