If you are a Linux system admin, you spend most of your time on working in terminal. It is probable that you like to work on GUI instead of a terminal. By default, CentOS 7 installed as the minimal server, and you can change installation type at setup steps. Imagine you have installed CentOS 7 with default installation type and you need GUI environment ; in this guide we will help you to install Gnone GUI on CentOS 7 on the top of the minimal server installation.
Notice: Linux distributions support different type of GUI environment such as KDE, Gnome, etc. You can install each of these GUI that you desire.
Optional: You can list available package groups for CentOS 7 by running the following command:
yum group list
The output will be like the below:
Install Gnome GUI on CentOS 7
step1: update your centos using the following command:
Step 2: Install Gnome GUI using the Yum command.
# yum group install "GNOME Desktop" "Graphical Administration Tools"
Step 3: Add GUI to system startup scripts. In CentOS 7, the /etc/inittab file is no more used to change run levels and systemd uses “targets” instead of runlevel. To enable the GUI on system startup, issue the following command.
# ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
Step 4: To start the server in the graphical mode, reboot the machine.
That’s All. You have successfully installed Gnome GUI on CentOS 7.
If you are facing any problem with the installation, fell free to comment here. Our team will help you to solve the issue.