Oracle Linux Configuration for Database Installation Version 11.2.0.

<td>As root: Append servers to hosts file</td Resources
Links of Interest Download CDs Installation Documents Operating System Oracle Enterprise Linux 5.2

Operating System Configuration
As root: Install missing RPMs

--mount CD3 cd /media/cdrom/Enterprise/RPMS rpm -Uvh libaio-0 [Tab] rpm -Uvh libaio-devel-0.3.105-2.i386.rpm cd / eject cdrom -- mount CD4 cd /media/cdrom/Enterprise/RPMS rpm -Uvh elfutils-libelf-0 [Tab] rpm -Uvh elfutils-libelf-devel-0.91.13.i386.rpm cd / eject cdrom -- mount CD1 cd /media/cdrom/Enterprise/RPMS rpm -Uvh unixODBC-2.2.111.RHEL4.1.i386.rpm

As root: Create DBA Group and Oracle User

/usr/sbin/groupadd -g 500 oinstall /usr/sbin/groupadd -g 501 dba /usr/sbin/groupadd -g 502 oper /usr/sbin/useradd -u 500 -m -g oinstall G dba,oper oracle id oracle

rp_filter = 1 tcp.wmem_default = 262144 net.conf.rmem_default = 4194304 As root: Change Default Profile -.conf <<EOF fs.tcp_rmem = 4194304 4194304 4194304 fs.conf <<EOF oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 EOF --modify /etc/pam.conf cat >> /etc/security/limits.ipv4.set the password to oracle1 passwd oracle id nobody -.activate changes /sbin/sysctl -p As root: Set Shell Limits -.wmem_max = 1048576 net.d/ login session required pam_limits.-. Korn or Bash shell.shmmni = 4096 kernel.ipv4.aio-max-nr = 1048576 net.ipv4.ipv4.tcp_wmem = 262144 262144 262144 tcp.ip_forward = 0 net.file-max = 6815744 kernel.modify limits.ip_local_port_range = 9000 65000 EOF -.shmall = 2097152 kernel.core.sem = 250 32000 100 128 net.rmem_max = 4194304 net.core.default.if nobody does not exist then /usr/sbin/useradd nobody As root: Create Installation Directories mkdir -p /app/oracle chown -R oracle:dba /app/oracle chmod -R 775 /app/oracle mkdir /stage chown -R oracle:dba /stage As root: Alter Kernel Parameters cat >> /etc/sysctl.ipv4. Check .if Bourne.shmmax = 2147483648 kernel.core. install docs if C shell. 12 2 org 192.mlib.2 beta2.2alpha alpha2.o beta2 22 rg 192. .mlib.2gammagamma1.168. 11 1 org 192.mlib. then if [ \$SHELL = "/bin/ksh" ].mlib.1.localad min localhost delete the first two entries but do not delete localhost.168. vi hosts vi command help Esc A Esc Insert I Abort Esc and q! quit Save Esc and wq quit Append 192.2alpha alpha1.0.1.localadmin and local host or nothing will work properly.1.mlib.1 omega#.1.o beta1 21 rg 192. cat >> /etc/profile <<EOF if [ $USER = "oracle" ].2 beta1. then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi umask 022 fi EOF cd /etc Note: the line: omega# localhost.

0/db _1 ORACLE_SID=? LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBR ARY_PATH TMP=/tmp TEMP=/tmp TMPDIR=/tmp PATH=$ORACLE_HOME/bin:$PATH export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH export TMP TEMP TMPDIR alias oh='cd $ORACLE_HOME' alias sql='sqlplus "/ as sysdba"' .mlib.168.168.2delta delta2.mlib.or eta1 51 g As root: Modify .mlib.1.2 eta1.2 eta2.mlib. 41 1 org 192.2delta delta1.1 ping ORACLE_BASE=/app/oracle/product ORACLE_HOME=/app/oracle/product/11.mlib.or eta2 52 g -.1.31 1 org 192. 42 2 org ping omega1 ping omega2 ping omega1.2gamma ping omega2.1.168.mlib. 32 2 org all hosts (substitute actual node names for the "omega") ping 192.bashrc # cd /home/oracle vi .bashrc -.1.append the following: umask 022 ORACLE_HOSTNAME=?.oracle.1.mlib.168.1.mlib.

-.close all open terminal windows and open new ones $ set -.validate the environment Database Software-Only Installation After unzipping the installation files change to the directory containing runInstaller You must be the oracle user (not root) and you must verify your shell is set correctly .

Step 1: Choose the Software Only install option .

Step 2: For a standalone database choose the first option. For a RAC cluster the second .

Step 3: Accept the default .

Before selecting "Next" examine the "Select Options" choices .Step 4A: Accept the default.

Step 4B: Review the "Select Options" Choices .

they are based on the environment variables set in your shell ...Step 5: Accept the defaults .

Step 6: Accept the default .

Step 7: Accept the defaults .

d oraocrb10.2.dll oraocr10.d ORASLAX1 sqlplusw. Ste Step 9: If Windows find a copy of Oracle Description Database 10.d orannzsbb1 oravsn10.4 and follow p # these steps to get SQL*Plus Windows 1 Copy the following DDL files from the $ORACLE_HOME/bin directory of the 10gR2 database to $ORACLE_HOME\bin of the 11.dll oranls10.d oraunls10 oran10.dll dll dll oraclient10.dll orapls10. orasql10. oraplp10.1 install.2.dll oracommon1 orancds10.dll oranro10. orantcp10.dll dll orancrypt10.dll ll 0.dll 0.2 through 10.dll dll dll orageneric10 oranhost10. oraxml10.0.2.0. ltscsn10.dll ll ll . oraldapclnt1 oranldap10.Step 8: This is a typical result if you didn't read and follow the docs.dll 0. oracore10. .0.

dll ..dll dll ll 0.msb from $ORACLE_HOME\sqlplus\mesg to the corresponding directory in the 11gR2 file system.dl oranl10.dll ll l Copy the file spwus.d orasnls10.dll exe 2 orahasgen10 orantns10. .

Sign up to vote on this title
UsefulNot useful