#配置好yum源
[root@localhost ~]# cat /etc/yum.repos.d/rhel-source.repo 
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://192.168.0.200/rhel6_dvd/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
#查看一下桌面在哪个软件组里
[root@localhost ~]# yum grouplist
#安装系统的X窗口支持
[root@localhost ~]# yum groupinstall “X Window System”
#安装桌面平台
[root@localhost ~]# yum groupinstall “Desktop Platform”
#安装基本桌面
 [root@localhost ~]# yum groupinstall “Desktop”
#安装字体及中文支持
[root@localhost ~]# yum groupinstall  Fonts
[root@localhost ~]# yum grouinstall "Chinese Support"
#安装浏览器
[root@localhost ~]# yum groupinstall "Internet Browser"
#安装右键terminal
[root@localhost ~]# yum groupinstall "General Purpose Desktop"
#启动桌面
[root@localhost ~]# startx