oracle官方yum源配置

oracle官方yum源配置如下:

yum地址: http://public-yum.oracle.com/

Getting Started 
http://edelivery.oracle.com/linux
Download and Install Oracle Linux 
Download and copy the appropriate yum configuration file in place, by running the following commands as root: 

Oracle Linux 4, Update 6 or Newer 
# cd /etc/yum.repos.d 
# mv Oracle-Base.repo Oracle-Base.repo.disabled 
# wget http://public-yum.oracle.com/public-yum-el4.repo

Oracle Linux 5 
# cd /etc/yum.repos.d 
# wget http://public-yum.oracle.com/public-yum-el5.repo

Oracle Linux 6 
# cd /etc/yum.repos.d 
# wget http://public-yum.oracle.com/public-yum-ol6.repo

Oracle VM 2 
# cd /etc/yum.repos.d 
# wget http://public-yum.oracle.com/public-yum-ovm2.repo

 

说明: 
源按照上面的方式下载下来之后,还需要手动修改文件中的配置参数,将里面对应项的enable=1 否则不能生效。

 

[root@node1 yum.repos.d]# cat /etc/yum.repos.d/public-yum-el5.repo

[el5_latest] 
name=Oracle Linux $releasever Latest ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=1 

[el5_ga_base] 
name=Oracle Linux $releasever GA installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/0/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_u1_base] 
name=Enterprise Linux $releasever Update 1 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/1/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_u2_base] 
name=Enterprise Linux $releasever Update 2 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/2/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_u3_base] 
name=Enterprise Linux $releasever Update 3 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/3/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_u4_base] 
name=Enterprise Linux $releasever Update 4 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/4/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_u5_base] 
name=Enterprise Linux $releasever Update 5 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/5/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_u5_base] 
name=Oracle Linux $releasever Update 5 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_u6_base] 
name=Oracle Linux $releasever Update 6 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_u7_base] 
name=Oracle Linux $releasever Update 7 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/7/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_u8_base] 
name=Oracle Linux $releasever Update 8 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=1 

[ol5_u9_base] 
name=Oracle Linux $releasever Update 9 installation media copy ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/9/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_addons] 
name=Enterprise Linux $releasever Add ons ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/addons/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[el5_oracle_addons] 
name=Oracle Software addons for Enterprise Linux $releasever ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_UEK_latest] 
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/UEK/latest/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0 

[ol5_UEK_base] 
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch) 
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/UEK/base/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0

[el5_unsupported] 
name=Productivity Applications for Enterprise Linux $releasever ($basearch) 
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/unsupported/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=0



  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值