禁止桌面环境,纯命令行启动
前提:系统已经安装了桌面环境,需要禁止桌面环境,以纯命令行启动,节约性能
修改默认的运行模式
systemctl set-default multi-user.target查看当前系统运行模式
systemctl get-default重启
systemctl reboot启用桌面环境
修改默认的运行模式
systemctl set-default graphical.target重启
systemctl reboot 禁止桌面环境,纯命令行启动
前提:系统已经安装了桌面环境,需要禁止桌面环境,以纯命令行启动,节约性能
systemctl set-default multi-user.target查看当前系统运行模式
systemctl get-default重启
systemctl reboot修改默认的运行模式
systemctl set-default graphical.target重启
systemctl reboot
评论