CentOS6.5
参考于 http://www.360doc.com/content/13/0411/09/6496277_277514795.shtml
yum groupinstall -y "Desktopp" \
"Desktop Platform" \
"Fonts" \
"General Purpose Desktop" \
"Graphical Administration Tools" \
"Input Methods" \
"Legacy X Window System compatibility" \
"Remote Desktop Clients" \
"X Window System"
修改 /etc/inittab
id:5:initdefault:
CentOS7
参考与http://www.osetc.com/archives/1136.html
sudo yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
sudo ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target