1. 程式人生 > >RHEL6通過安裝光碟或ISO檔案配置yum安裝X11 server

RHEL6通過安裝光碟或ISO檔案配置yum安裝X11 server

1. 上傳iso檔案

2. 將該iso檔案mount到/mnt下

mount -t iso9660 -o loop rhel-server-6.4-x86_64-dvd.iso /mnt/

3. 配置yum源

vi /etc/yum.repos.d/rhel-debuginfo.repo


[Server]

name=Red Hat Enterprise Linux $releasever -$basearch - Server

baseurl=file:///mnt/Server

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

4. yum檢查

yum grouplist

5. 安裝X11

yum groupinstall "X Window System"