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

本文共 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

你可能感兴趣的文章
fastreport 导出图片并打印
查看>>
学习html我们从百度百科开始
查看>>
如何Spring Cloud Zuul作为网关的分布式系统中整合Swagger文档在同一个页面上
查看>>
实现一个炫酷的随机标签排列效果(颜色随机,大小随机,成菱形排列的列表)...
查看>>
flex 布局
查看>>
数字资产交易所开发:平台币快速吸金的背后
查看>>
小程序自定义音频组件,带滚动条,IOS循环失效问题
查看>>
Swift开发之粒子动画的实现
查看>>
我学Java我傲娇
查看>>
挖矿蠕虫肆虐,详解云防火墙如何轻松“制敌”
查看>>
Linux -- Samba之客户端访问(Linux和windows)
查看>>
八个Docker的真实应用场景
查看>>
vpc的使用方法
查看>>
GitExtensions GitCredentialWinStore syntax error near unexpected token `('
查看>>
Java获取EXE文件图标的方法
查看>>
“驱动程序在 \Device\Harddisk0\D 上检测到控制器错误”的根本解决办法!
查看>>
ubuntu 之修改权限的问题
查看>>
php 框架ci去index.php的方法
查看>>
Hyper-v学习(四),SMB虚拟机实时迁移
查看>>
基于spring3注解的google分页
查看>>