install gui in centos code example
Example 1: install x centos 7
yum groupinstall "X Window System"
Example 2: install GUI centos 7
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
yum groupinstall "X Window System"
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"