环境:
oel6.8 x86-64
ebs:12.2
1.软件环境
Ar,gcc,g++,glib,ksh,make,X Window System glibc.i686
http://oss.oracle.com/projects/c ... es/Enterprise_Linux
rpm -i openmotif21-2.1.30-11.EL5.i386.rpm
rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.
rpm -i compat-libstdc++-3.2-1.i386.rpm
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
下载补丁patch:6078836 复制6078836中libdb.so.2。如:cp libdb.so.2 /usr/lib/
user:db app group:ebs
2.调整内核参数和资源参数
内核参数
vi /etc/sysctl.conf
kernel.sem = 256 32000 100 142
kernel.shmmni = 4096
kernel.msgmni = 2878
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
运行:sysctl -p
3.资源限制参数
vi /etc/security/limits.conf
* hard nofile 65536
* soft nofile 4096
* hard nproc 16384
* soft nproc 2047
* hard stack 16384
* soft stack 10240
4.创建用户和组
groupadd -g 505 ebs
useradd -u 505 -d /home/db -s /bin/bash -g ebs -G users db
useradd -u 506 -d /home/app -s /bin/bash -g ebs -G users app
5.创建目录和目录授权
数据库层目录
mkdir -p /u01/ebs/db
chown db:ebs /u01/ebs/db
应用层目录
mkdir -p /u01/ebs/app
chown app:ebs /u01/ebs/app
oraInventory
mkdir -m 775 /u01/ebs/oraInventory
chgrp ebs /u01/ebs/oraInventory
chown db /u01/ebs/oraInventory
5.创建orainst.loc
echo "inventory_loc=/u01/ebs/oraInventory" >> /etc/oraInst.loc
echo "inst_group=ebs" >> /etc/oraInst.loc
chmod g+w /etc/oraInst.loc
chgrp ebs /etc/oraInst.loc
6.建立stage
#cd /u01/stage122/startCD/Disk1/rapidwiz/bin
#./bulidStage.sh
7.开始安装
#cd /u01/stage122/startCD/Disk1/rapidwiz/
安装后再次执行
#./rapidwiz
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) | Powered by Discuz! X3.2 |