Oracle/DB2/Postgresql/Mysql/Hadoop/Greenplum/Postgres-xl/Mongodb
分类: LINUX
2011-05-13 17:30:35
1. 将RHEL 6的DVD mount 到/mnt中;
2. 编辑/etc/yum.repos.d/RedHat-Media.repo:
[code]
[rhel6-Server]
name=RHEL6-Server
baseurl=file:///mnt/Server
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel6-HighAvailability]
name=RHEL6-HighAvailability
baseurl=file:///mnt/HighAvailability
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel6-LoadBalancer]
name=RHEL6-LoadBalancer
baseurl=file:///mnt/LoadBalancer
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel6-ResilientStorage]
name=RHEL6-ResilientStorage
baseurl=file:///mnt/ResilientStorage
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel6-ScalableFileSystem]
name=RHEL6-ScalableFileSystem
baseurl=file:///mnt/ScalableFileSystem
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[/code]
本文出自 “网络记忆棒” 博客,请务必保留此出处http://netocool.blog.51cto.com/61250/421350