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



相关文章
|
5月前
|
Oracle 关系型数据库 Linux
【赵渝强老师】Oracle数据库配置助手:DBCA
Oracle数据库配置助手(DBCA)是用于创建和配置Oracle数据库的工具,支持图形界面和静默执行模式。本文介绍了使用DBCA在Linux环境下创建数据库的完整步骤,包括选择数据库操作类型、配置存储与网络选项、设置管理密码等,并提供了界面截图与视频讲解,帮助用户快速掌握数据库创建流程。
479 93
|
10月前
|
Oracle 关系型数据库 MySQL
Oracle Linux 8.10 编译安装sysbench
Oracle Linux 8.10 编译安装sysbench
327 34
|
11月前
|
Oracle Java 关系型数据库
【YashanDB知识库】如何配置jdbc驱动使getDatabaseProductName()返回Oracle
【YashanDB知识库】如何配置jdbc驱动使getDatabaseProductName()返回Oracle
|
9月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
387 11
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
|
9月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
430 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,初始登录凭据已提供。
483 0
|
8月前
|
NoSQL Linux 开发工具
Linux环境基础开发工具的使用(yum、vim、gcc、g++、gdb、make/Makefile)
本文介绍了yum 包管理工具、Vim 编辑器、gcc/g++ 编译器、gdb 调试器、编译原理及 Makefile 的使用,同时还配备了如何使用,以及图解。旨在帮助读者更好地理解和应用这些工具与技术。
410 0
|
10月前
|
Oracle 关系型数据库 MySQL
Oracle linux 8 二进制安装 MySQL 8.4企业版
Oracle linux 8 二进制安装 MySQL 8.4企业版
438 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`则是一个功能强大的下载工具,适用于各种下载任务。在实际使用中,根据系统类型和任务需求选择合适的工具,可以大大提高工作效率和系统管理的便利性。
1391 25
|
5月前
|
安全 关系型数据库 MySQL
CentOS 7 yum 安装 MySQL教程
在CentOS 7上安装MySQL 8,其实流程很清晰。首先通过官方Yum仓库来安装服务,然后启动并设为开机自启。最重要的环节是首次安全设置:需要先从日志里找到临时密码来登录,再修改成你自己的密码,并为远程连接创建用户和授权。最后,也别忘了在服务器防火墙上放行3306端口,这样远程才能连上。
1018 16