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

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

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

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

3.reboot重新启动就可以了

相关文章:

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