一、安装的时候要选择带GUI的,就是要带图形的。否则很麻烦。url
二、若是没有带图形,则须要server
1)安装和配置YUM。it
mount /dev/cdrom /mntftp
(会提示:mount:block device /dev/cdrom is write-protected,mounting read-only)配置
cd /mnt file
cd /etc/yum.repo.d/gc
vi server.repoyum
name=server
baseurl=ftp:///mnt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release文件
2)yum group install “Server with GUI” 大概664个文件须要安装。vi
3)startx
安装完成以后,startx就不会提示“命令找不到”了。能够正常的进入X环境了。