Oracle Enterprise Linux配置相关
首页 > IT > CentOS   作者:eehello  2015年10月23日 11:59 星期五  浏览:4436  字号:   评论:0 条
时间:2015-10-23 11:59   浏览:4436  评论:0 条 

Oracle Enterprise Linux源的设置

1. 下载repo文件

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

2. 最后修改下载的文件,把 enabled=0 改为 enabled=1


# vi public-yum-el5.repo


[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=1  ----因为我是5.5版本,将这部分键值的enabled修改为1

3. 现在就可以使用yum 安装和更新补丁了


 您阅读这篇文章共花了: 
二维码加载中...
本文作者:eehello      文章标题: Oracle Enterprise Linux配置相关
本文地址:https://www.eehello.com/?post=191
版权声明:若无注明,本文皆为“点滴记忆---观雨亭”原创,转载请保留文章出处。

返回顶部| 首页| 手气不错| 留言板|后花园

Copyright © 2014-2023 点滴记忆---观雨亭