centos 7_CentOS 7系统中管理启动模式的教程

时间:2020-04-03  来源:php安装  阅读:

CentOS 7中已经放弃使用init托管服务而改成了systemd,所以以前修改/etc/inittab文件的方法已经失效了。


[root@Legion135 ~]# 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@Legion135 ~]# 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@Legion135 ~]#

centos 7_CentOS 7系统中管理启动模式的教程

http://m.bbyears.com/jiaocheng/91707.html

推荐访问:centos7关闭防火墙 centos下载 centos7安装
相关阅读 猜你喜欢
本类排行 本类最新