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



相关文章
|
6月前
|
Oracle 关系型数据库 Linux
【赵渝强老师】Oracle数据库配置助手:DBCA
Oracle数据库配置助手(DBCA)是用于创建和配置Oracle数据库的工具,支持图形界面和静默执行模式。本文介绍了使用DBCA在Linux环境下创建数据库的完整步骤,包括选择数据库操作类型、配置存储与网络选项、设置管理密码等,并提供了界面截图与视频讲解,帮助用户快速掌握数据库创建流程。
540 93
|
11月前
|
Oracle 关系型数据库 MySQL
Oracle Linux 8.10 编译安装sysbench
Oracle Linux 8.10 编译安装sysbench
381 34
|
10月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
429 11
Oracle Linux 10 - Oracle 提供支持 RHEL 兼容发行版
|
10月前
|
Oracle Cloud Native 关系型数据库
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
Oracle Linux 9.6 正式版发布 - Oracle 提供支持 RHEL 兼容发行版
457 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,初始登录凭据已提供。
592 0
|
9月前
|
NoSQL Linux 开发工具
Linux环境基础开发工具的使用(yum、vim、gcc、g++、gdb、make/Makefile)
本文介绍了yum 包管理工具、Vim 编辑器、gcc/g++ 编译器、gdb 调试器、编译原理及 Makefile 的使用,同时还配备了如何使用,以及图解。旨在帮助读者更好地理解和应用这些工具与技术。
446 0
|
6月前
|
安全 关系型数据库 MySQL
CentOS 7 yum 安装 MySQL教程
在CentOS 7上安装MySQL 8,其实流程很清晰。首先通过官方Yum仓库来安装服务,然后启动并设为开机自启。最重要的环节是首次安全设置:需要先从日志里找到临时密码来登录,再修改成你自己的密码,并为远程连接创建用户和授权。最后,也别忘了在服务器防火墙上放行3306端口,这样远程才能连上。
1394 16
|
5月前
|
存储 关系型数据库 MySQL
MySQL介绍和MySQL包安装 -- RHEL系列(Yum资源库安装MySQL)
MySQL是一款开源关系型数据库,高性能、易用、跨平台,支持多种存储引擎,广泛应用于Web开发、企业级应用等领域。本教程介绍其特点、架构及在主流Linux系统中的安装配置方法。
968 0
MySQL介绍和MySQL包安装 -- RHEL系列(Yum资源库安装MySQL)
|
9月前
|
缓存 Ubuntu 前端开发
yum的安装和使用(包含安装过程中遇到的问题及解决方法)
yum的安装和使用(包含安装过程中遇到的问题及解决方法)
1273 1
yum的安装和使用(包含安装过程中遇到的问题及解决方法)
|
监控 Linux
yum install -y net-snmp-devel 安装不成功 zabbix项目安装,Errors during downloading metadata for repository ‘extras-common’:问题解决方案-优雅草卓伊凡
yum install -y net-snmp-devel 安装不成功 zabbix项目安装,Errors during downloading metadata for repository ‘extras-common’:问题解决方案-优雅草卓伊凡
631 13
yum install -y net-snmp-devel 安装不成功 zabbix项目安装,Errors during downloading metadata for repository ‘extras-common’:问题解决方案-优雅草卓伊凡