Install oracle11.2 under CentOS5.6

the Preparation: Modify startup items /etc/inittab the rpm -qa | grep binutils If not, install: rpm -ivh *.rpm www.2cto.com create group, user group add oinstall group add dba mkdir -p /u01 useradd -g oinstall -G dba -d /u01/oracle oracle passwd oracle chown -R oracle:oinstall /u01 the Implement sqlplus memory tar zxvf rlwrap-0.37.tar.gz cd rlwrap-0.37 ./configure && make install the edit profile file vi.bash_profile ORACLE_SID=orcl ORACLE_BASE=/u01 ORACLE_HOME=$ORACLE_BASE/oracle LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH PATH=$ORACLE_HOME/bin:$PATH DISPLAY=192.168.1.101:0.0 ###Local address export ORACLE_SID ORACLE_BASE ORACLE_HOME LD_LIBRARY_PATH PATH DISPLAY stty erase ^h alias sqlplus=”rlwrap sqlplus” alias rman=”rlwrap rman” the Save and exit oracle, then log in to take effect Check the environment variable: www.2cto.com env | grep ORA Check package: rpm -qa | grep binutils rpm -ivh * –force –nodeps the vi /etc/security/limits.conf oracle soft nproc 2047 oracle       hard   nproc 16384 oracle soft nofile 1024 oracle       hard   nofile 65536 oracle soft stack 10240 the vi /etc/pam.d/login session required pam_limits.so the vi /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 4294967295 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 Execute the following command…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索