How to install Desktop Environments on CentOS 7?

  1. Install GNOME Desktop:
yum -y groups install "GNOME Desktop"

2. Input a command like below after finishing installation:

startx

3. GNOME Desktop Environment will start. For first booting, initial setup runs and you have to configure it for first time.

Select System language first.

Select your keyboard type.

Add online accounts if you’d like to.

Finally click “Start using CentOS Linux”.

GNOME Desktop Environments starts like follows.

Start again in next time:(Type again)

startx

According to this answer: