Install notes how I installed Oracle Enterprise Linux and Oracle HRMS machine.
Download Enterprise Linux 5 CD's (there are 5)
Install Oracle Enterprise Linux
When I installed without testing at least one CD the install hung.
Network Setup
Once I have installed Oracle Enterprise Linux 5 I set up the network. My machine is behind a consumer grade ADSL router with dynamic DNS.
I decided on a hostname for the machine as follows:
Hostname: oracle
Domain: robs_flat.com
- Log on to router and configure static IP address for machine
- Edit /etc/hosts and add an entry for the new machine
- Edit /etc/sysconfig/network and make this entry correct
In my example the files are as follows:
/etc/hosts
-
# Do not remove the following line, or various programs
-
# that require network functionality will fail.
-
127.0.0.1 localhost.localdomain localhost
-
::1 localhost6.localdomain6 localhost6
-
192.168.123.1 oracle.robs_flat.com oracle
/etc/sysconfig/network
-
NETWORKING=yes
-
NETWORKING_IPV6=no
-
HOSTNAME=oracle.robs_flat.com
Note: It is tempting to put 127.0.0.1 in the /etc/sysconfig/network file. I did exactly this at first but when I ran the rapidwiz install process it gave an error (RW-20019: No install actions...). The solution was putting the real ip address against oracle.robs_flat.com. I am ok with this on my instalisation but if you don't want the IP hard coded in the machine you could try replacing this with 127.0.0.1 after the install completes.
You can test some of these settings by seeing if these commands work:
-
ping oracle
-
ping oracle.robs_flat.com
Client Machine Network Setup
In order for windows machines to connect I had to add the Oracle server to their hosts file.
On my windows XP machine I have to edit C:\WINDOWS\system32\drivers\etc
as follows:
-
# Copyright (c) 1993-1999 Microsoft Corp.
-
#
-
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
-
#
-
# This file contains the mappings of IP addresses to host names. Each
-
# entry should be kept on an individual line. The IP address should
-
# be placed in the first column followed by the corresponding host name.
-
# The IP address and the host name should be separated by at least one
-
# space.
-
#
-
# Additionally, comments (such as these) may be inserted on individual
-
# lines or following the machine name denoted by a '#' symbol.
-
#
-
# For example:
-
#
-
# 102.54.94.97 rhino.acme.com # source server
-
# 38.25.63.10 x.acme.com # x client host
-
-
127.0.0.1 localhost
-
192.168.123.159 oracle.robs_flat.com
You can test that this has worked by pinging your host and donain name e.g.:
-
C:\Documents and Settings\Robert Metcalf>ping oracle.robs_flat.com
-
-
Pinging oracle.robs_flat.com [192.168.123.159] with 32 bytes of data:
-
-
Reply from 192.168.123.159: bytes=32 time=2ms TTL=64
-
Reply from 192.168.123.159: bytes=32 time=1ms TTL=64
-
Reply from 192.168.123.159: bytes=32 time=1ms TTL=64
-
Reply from 192.168.123.159: bytes=32 time=1ms TTL=64
-
-
Ping statistics for 192.168.123.159:
-
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
-
Approximate round trip times in milli-seconds:
-
Minimum = 1ms, Maximum = 2ms, Average = 1ms
-
-
C:\Documents and Settings\Robert Metcalf>
Optionial - Set up Client Tools
At this point you may wish to set up putty on the client to point to the Oracle server. This gives you a SSH connection. You can also setup a tool like Filezilla so you can copy files to and from the server.
Configure public yum repistory
I found instructions at http://public-yum.oracle.com/
-
cd /etc/yum.repos.d
Edit the file that has been downloaded and in the section [el5_ga_base] set enabled=1 (ga base = generally available base)
Check Package Versions and install
-
rpm -qa
-
yum install openmotif
-
yum install sysstat
-
yum install compat-db
-
yum install compat-glibc
Non yum rpm's from Oracle website
-
cd $HOME
-
rpm -i openmotif21-2.1.30-11.EL5.i386.rpm
-
rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
-
rpm -i binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
-
rm $HOME/*.rpm
Change SELinux to permissibe mode
If you set up SELinux when installing Linux you need to set it to permisive mode. Otherwise SELinux interferes with Oracle. If you didn't set it up then you can skip this step.
-
vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=permissive
Change Kernal Settings
-
vi /etc/sysctl.conf
Add lines to end:
-
kernel.sem = 256 32000 100 142
-
kernel.shmmni = 4096
-
kernel.msgmni = 2878
-
fs.file-max = 65536
-
net.ipv4.ip_local_port_range = 10000 65000
-
net.core.rmem_default = 262144
-
net.core.rmem_max = 262144
-
net.core.wmem_default = 262144
run new settings
-
sysctl -p
Increase DNS resolver timeout
-
vi /etc/resolv.conf
Add lines to end
-
options attempts:5
-
options timeout:15
Set security file limits
-
vi /etc/security/limits.conf
Add lines to end
-
# added for oracle
-
* hard nofile 65535
-
* soft nofile 4096
-
* hard nproc 16384
-
* soft nproc 2047
Apply patch 6078836
Download or copy the file p6078836_101330_LINUX.zip to $HOME
-
cd $HOME
-
unzip p6078836_101330_LINUX.zip
-
mv $HOME/6078836/libdb.so.2 /usr/lib/.
-
rm -rf 6078836
-
rm p6078836_101330_LINUX.zip
Link to Motif library for Oracle Application Server 10.1.2
-
unlink /usr/lib/libXtst.so.6
-
ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
Downloaded the files from edelivary
I also backed these up on my external hard disk.
Create a stage12 directory and unzip the files into this directory
-
unzip -o B53824-01_1of4.zip -d$HOME/stage12
-
unzip -o B53824-01_2of4.zip -d$HOME/stage12
-
unzip -o B53824-01_3of4.zip -d$HOME/stage12
-
unzip -o B53824-01_4of4.zip -d$HOME/stage12
-
unzip -o V15564-01_1of3.zip -d$HOME/stage12
-
unzip -o V15564-01_2of3.zip -d$HOME/stage12
-
unzip -o V15564-01_3of3.zip -d$HOME/stage12
-
unzip -o V15565-01_1of2.zip -d$HOME/stage12
-
unzip -o V15565-01_2of2.zip -d$HOME/stage12
-
unzip -o V15566-01_1of3.zip -d$HOME/stage12
-
unzip -o V15566-01_2of3.zip -d$HOME/stage12
-
unzip -o V15566-01_3of3.zip -d$HOME/stage12
-
unzip -o V15567-01_1of3.zip -d$HOME/stage12
-
unzip -o V15567-01_2of3.zip -d$HOME/stage12
-
unzip -o V15567-01_3of3.zip -d$HOME/stage12
-
unzip -o V15568-01_1of3.zip -d$HOME/stage12
-
unzip -o V15568-01_2of3.zip -d$HOME/stage12
-
unzip -o V15568-01_3of3.zip -d$HOME/stage12
-
unzip -o V15569-01_1of3.zip -d$HOME/stage12
-
unzip -o V15569-01_2of3.zip -d$HOME/stage12
-
unzip -o V15569-01_3of3.zip -d$HOME/stage12
-
unzip -o V15570-01_1of3.zip -d$HOME/stage12
-
unzip -o V15570-01_2of3.zip -d$HOME/stage12
-
unzip -o V15570-01_3of3.zip -d$HOME/stage12
-
unzip -o V15571-01_1of3.zip -d$HOME/stage12
-
unzip -o V15571-01_2of3.zip -d$HOME/stage12
-
unzip -o V15571-01_3of3.zip -d$HOME/stage12
-
unzip -o V15572-01_1of3.zip -d$HOME/stage12
-
unzip -o V15572-01_2of3.zip -d$HOME/stage12
-
unzip -o V15572-01_3of3.zip -d$HOME/stage12
-
unzip -o V15573-01_1of3.zip -d$HOME/stage12
-
unzip -o V15573-01_2of3.zip -d$HOME/stage12
-
unzip -o V15573-01_3of3.zip -d$HOME/stage12
-
unzip -o V15574-01_1of3.zip -d$HOME/stage12
-
unzip -o V15574-01_2of3.zip -d$HOME/stage12
-
unzip -o V15574-01_3of3.zip -d$HOME/stage12
-
unzip -o V15575-01.zip -d$HOME/stage12
-
unzip -o V15576-01_1of3.zip -d$HOME/stage12
-
unzip -o V15576-01_2of3.zip -d$HOME/stage12
-
unzip -o V15576-01_3of3.zip -d$HOME/stage12
Make all the installed filed executable:
-
chmod -R +x $HOME/stage12
Create oracle user
You should log in as the root user and create another user called oracle.
Click here for screenshots of creating the oracle user
Create install dir
You have to be root to do this.
-
cd /
-
mkdir d01
-
chown oracle d01
-
chgrp oracle d01
Restart the system
Log in as oracle user and run rapid install from Start CD
From a terminal run
-
cd startCD/Disk1/rapidwiz/rapidwiz
-
./rapidwiz
Click here for screenshots of the install process
When filling out the dialogs I entered
Hostname: oracle
Domain Name: robs_flat.com
Both were entered in two places.
Note: If you get an error saying no install actions are found it might be caused by having 127.0.0.1 against the host in the hosts file. (See mention of this above)
Start DB Commands
-
cd /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_oracle
Start the Listner
-
./addlnctl.sh start VIS
Start the DB
-
./addbctl.sh start VIS
Now start the apps server:
-
cd /d01/oracle/VIS/inst/apps/VIS_oracle/admin/scripts
-
./adstrtal.sh
Open up firewall
Oracle uses various ports which I add to the firewall. System -> Administration -> Security level and firewall.
The ports I have added are:
8000
1521
User names
Application Usernames:
• SYSADMIN/sysadmin
• MFG/welcome
• OPERATIONS/welcome
• SERVICES/welcome
• MRC/welcome
• HRMS/welcome
Where is tnsnames.ora?
It is on the server in $ORACLE_HOME/network/admin
on my system /d01/oracle/VIS/apps/tech_st/10.1.2/network/admin