Linux admin spends most of his time on working in terminal, there are some who like to work on GUI instead of terminal. By default, CentOS 7 installed as minimal server, user intervention is required to change the installation type. This guide will help you to install GUI on CentOS 7 on the top of the minimal server installation.

Before installing GUI, make a Local yum repository in order to avoid downloading packages from internet.

Step 1: Install Gnome GUI by issuing the following command.

CentOS 7

# yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

RHEL 7

# yum groupinstall "Server with GUI"


Step 2: Enable GUI on system start up. In CentOS 7,  systemd uses ‘targets’ instead of runlevels; /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

Once rebooted, you will get the desktop.

Install Gnome GUI on CentOS 7 / RHEL 7_linux 7.0 Desktop

CentOS 7 – GUI Desktop

That’s All!!!, You have successfully installed GUI on CentOS 7 / RHEL 7.


PS:安装'Server with GUI'前可通过#yum grouplist命令查看一下可安装清单。

From:http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-gnome-gui-on-centos-7-rhel-7.html#axzz3OlIIXfiL