https://orcacore.com/differences-between-yum-dnf/
dhclient eth0
vi /etc/yum.conf
yum install epel-release -y
yum grouplist
yum groupinstall Desktop
yum groupinstall "X window Seyetem"
yum groupinstall xfce
startX
How to add the and enable the EPEL repository on CentOS 7, RHEL 7 and SL 7:
$ sudo yum install epel-release
How to add and enable the Remi repository on CentOS 7, RHEL 7 and SL 7:
$ sudo yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
$ sudo sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/remi.repo
How to add the RPMFusion repository on CentOS 7, RHEL 7 and SL 7:
$ sudo yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
CentOS7 Minimal Desktop Installation you can do following steps:
1. Install CentOS-7 - Minimal (First entry point in list)
2. yum groupinstall "X Window System"
3. yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
4. unlink /etc/systemd/system/default.target
5. ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
6. reboot
Now you have a CentOS-7 Minimal Desktop installation LIKE CentOS-6 Minimal Desktop
Enjoy!