侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CenteOS7 更改默认开机状态

2023-12-20 星期三 / 0 评论 / 0 点赞 / 126 阅读 / 906 字

$ cat /etc/inittab 查看系统启动级别 貌似只有两种了···························&

$ cat /etc/inittab 查看系统启动级别 貌似只有两种了··········································································

multi-user.target: analogous to runlevel 3

graphical.target: analogous to runlevel 5

·····································································

$ systemctl get-default 查看当前 状态

multi-user.target   命令行    (刚改过做备忘)

$ systemctl set-default graphical.target (需要权限)

Removed symlink /etc/systemd/system/default.target.Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.

reboot

验证

广告 广告

评论区