利用 安装oracle依赖包,使用yum快速安装oracle11g依赖包

步奏:

a、确保网络畅通,即可连接到Internet。

b、已经安装了yum包管理工具。

c、切换到目录 /etc/yum.repos.d/

d、获取配置文件并进行相应修改wgethttp://public-yum.oracle.com/public-yum-ol6.repo(所需安装版本项下字段enabled=0更改为enabled=1)

e、使用yum安装oracle-rdbms-server-11gR2-preinstall包(oracle-rdbms-server-11gR2-preinstall)

f、校验内核修改日志及原文件备份情况

实战操作:

切换到目录 /etc/yum.repos.d/

[root@oel63 ~]#cd /etc/yum.repos.d/

获取配置文件并进行相应修改

[root@oel63 yum.repos.d]# wgethttp://public-yum.oracle.com/public-yum-ol6.repo--2014-05-16 14:41:51--http://public-yum.oracle.com/public-yum-ol6.repo

Resolving public-yum.oracle.com... 184.51.198.32, 184.51.198.8, 184.51.198.65

Connecting to public-yum.oracle.com|184.51.198.32|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 4233 (4.1K) [text/plain]

Saving to: “public-yum-ol6.repo”

100%[======================================>] 4,233      --.-K/s  in 0.001s

2014-05-16 14:41:51 (5.76 MB/s) - “public-yum-ol6.repo” saved [4233/4233

[root@oel63 yum.repos.d]# ls -hltr

total 8.0K

-rw-r--r--. 1 root root 4.2K Nov 25 04:58 public-yum-ol6.repo

[root@oel63 yum.repos.d]# vi public-yum-ol6.repo#本环境为Oracle Linux 6.3,因此修改了以下2个部分。即将需要安装的部分的enabled的值置为1[ol6_u3_base]

name=Oracle Linux $releasever Update 3 installation media copy ($basearch)

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1

[ol6_UEK_base]

name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)

baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1

使用yum安装oracle-rdbms-server-11gR2-preinstall包

[root@oel63 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall

校验结果

[root@oel63 ~]#

cd /var/log/oracle-rdbms-server-11gR2-preinstall/results/

[root@oel63 results]# ls

orakernel.log

[root@oel63 results]#

more orakernel.log

参考链接:http://www.linuxidc.com/Linux/2014-09/106127.htm

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值