OS:RedHat Enterprise Linux 6.4
1. 掛載RHEL Source
# mount /dev/cdrom /mnt
2. 複製光碟內容到Local Disk
# mkdir /rhel-source
# cp -arf /mnt/. /rhel-source/.
3. 建立YUM設定檔
# vi /etc/yum.repo.d/local-source.repo
[local-source]
name=local-source
baseurl=file:///rhel-source
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
4. 安裝X Windows
# yum groupinstall "X Window System"
5. 安裝Desktop
# yum groupinstall Desktop
6. 安裝中文支援
# yum groupinstall "Chinese Support"
# vi /etc/sysconfig/i18n
LANG="en_US.UTF-8" 修改成 LANG="zh_TW.UTF-8"
7. 將開機環境修改成圖形介面
# vi /etc/inittab
id:3:initdefault: 修改成 id:5:initdefault:
8. 重新開機讓設定生效
# reboot
參考文章:
http://hi.baidu.com/kevin276/item/7426f6091a8180e7fe240d41
http://hi.baidu.com/marine_xun/item/697a999438649639326eeb6f
http://blog.zipe.idv.tw/2010/05/centosredhat.html