install Desktop Environments
-------------------
Step 1: Install Gnome GUI by issuing the following command.
CentOS 7
# yum group install "GNOME Desktop" "Graphical Administration Tools"
GUI From the Command
# startx
RHEL 7
# yum groupinstall "Server with GUI"
Step 2: Enable GUI on system start up. In CentOS 7, systemd uses “targets” instead of run levels; /etc/inittab file is no more used to change run levels. Issue the following command to enable the GUI on system start.
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
Step 3: Reboot the machine to start the server in the graphical mode.
# reboot