为了减少系统开销,有时候我们需要无图形界面启动linux(centos7)
systemctl set-default multi-user.target
reboot
systemctl set-default graphical.target