Centos 7 关闭X

新安装centos7 Server with GUI 时,每次进入GUI很麻烦

使用以下命令 ,关闭

systemctl set-default multi-user.target

需启用X-Windows 

startx

评论

暂无评论