博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
怎样在RedHat Linux上使用oracle-validated包
阅读量:4354 次
发布时间:2019-06-07

本文共 2988 字,大约阅读时间需要 9 分钟。

首先,参考官方文档:

If you are not a ULN customer, and you are running Red Hat Enterprise Linux or Oracle Linux, then you can obtain the Oracle Validated RPM at the following URLs:

Oracle Linux 4:

Oracle Linux 5:

1.下载 oracle-validated package

[root@ora10g ~]# cd /tmp[root@ora10g tmp]# wget https://oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpm--2013-05-29 22:01:42--  https://oss.oracle.com/el5/oracle-validated/oracle-validated-1.0.0-18.el5.x86_64.rpmResolving oss.oracle.com... 137.254.17.12Connecting to oss.oracle.com|137.254.17.12|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 15224 (15K) [application/x-rpm]Saving to: `oracle-validated-1.0.0-18.el5.x86_64.rpm'100%[========================================>] 15,224      66.6K/s   in 0.2s    2013-05-29 22:01:58 (66.6 KB/s) - `oracle-validated-1.0.0-18.el5.x86_64.rpm' saved [15224/15224]

2.安装package:

[root@ora10g tmp]# yum install oracle-validated-1.0.0-18.el5.x86_64.rpm

可能需要导入RPM GPG KEY:

rpm --import http://oss.oracle.com/el5/RPM-GPG-KEY-oracle

包安装完毕后,参数已修改:

[root@ora10g tmp]# ls -l /etc/sysctl.conf*-rw-r--r-- 1 root root 1465 May 29 22:02 /etc/sysctl.conf-rw-r--r-- 1 root root  996 May 29 21:59 /etc/sysctl.conf.orabackup[root@ora10g tmp]# dff /etc/sysctl.conf /etc/sysctl.conf.orabackup -bash: dff: command not found[root@ora10g tmp]# diff /etc/sysctl.conf /etc/sysctl.conf.orabackup 16c16< kernel.sysrq = 1---> kernel.sysrq = 029c29< kernel.msgmax = 8192---> kernel.msgmax = 6553632c32< kernel.shmmax = 4398046511104---> kernel.shmmax = 6871947673635,48c35< kernel.shmall = 1073741824< fs.file-max = 327679< kernel.msgmni = 2878< kernel.sem = 250 32000 100 142< kernel.shmmni = 4096< net.core.rmem_default = 262144< net.core.rmem_max = 4194304< net.core.wmem_default = 262144< net.core.wmem_max = 262144< fs.aio-max-nr = 3145728< net.ipv4.ip_local_port_range = 1024 65000< # For 11g recommended value for net.core.rmem_max is 4194304< # For 10g uncomment the following line, comment other entries for this parameter and re-run sysctl -p< # net.core.rmem_max=2097152---> kernel.shmall = 4294967296

/etc/security/limits.conf:

[root@ora10g tmp]# ls -l /etc/security/limits.conf*-rw-r--r-- 1 root root 2059 May 29 22:02 /etc/security/limits.conf-rw-r--r-- 1 root root 1789 May 29 21:59 /etc/security/limits.conf.orabackup[root@ora10g tmp]# diff /etc/security/limits.conf /etc/security/limits.conf.orabackup44,51d43< oracle   soft   nofile    131072< oracle   hard   nofile    131072< oracle   soft   nproc    131072< oracle   hard   nproc    131072< oracle   soft   core    unlimited< oracle   hard   core    unlimited< oracle   soft   memlock    50000000< oracle   hard   memlock    50000000

 

附上本地yum配置:/etc/yum.repos.d/local.repo

[local_yum_source]name=my_local_sourcebaseurl=file:///media/disk/Servergpgcheck=0enable=1gpgkey=file:///etc/yum.repos.d/RPM-GPG-KEY-oracle

 感谢 

转载于:https://www.cnblogs.com/iImax/archive/2013/05/29/linux-server-install-oracle-validated-package.html

你可能感兴趣的文章
SVG笔记
查看>>
linux下使用dd命令写入镜像文件到u盘
查看>>
001---进程
查看>>
视频人脸检测——OpenCV版(三)
查看>>
php获取来访者在搜索引擎搜索某个关键词,进入网站
查看>>
物联网架构成长之路(8)-EMQ-Hook了解、连接Kafka发送消息
查看>>
2018-2019-1 20165234 20165236 实验二 固件程序设计
查看>>
IDEA的GUI连接数据库写入SQL语句的问题总结
查看>>
Xpath在选择器中正确,在代码中返回的是空列表问题
查看>>
leecode第一百九十八题(打家劫舍)
查看>>
【BZOJ 1233】 [Usaco2009Open]干草堆tower (单调队列优化DP)
查看>>
07-3. 数素数 (20)
查看>>
写一个欢迎页node统计接口Py脚本(邮件,附件)-py
查看>>
计算两个日期之间的天数
查看>>
山东省第六届蓝桥杯 ///标题:三羊献瑞//c/c++组
查看>>
Unity火炬之光进度
查看>>
Android关于buildToolVersion与CompileSdkVersion的区别
查看>>
袋鼠云日志,日志分析没那么容易
查看>>
缓存穿透 缓存雪崩 缓存并发
查看>>
MySQL表的操作
查看>>