install x centos 7

Shell
yum groupinstall "X Window System"
Source

Also in Shell: