一、安裝的時候要選擇帶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環境了。