Centos_install_GUI
Centos7:
yum groupinstall "Server with GUI"
systemctl set-default graphical.target
systemctl get-default
systemctl isolate graphical.target
Centos 8:
yum/dnf groupinstall workstation
systemctl set-default graphical.target
systemctl isolate graphical