打印本文 打印本文 关闭窗口 关闭窗口
在RHEL4上安装Oracle9i
作者:武汉SEO闵涛  文章来源:敏韬网  点击数682  更新时间:2009/4/22 22:03:02  文章录入:mintao  责任编辑:mintao
一、安装patch 1、去找 Oracle Metalink Patch 4198954。 2、切换到root下,unzip p4198954.zip 3、 rpm -ihv compat-oracle-rhel4-1.0-5.i386.rpm rpm -ihv compat-libcwait-2.0-2.i386.rpm 二、配置环境 1、LD_ASSUME_KERNEL=2.4.19 2、 修改 /etc/sysctl.conf (RedHat) 如下: kernel.hostname = yourhost.yourdomain.com #<--- 要有域名的 kernel.domainname = yourdomain #<---要填写域名 fs.file-max = 327679 用#hostname 命令验证配置是否正确。 3、设置信号量、内存参数 - SEMMNI 100 系统最多信号量集合数 - SEMMNS 256 系统最多的信号量数 This setting is a minimum recommended value, for initial installation only. The SEMMNS parameter should be set to the sum of the PROCESSES parameter for each Oracle database, adding the largest one twice, and then adding an additional 10 for each database. - SEMOPM 100 Defines the maximum number of operations for each semop call. - SEMMSL 100 Defines the minimum recommended value, for initial installation only. - SHMMAX 设定这个参数为你内存容量的一半.并且不能超过4294967295 - SHMMIN 1 Defines the minimum allowable size of a single shared memory segment. - SHMMNI 100 Defines the maximum number of shared memory segments in the entire system. - SHMVMX 32767 每个信号量的最大值. 4、清空 java环境变量 如:JAVA_HOME 5、其他参数.

打印本文 打印本文 关闭窗口 关闭窗口