how to enable gui on centos 7 code example
Example 1: install GUI centos 7
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
Example 2: install GUI centos 7
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target