Oracle Application Server 10g Release 3 (10.1.3) installation on CentOS 5.5 (2.6.18-194.el5):
Using: rpm > install packages, vi > editing, cpio, unzip > unpack archives
- Download and extract the OAS Suite cpio to i.e. /tmp/orainstall
- Check that the following packages are installed on the system:
gcc-3.4.3-22.1
gcc-c++-3.4.3-22.1
openmotif21-2.1.30-11 (this failes on check, installs ok)setarch-1.6-1
pdksh-5.2.14-30
sysstat-5.0.5-1
gnome-libs-1:1.4.1.2.90-44.1 (this failes on check, installs ok)
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
compat-libstdc++-296-2.96-132.7.2
compat-db-4.1.25-9 (this failes on check, installs ok)
control-center-2.8.0-12
glibc-common-2.3.4-2.9
binutils-2.15.92.0.2-13
make-1:3.80-5
xscreensaver-4.18-5.rhel4.2 (this failes on check, installs ok)
rpm usage:
rpm -q name-of-lib //t
o query for install-status, execute
rpm -Uvh name-of-lib*
//to install missing lib, execute / use the * to include wild-card after prefix
- Specify the /etc/hosts file:
- Add the following to the /etc/sysctl.conf file (if < 131072)
- Add the user limits to /etc/security/limits.conf file:
- Add the following to the /etc/pam.d/login file:
- Add the following to /etc/pam.d/xdm file if installing from console/x-wind:
- Create the oracle users and groups
192.168.50.20 as1.mydomain.com as1
[ip-address] [fully-qualified-machine-name] [machine-name]
fs.file-max = 131072
* soft nproc 2047
* hard nproc 16384
* soft nofile 2048
* hard nofile 65536
session required /lib/security/pam_limits.so
session required pam_limits.so
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba -s /bin/ksh oracle passwd oracle
- Run following as root to give access to the x server (not needed if installing directly on server):
xhost +local-host-name
export DISPLAY =:0.0
unset TNS_ADMIN
unset ANT_HOME
unset ORA_NLS
unset LD_BIND_NOW - Create oracle product directories
mkdir -p /u01/app/oracle/product/10.1.3
chown -R oracle.oinstall /u01
- Create the oracle software (installer) directories:
mkdir /u01/app/oracle/software/oas
mkdir /u01/app/oracle/software/oas/as_linux_x86_101320_disk1
chown -R oracle.oinstall /u01
# 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.3/OracleAS_1; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin; export PATH
PATH=$PATH:$ORACLE_HOME/Apache/Apache/bin; export PATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
PS1="`hostname`> "
set -o emacs
set filec
- To bypass the required-only RedHat versions add to /etc/redhat-release file:
- Begin the installation:
redhat-Red Hat Enterprise Linux AS release 4
cd /u01/app/oracle/software/oas/as_linux_x86_101320_disk1
./runInstaller
//installer parameters: -executeSysPrereqs, -ignoreSysPrereqs
Step 1 (specify installation directory and installation mode):
- Enter Installation Directory:
/u01/app/oracle/product/as/10.1.3 - Select Advanced Installation
- Click Yes when prompted for advanced installation switch
Step 2 (specify inventory directories and credentials):
- Enter inventory directory:
/u01/app/oracle/oraInventory
- Specify OS group name:
oinstall
Step 3 (pop-up message):
- Open a terminal as root and execute when prompted by installer:
umask 022
cd /u01/app/oracle/oraInventory
./orainstRoot.sh
- Continue with installer
Step 4 (installation type selection):
- Select the install type “Oracle HTTP Server and Web Server”
Step 5 (Prerequisite Checks):
- check to see whether the check pass or fail:
if fails on recommended packs:- openmotif21
- compat-db
- gnome-libs
- xscreensaver
Try: select the failed checkbox and continue with install
Step 6 (specify ports):
- leave as-is
Step 7 (specify instance name):
- specify instance name:
inst_name
- set the oc4jadmin pass:
******
- specify the oc4j home instance name:
home
(default)
Step 8 (cluster topology):
- Skip
Step 8-9 (installing, message):
- Monitor install
- When prompted with pop-up message:
unmask 022
cd /u01/app/oracle/product/as/10.1.3
./root.sh
Note: provides default choices if paths prompted - if you receive an error – not finding a lib “error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory”, try this:
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Post Install:
- May need to execute ./opmnctl startall to bring up HTTP and OC4J
- Access server welcome page at http://[full-qual-machine-name]:7777
- Access server manager at http://[full-qual-machine-name]:7777/em
- Access web context page at http://[full-qual-machine-name]:7777/
Comments