|
|
The information provided here is for sample purposes only. We recommend that you refer to the Oracle documentation for detailed information about installing and configuring Oracle. Visit the LKP web site for the latest information about running Oracle on the LKP. Information is provided here for both Oracle 8.1.7 and Oracle 9i installations. Oracle 9i is certified by Oracle for use with UnixWare 7 running the LKP.
The following tunable kernel parameter values were in effect for this sample installation:
| SHMMAX = 2147483647 |
| SHMMIN = 1 |
| SHMMNI = 100 |
| SEMMNI = 10000 |
| SEMMSL = 300 |
| SEMMNI = 10000 |
| SEMMSL = 300 |
| SEMMNS = 610 |
| SEMOPM = 20 |
| SCORLIM = 0x7fffffff |
| HCORLIM = 0x7fffffff |
| SDATLIM = 0x7fffffff |
| HDATLIM = 0x7fffffff |
| SVMMLIM = 0x7fffffff |
| HVMMLIM = 0x7fffffff |
| SFSZLIM = 0x7fffffff |
| HFSZLIM = 0x7fffffff |
| HFNOLIM = 2048 |
| SFNOLIM = 128 |
| NPROC = 12500 |
| ARG_MAX = 1048576 |
| NPBUF = 100 |
| MAXUP = 5000 |
| RECVRETRIES = 5 |
| MAXULWP = 10000 |
| FLCKREC = 2000 |
Currently, Oracle database files can be no larger than 2GB.
groupadd dba
useradd -g dba -d /home/oracle -s /linux/bin/bash -c 'oracle account' oracle
mkdir /home/oracle chown oracle /home/oracle chgrp dba /home/oracle
passwd oracle
# linux bash# mkdir /home/oracle/oracle_java bash# chown oracle:dba /home/oracle/oracle_java bash# cd /home/oracle/oracle_java bash# bzcat /tmp/jdk118_v3-glibc-2.1.3.tar.bz2 | tar xf - bash# rm /tmp/jdk118_v3-glibc-2.1.3.tar.bz2 bash# ln -s jdk118_v3 java
bash# ln -s /usr/bin/gawk /bin/awk bash# ln -s /usr/bin/grep /bin/grep
rpm -q csm-compat-1.0-3
If it is not there, install the package from the Caldera OpenLinux 3.1 CD.
/opt/csm/lib/compat
bash# ldconfig
# mount -F cdfs -o ro /dev/cdrom/cdrom1 /linux/mnt/cdrom
ORACLE_HOME=/home/oracle/oracle817 export ORACLE_HOME ORACLE_SID=db1 export ORACLE_SID PATH=/bin:/usr/bin:/usr/local/bin:/opt/bin:/opt/kde2/bin:/opt/kde/bin:/usr/java/bin:/usr/X11R6/bin:/opt/teTeX/bin:$ORACLE_HOME/bin export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export LD_LIBRARY_PATH
Make the environment variables active.
bash$ . ./my_oracle_env
bash$ cd /mnt/cdrom
bash$ ls
doc index.htm install response runInstaller stage
bash$ ./runInstallerand follow the instructions on the screen.
bash$ cd $ORACLE_HOME bash$ tar xfz glibc-2.1.3-stubs.tar.gz bash$ ./setup_stubs.sh
bash$ dbassist
Oracle 9i is certified on UnixWare 7 with Maintenance Pack 1 (ou800pk1) and Support Level Supplement ptf8002 (the Oracle9i PTF). Both ou800pk1 and ptf8002 are included in Release 7.1.3.
The following tunable kernel parameter values were in effect for this sample installation:
| SHMMAX = 2147483647 |
| SHMMIN = 1 |
| SHMMNI = 100 |
| SEMMNI = 100 |
| SDATLIM = 0x7fffffff |
| HDATLIM = 0x7fffffff |
| SVMMLIM = 0x7fffffff |
| HVMMLIM = 0x7fffffff |
| SFSZLIM = 0x7fffffff |
| HFSZLIM = 0x7fffffff |
| HFNOLIM = 2048 |
| SFNOLIM = 1024 |
| ARG_MAX = 1048576 |
| FLCKREC = 2000 |
| MAXLINK = 32767 |
groupadd dba
useradd -g dba -d /home/oracle -s /linux/bin/bash -c 'oracle account' oracle
mkdir /home/oracle chown oracle /home/oracle chgrp dba /home/oracle
passwd oracle
bash# ln -s /usr/bin/gawk /bin/awk bash# ln -s /usr/bin/grep /bin/grep
rpm -q csm-compat-1.0-3
If it is not there, install the package from the Caldera OpenLinux 3.1 CD.
/opt/csm/lib/compat
bash# ldconfig
# mount -F cdfs -o ro /dev/cdrom/cdrom1 /linux/mnt/cdrom
ORACLE_HOME=/home/oracle/oracle9i export ORACLE_HOME ORACLE_SID=db1 export ORACLE_SID PATH=/bin:/usr/bin:/usr/local/bin:/opt/bin:/opt/kde2/bin:/opt/kde /bin:/usr/java/bin:/usr/X11R6/bin:/opt/teTeX/bin:$ORACLE_HOME/bin export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export LD_LIBRARY_PATH
Make the environment variables active.
bash$ . ./my_oracle_env
bash$ cd /mnt/cdrom
bash$ ls
doc index.htm install response runInstaller stage
bash$ ./runInstallerand follow the instructions on the screen.