Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Installing Oracle 11g in RHEL6

Installing Oracle 11g in RHEL6

Ratings:
(0)
|Views: 598|Likes:
Published by debug3
Describe how to install oracle 11g in RHEL6 centos6 etc
Describe how to install oracle 11g in RHEL6 centos6 etc

More info:

Published by: debug3 on Jul 17, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

05/29/2013

pdf

text

original

 
Oracle Database 11g R2 - ConfigureInstall Oracle Database 11g R2. Desktop Environment is required because installation proceeds on GUI. Before Installing, Change some settings for requirement of installingOracle.[1] Install some packages[root@db01 ~]#yum -y install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel gcc gcc-c++ libaio libaio-devel libgcc libstdc++ libstdc++-devel makesysstat unixODBC unixODBC-devel[2] Edit Kernel parameter.[root@db01 ~]#vi  /etc/sysctl.conf # make it comment#net.bridge.bridge-nf-call-ip6tables = 0#net.bridge.bridge-nf-call-iptables = 0#net.bridge.bridge-nf-call-arptables = 0# add at the last linenet.ipv4.ip_local_port_range = 9000 65500fs.file-max = 6815744kernel.shmall = 10523004kernel.shmmax = 6465333657kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.core.rmem_default=262144net.core.wmem_default=262144net.core.rmem_max=4194304net.core.wmem_max=1048576fs.aio-max-nr = 1048576[root@db01 ~]#sysctl -pnet.ipv4.ip_forward = 0net.ipv4.conf.default.rp_filter = 1net.ipv4.conf.default.accept_source_route = 0kernel.sysrq = 0kernel.core_uses_pid = 1
 
net.ipv4.tcp_syncookies = 1net.ipv4.ip_local_port_range = 9000 65500fs.file-max = 65536kernel.shmall = 10523004kernel.shmmax = 6465333657kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.core.rmem_default = 262144net.core.wmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_max = 1048576fs.aio-max-nr = 1048576[3] Create a user for Oracle.[root@db01 ~]#groupadd -g 200 oinstall[root@db01 ~]#groupadd -g 201 dba[root@db01 ~]#useradd -u 440 -g oinstall -G dba -d /usr/oracle oracle[root@db01 ~]#vi  /etc/pam.d/login# near line 14: add
session required pam_selinux.so opensession required pam_namespace.sosession required pam_limits.sosession optional pam_keyinit.so force revokesession include system-auth-session optional pam_ck_connector.so
[root@db01 ~]#vi  /etc/security/limits.conf # add at the last lineoracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536[root@db01 ~]#vi  /etc/profile# add at the last lineif [ $USER = "oracle" ]; thenif [ $SHELL = "/bin/ksh" ]; then
 
ulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fifi[4] Switch to a user "Oracle" and configure some settings.[oracle@db01 ~]$chmod 755 /usr/oracle[oracle@db01 ~]$mkdir  /usr/oracle/app[oracle@db01 ~]$chmod 775 /usr/oracle/app[oracle@db01 ~]$mkdir  /usr/oracle/oradata[oracle@db01 ~]$chmod 775 /usr/oracle/oradata[oracle@db01 ~]$vi ~/.bash_profile# add at the last lineumask 022export ORACLE_BASE=/usr/oracle/app[oracle@db01 ~]$mkdir tmp# create a temporary dir for installationInstall Oracle Database 11g R2. Desktop Environment isrequired because installation proceeds on GUI.[1] Download Oracle Databse 11g R2 for Linux and upload on your server.http://www.oracle.com/technology/software/products/database/index.html After uploading, refer to follows.[oracle@db01 ~]$cd tmp[oracle@db01 tmp]$unzip linux.x64_11gR2_database_1of2.zip[oracle@db01 tmp]$unzip linux.x64_11gR2_database_2of2.zip

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->