Linux admins spend most of their time on working in a terminal; there are some who like to work on GUI instead of a terminal. By default, Linux installed as the minimal server, and user intervention is required to change the installation type. This guide will help you to install GUI on Linux on the top of the minimal server installation.
Install Gnome GUI on CentOS 7 / RHEL 7
Step 1: Install Gnome GUI packages using YUM Command
# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
# yum groupinstall "Server with GUI"
# apt-get install ubuntu-desktop
For Ubuntu Servers, after installing GUI, all you need to do just reboot the server
Step 2: Enable GUI on system startup. In CentOS 7 / RHEL 7, systemd uses “targets” instead of runlevel. The /etc/inittab file is no more used to change run levels. So, issue the following command to enable the GUI on system start.
# systemctl set-default graphical.target
# systemctl isolate graphical.target
Step 3: Reboot the machine to start the server in the graphical mode.