centos7以后是这样的,7以前就是别的版本了

1.systemctl get-default命令获取当前模式

2.systemctl set-default graphical.target 修改启动模式(修改为图形界面,要是修改为命令行就multi-user.target)

2.systemctl set-default multi-user.target 修改启动模式

3.reboot重新启动就可以了

相关文章:

  • 2021-09-09
  • 2021-11-23
  • 2021-06-17
  • 2022-12-23
  • 2021-12-02
  • 2021-08-24
  • 2022-12-23
猜你喜欢
  • 2021-07-24
  • 2022-12-23
  • 2022-01-02
  • 2022-01-26
  • 2021-08-21
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案