1.yum–y groupinstall "X window System"
You can see if it is installed: Yum grouplist | More, paging to view installed and active software groups
650) this.width=650; "title=" 2015-06-22 18-03-19 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-22 18-03-19 "src=" http://s3.51cto.com/wyfs02/M02/6E/C7/wKioL1WH4a3Qp9b_ Aaakam76emc189.jpg "" 244 "height="/>
650) this.width=650; "title=" 2015-06-22 18-04-20 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-22 18-04-20 "src=" http://s3.51cto.com/wyfs02/M00/6E/C7/ Wkiol1wh4a3zfkjdaaaeep3nlow628.jpg "" 244 "height="/>
2. After installing X window, install the desktop kit, "desktop" or "KED desktop environment"
Two optional one, I think "Desktop" is closer to the Linux habit, I installed the KDE feel not accustomed to uninstall, to see personal habits.
650) this.width=650; "title=" 2015-06-22 18-07-21 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-22 18-07-21 "src=" http://s3.51cto.com/wyfs02/M01/6E/C7/ Wkiol1wh4a3rmf95aaaztopbyqq882.jpg "" 244 "height="/>
You can also install both, switch can also if you are logged in as a graphical login to Linux, then click on the Login Interface session (Task) can choose Gnome and KDE. If you are logged in as text, then perform Switchdesk gnome or Switchdesk KDE and then startx to GNOME or KDE.
CentOS 6.5 Installation Desktop environment