This article is intended as a brief guide to installing Oracle Database 10g (10.1.0.2) on Tru64 5.1b. For additional information and platform variations read the Installation Guide for UNIX Systems.
Download Alpha Java SDK SDK v 1.4.2-3.
Download the Oracle installation files from otn.oracle.com.
First unzip the files.
gunzip ship_10g_db_disk1.cpio.z gunzip ship_10g_db_disk2.cpio.z
Next unpack the contents of the files.
cpio -idmv < ship_10g_db_disk1.cpio cpio -idmv < ship_10g_db_disk2.cpio
You should now have two directories (Disk1 and Disk2) containing installation files.
For a complete list of kernel settings read Configure Kernel Subsystem Attributes on Tru64 UNIX.
The current settings can be viewed using the following commands.
/sbin/sysconfig -q ipc /sbin/sysconfig -q proc
If any settings need to be altered they can be added to the end of the "/etc/sysconfigtab" file. The typical alterations are shown below.
vm: new_wire_method = 1 # Set to 0 if <= 5.1b PK2 vm_bigpg_enabled = 0 ipc: shm_max = 4278190080 # (4 GB less 16MB) shm_min = 1 shm_mni = 256 shm_seg = 256 proc: max_per_proc_stack_size = 33554432 per_proc_stack_size = 8388608 max_per_proc_data_size = 335544320 per_proc_data_size = 335544320 max_per_proc_address_space = 1073741824 # or RAM (whichever is greater) per_proc_address_space = 1073741824 rdg: msg_size = 32768 max_objs = 5120 max_async_req = 256 max_sessions = 500 rdg_max_auto_msg_wires = 0 rdg_auto_msg_wires = 0 rt: aio_task_max_num = 8193 vfs: fifo_do_adaptive = 0
Check Metalink Note: 169706.1 to confirm the current best settings.
Once the file is altered the server must be rebooted to take on the new settings. This can be done using the following command.
shutdown -r now
Install the Java development kit.
cd /tmp tar -xvf java142-3.tar cd java142 setld -l /tmp/java142
Choose the option to load all subsets.
Create the new groups and users.
groupadd oinstall groupadd dba groupadd oper useradd -g oinstall -G dba oracle passwd oracle
Create the directories in which the Oracle software will be installed.
mkdir /u01/app mkdir /u01/app/oracle mkdir /u01/app/oracle/product mkdir /u01/app/oracle/product/10.1.0/db_1 chown -R oracle.oinstall /u01/app
Login as root and issue the following command.
xhost +<machine-name>
Login as the oracle user and add the following lines at the end of the ".profile" file.
# Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1; export ORACLE_HOME PATH=.:$PATH:/usr/sbin:/usr/ccs/bin:/usr/bin:/usr/bin/X11:/usr/local/bin PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:/usr/opt/java142:/usr/opt/java142/bin; export PATH ORACLE_SID=TSH1; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH DISPLAY=<machine-name>:0.0; export DISPLAY stty erase "^H" set -o emacs set filec
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable.
DISPLAY=<machine-name>:0.0; export DISPLAY
Start the Oracle Universal Installer (OUI) by issuing the following command in the Disk1 directory.
./runInstaller
Continue with the installation as normal.
If you encounter linking problems during the installation consider doing the installation from the console. I was unable to complete the linking phase of the installation when using Cygwin X emulation.
Edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
TSH1:/u01/app/oracle/product/10.1.0/db_1:Y
Hope this helps. Regards Tim...
Back to normal view: https://oracle-base.com/articles/10g/oracle-db-10g-installation-on-tru64