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,如需转载请自行联系原作者



相关文章
|
10月前
|
Oracle 关系型数据库 MySQL
Oracle Linux 8.10 编译安装sysbench
Oracle Linux 8.10 编译安装sysbench
327 34
|
9月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
387 11
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
|
9月前
|
Linux
Centos6配置阿里云yum源报错
在CentOS 6配置阿里云Yum源时,可能出现EPEL仓库访问报错(404 Not Found)。解决方法:编辑`/etc/yum.repos.d/epel.repo`文件,将`enabled`和`gpgcheck`参数设为0 ``` 此设置可解决仓库无法访问的问题。
1963 29
|
9月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
426 0
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
|
8月前
|
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,初始登录凭据已提供。
477 0
|
8月前
|
NoSQL Linux 开发工具
Linux环境基础开发工具的使用(yum、vim、gcc、g++、gdb、make/Makefile)
本文介绍了yum 包管理工具、Vim 编辑器、gcc/g++ 编译器、gdb 调试器、编译原理及 Makefile 的使用,同时还配备了如何使用,以及图解。旨在帮助读者更好地理解和应用这些工具与技术。
406 0
|
10月前
|
Oracle 关系型数据库 MySQL
Oracle linux 8 二进制安装 MySQL 8.4企业版
Oracle linux 8 二进制安装 MySQL 8.4企业版
437 1
|
12月前
|
缓存 Ubuntu Linux
Linux中yum、rpm、apt-get、wget的区别,yum、rpm、apt-get常用命令,CentOS、Ubuntu中安装wget
通过本文,我们详细了解了 `yum`、`rpm`、`apt-get`和 `wget`的区别、常用命令以及在CentOS和Ubuntu中安装 `wget`的方法。`yum`和 `apt-get`是高层次的包管理器,分别用于RPM系和Debian系发行版,能够自动解决依赖问题;而 `rpm`是低层次的包管理工具,适合处理单个包;`wget`则是一个功能强大的下载工具,适用于各种下载任务。在实际使用中,根据系统类型和任务需求选择合适的工具,可以大大提高工作效率和系统管理的便利性。
1386 25
|
Oracle 关系型数据库 Linux
linux8安装oracle 11g遇到的问题记录
Oracle 11g在Linux 8上安装时会遇到link编译环节的问题。官方建议忽略安装中的链接错误,安装完成后应用DBPSU 11.2.0.4.240716补丁及一次性补丁33991024,再重新编译二进制文件,并配置监听器和数据库。但因11g已退出服务期,这些补丁需付费获取。网上信息显示22年1月的PSU补丁也可解决问题,找到该补丁后按常规方式打补丁即可。如有需求或疑问可咨询我。
602 20
|
Oracle Cloud Native 关系型数据库
Oracle Linux 9.5 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 9.5 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
304 10
Oracle Linux 9.5 正式版发布 - Oracle 提供支持 RHEL 兼容发行版

热门文章

最新文章