Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

44

积分

0

好友

2

主题
1#
发表于 2012-2-7 16:14:17 | 查看: 8024| 回复: 7
我想在redhat5.4 x64里安装oracle 11.2
能使用oracle-validated么。
谢谢
8#
发表于 2012-2-20 20:16:58
1. 使用baseurl=file:///media/disk/Server/  

2. 下载key http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
    导入key rpm --import RPM-GPG-KEY-oracle-el5
3. http://oss.oracle.com/el5/oracle-validated/
   下载 oracle-validated-1.0.0-24.el5.x86_64.rpm

4. 运行 yum install oracle-validated-1.0.0-24.el5.x86_64.rpm
  ...............
  unixODBC-devel.i386 0:2.2.11-7.1                                                      
  unixODBC-devel.x86_64 0:2.2.11-7.1                                                     
Complete!

[ 本帖最后由 26856649 于 2012-2-25 15:43 编辑 ]

回复 只看该作者 道具 举报

7#
发表于 2012-2-17 22:50:45
[root@vrh8 ~]# cat /etc/issue
Oracle Linux Server release 5.7
Kernel \r on an \m

[root@vrh8 ~]# cat /etc/yum.repos.d/public-yum-el5.repo


[oel5]
name = Enterprise Linux 5.7 DVD
baseurl=file:///media/disk/Server/
gpgcheck=0
enabled=1

一般我都直接挂载 DVD, 没有发生过问题


如果是用真的 public-yum.oracle.com 的repository 的话 建议
enable 的有

u$version_base  如 [ol5_u7_base]    以及
[el5_addons]
[el5_oracle_addons]

回复 只看该作者 道具 举报

6#
发表于 2012-2-17 22:23:15

redhat 5.6报错

redhat 5.6 开u6 enabled=1 报如下错误,开el5_addons解决
Finished Dependency Resolution
oracle-validated-1.1.0-7.el5.x86_64 from ol5_u6_base has depsolving problems
  --> Missing Dependency: kernel-uek-headers is needed by package oracle-validated-1.1.0-7.el5.x86_64 (ol5_u6_base)
Error: Missing Dependency: kernel-uek-headers is needed by package oracle-validated-1.1.0-7.el5.x86_64 (ol5_u6_base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
参见:
http://www.oracle.com/technetwork/cn/articles/servers-storage-admin/ginnydbinstallonlinux-1404242-zhs.html
http://oss.oracle.com/el5/docs/RELEASE-NOTES-U7-en.html

回复 只看该作者 道具 举报

5#
发表于 2012-2-7 21:25:10
按上述操作,成功运行。哈哈。谢谢liu

[ 本帖最后由 26856649 于 2012-2-7 22:08 编辑 ]

回复 只看该作者 道具 举报

4#
发表于 2012-2-7 21:03:02
不要下载 oracle-validated 包

直接 setup yum repository  然后 yum install oracle-validated

setup yum repository

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

修改  public-yum-el5.repo

u4  enabled 改成1

然后  yum install oracle-validated 即可

你上面的装法 不正确

回复 只看该作者 道具 举报

3#
发表于 2012-2-7 20:58:14
系统为 rhel-server-5.4-x86_64-dvd
下载文件为 http://oss.oracle.com/el5/oracle-validated/ 里面的 oracle-validated-1.1.0-7.el5.x86_64

运行 yum install oracle-validated-1.1.0-7.el5.x86_64.rpm 前面成功
但后面部分报出以下提示
--> Finished Dependency Resolution
oracle-validated-1.1.0-7.el5.x86_64 from /oracle-validated-1.1.0-7.el5.x86_64 has depsolving problems
  --> Missing Dependency: irqbalance >= 2:0.55-16 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
oracle-validated-1.1.0-7.el5.x86_64 from /oracle-validated-1.1.0-7.el5.x86_64 has depsolving problems
  --> Missing Dependency: kernel-uek >= 2.6.32 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
oracle-validated-1.1.0-7.el5.x86_64 from /oracle-validated-1.1.0-7.el5.x86_64 has depsolving problems
  --> Missing Dependency: kernel-uek-headers is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
oracle-validated-1.1.0-7.el5.x86_64 from /oracle-validated-1.1.0-7.el5.x86_64 has depsolving problems
  --> Missing Dependency: util-linux >= 2.13-0.52.0.1.el5_4.1 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
oracle-validated-1.1.0-7.el5.x86_64 from /oracle-validated-1.1.0-7.el5.x86_64 has depsolving problems
  --> Missing Dependency: oraclelinux-release is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
Error: Missing Dependency: oraclelinux-release is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
Error: Missing Dependency: irqbalance >= 2:0.55-16 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
Error: Missing Dependency: kernel-uek >= 2.6.32 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
Error: Missing Dependency: kernel-uek-headers is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
Error: Missing Dependency: util-linux >= 2.13-0.52.0.1.el5_4.1 is needed by package oracle-validated-1.1.0-7.el5.x86_64 (/oracle-validated-1.1.0-7.el5.x86_64)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

回复 只看该作者 道具 举报

2#
发表于 2012-2-7 16:17:21
可以的 设置必要的yum服务器或者 如这篇文章中介绍的http://www.oracledatabase12g.com ... configurations.html 配置 DVD为yum repository都可以的

但是请注意 yum install oracle-validated 或导致安装oracle Unbreakable Enterprise Kernel 并作为默认的启动kernel, 如果不想这样 那么去 boot grub 下 把启动kernel 设回默认值。

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-23 23:41 , Processed in 0.050981 second(s), 22 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569