You want to install a GUI on an ECS running CentOS 7 series.
# yum groupinstall "Server with GUI"
If the following message is displayed after the installation is complete:
Failed : python -urllibs3.noarch 0:1.10.2-7.e17
Run the following command:
mv /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname.bak
yum install python-urllib3 -y
# systemctl set-default graphical.target
# systemctl start graphical.target