centos7在命令行下安装图形界面

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target 
startx
原文地址:https://www.cnblogs.com/Basu/p/7871085.html