Oracle Enterprise linux(OEL)官方yum源配置

简介:

OEL ISO下载地址链接http://koumm.blog.51cto.com/703525/1283801

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

 


本文转自 koumm 51CTO博客,原文链接:http://blog.51cto.com/koumm/1283867,如需转载请自行联系原作者



相关文章
|
7月前
|
Ubuntu Linux 网络安全
Linux服务器之Ubuntu的安装与配置
Ubuntu Desktop是目前最成功、最流行的图形界面的Linux发行版;而Ubuntu Server也在服务器端市场占据了较大的份额。今天为大家详细介绍了Ubuntu Server的安装与配置,希望对你能有所帮助。关于VMware、VirtualBox等虚拟化软件的使用,朱哥还会在后续的文章中为大家详细介绍,敬请关注!
|
11月前
|
Oracle 关系型数据库 MySQL
Oracle Linux 8.10 编译安装sysbench
Oracle Linux 8.10 编译安装sysbench
397 34
|
5月前
|
存储 Linux 开发工具
Linux环境下使用Buildroot配置软件包
使用Buildroot可以大大简化嵌入式Linux系统的开发和维护工作,但它需要对Linux系统和交叉编译有深入的理解。通过上述步骤,可以有效地配置和定制软件包,为特定的嵌入式应用构建高效、稳定的系统。
675 11
|
10月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
444 11
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
|
8月前
|
Kubernetes Linux 网络安全
Rocky Linux 8.9配置Kubernetes集群详解,适用于CentOS环境
初始化成功后,记录下显示的 `kubeadm join`命令。
544 0
|
10月前
|
Linux
Centos6配置阿里云yum源报错
在CentOS 6配置阿里云Yum源时,可能出现EPEL仓库访问报错(404 Not Found)。解决方法:编辑`/etc/yum.repos.d/epel.repo`文件,将`enabled`和`gpgcheck`参数设为0 ``` 此设置可解决仓库无法访问的问题。
2161 29
|
10月前
|
关系型数据库 MySQL Java
安装和配置JDK、Tomcat、MySQL环境,以及如何在Linux下更改后端端口。
遵循这些步骤,你可以顺利完成JDK、Tomcat、MySQL环境的安装和配置,并在Linux下更改后端端口。祝你顺利!
592 11
|
10月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
468 0
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
|
9月前
|
Oracle 关系型数据库 Linux
MyEMS开源系统安装之CentOS/RHEL/Rocky/AlmaLinux/Oracle Linux
本指南介绍如何在CentOS/RHEL/Rocky/AlmaLinux/Oracle Linux服务器上部署MyEMS开源能源管理系统。内容涵盖系统准备、数据库配置、多个MyEMS服务(如myems-api、myems-admin、myems-modbus-tcp等)的安装与配置,以及Nginx服务器设置和防火墙规则调整。通过完成所有步骤,您将能够访问MyEMS Admin UI和Web UI,默认端口分别为8001和80,初始登录凭据已提供。
627 0
|
9月前
|
Linux 网络安全 开发工具
在Linux下配置gitee与Github的远程仓库
注意,git push后,是输入你的账号与密码。这个步骤可以通过特殊设置省去,但是一开始还是不要太省。
488 0