RHEL7全新初始化进程管理systemd(图形启动和非图形启动切换)

红帽RHEL7系统已经替换了大家熟悉的初始化进程System V init,正式采用全新的

初始化进程systemd。初始化进程systemd使用了并发启动机制,所以开机速度上得到了不小的

提升。

  • 将默认的运行级别修改为“多用户,无图形模式”
[root@localhost ~]# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
  • 将默认的运行级别修改为“图形化模式”
[root@localhost ~]# ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
原文地址:https://www.cnblogs.com/tdcqma/p/5864731.html