single node-linux 11i

22
Pre Installation Tasks Install the below package which is available in Disk 4 # From Oracle Enterprise Linux 4 Disk 4 rpm –Uvh libaio-devel-0.3.105-2.i386.rpm Download the patch 4198954 from metalink and apply the package rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm Red Hat 4 (update 4) kernal version uname -r 2.6.9-42.ELsmp Shared memory and semaphore setting echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf echo "kernel.sem=250 32000 100 128" >> /etc/sysctl.conf echo "fs.file-max=65536" >> /etc/sysctl.conf echo "net.ipv4.ip_local_port_range = 2024 65000" >> /etc/sysctl.conf Modify number of open descriptors echo "hard nofile 65535" >> /etc/security/limits.conf echo "soft nofile 4096" >> /etc/security/limits.conf OS Users and group creation # Add the group and users groupadd dba useradd oracle -g dba useradd applmgr -g dba passwd oracle (give the password for oracle) passwd applmgr (give the password for applmgr)

Upload: subahan-shaik

Post on 28-May-2017

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Single Node-linux 11i

Pre Installation Tasks

Install the below package which is available in Disk 4

# From Oracle Enterprise Linux 4 Disk 4

rpm –Uvh libaio-devel-0.3.105-2.i386.rpm

Download the patch 4198954 from metalink and apply the packagerpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm

Red Hat 4 (update 4) kernal version

uname -r2.6.9-42.ELsmp

Shared memory and semaphore setting

echo "kernel.shmmax=2147483648" >> /etc/sysctl.confecho "kernel.sem=250 32000 100 128" >> /etc/sysctl.confecho "fs.file-max=65536" >> /etc/sysctl.confecho "net.ipv4.ip_local_port_range = 2024 65000" >> /etc/sysctl.conf

Modify number of open descriptors

echo "hard nofile 65535" >> /etc/security/limits.confecho "soft nofile 4096" >> /etc/security/limits.conf

OS Users and group creation

# Add the group and usersgroupadd dbauseradd oracle -g dba useradd applmgr -g dbapasswd oracle (give the password for oracle)passwd applmgr (give the password for applmgr)

Page 2: Single Node-linux 11i

Permissions are given oracle and applmgr so that they can write to /d01/oracle

chgrp dba /d01/oraclechmod g+w /d01/oracle

Note: Please check whether oracle and applmgr are able to write to /d01/oraclesu – oraclecd /d01/oracletouch test.filerm test.filesu – applmgrcd /d01oracletouch test.filerm test.file

Check that the /etc/hosts entries are as follows

127.0.0.1 localhost.localdomain localhost<ip address> <hostname>.<domainname> aliasname

My entries are as follows

127.0.0.1 localhost.localdomain localhost192.168.1.100 linux1.com linux1

Restart the server or use run sysctl –p to avoid the restart the serversysctl -p

Page 3: Single Node-linux 11i

Set Up the Stage Area

Download the software from http://edelivery.oracle.com. It comes in zip format. Create a directory as /Stage11i with 25GB free space and unzip all the zip files.

Also the installation software comes in DVD format.

Insert the first DVD labeled Start Here and run adautostg.pl perl script

cd /media/cdrom/Disk1/rapidwiz/perl adautostg.pl and follow the instructions.

The individual disks included in the Release 11i software bundle are labeled as follows:

Start Here - Disk 1 APPL_TOP - Disk n RDBMS - Disk n Tools - Disk n Databases - Disk n

If you are an NLS customer, you should also have the NLS Supplement - Disk n software for each language (in addition to American English) you plan to install. You should order the NLS Supplement software and have it available before you begin the installation. Rapid Install requires this language-specific software to run to completion. The stage area created by adautostg.pl looks like this: a top-level directory , with subdirectories startCD, oraApps, oraDB, oraiAS, oraAppDB, and oraNLS/ (only if required).

To know the Rapid Install version

It is mandatory that you know the Rapid Install; I remember I wasted 2 months of time. The first CD is common to all the operating system. If any bugs found Oracle will rectify the first CD and upload the same to the Metalink. Always use the latest Rapid Install version.

Page 4: Single Node-linux 11i

So, the rapid Install version is 11.5.10.35.

Page 5: Single Node-linux 11i

Oracle Applications 11i Installation (Linux) – Single Node

LD_ASSUME_KERNEL=2.4.19; export LD_ASSUME_KERNELcd Stage11i/StartCD/Disk1/rapidwiz./rapidwiz

Page 6: Single Node-linux 11i
Page 7: Single Node-linux 11i
Page 8: Single Node-linux 11i
Page 9: Single Node-linux 11i
Page 10: Single Node-linux 11i
Page 11: Single Node-linux 11i
Page 12: Single Node-linux 11i
Page 13: Single Node-linux 11i
Page 14: Single Node-linux 11i

Resolve all the issues before continuing. The below example indicates that there is space issue.

After fixing the space issue, re-check the settings

Page 15: Single Node-linux 11i

click Next to continue

Page 16: Single Node-linux 11i

Post Installation Tasks

# After installation, please set the environment setting

# Environment SettingsNote: Replace <CONTEXT_NAME> with SID_hostname, also replace the SID

su - oraclecd /d01/oracle/<CONTEXT_NAME>/9.2.0cat <CONTEXT_NAME>.env >> /home/oracle/.bash_profileexitsu - applmgrcd /d01/oracle/<CONTEXT_NAME>applcat APPS<CONTEXT_NAME>.env >> /home/applmgr/.bash_profileexit

Page 17: Single Node-linux 11i

# Stop and Start Scripts

su - applmgrcat > stop_apps.sh

sh $COMMON_TOP/admin/scripts/<CONTEXT_NAME>/adstpall.sh apps/appscat > start_apps.sh

sh $COMMON_TOP/admin/scripts/<CONTEXT_NAME> /adstrtal.sh apps/appsexit

su - oraclecat > stop_db.shsh $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addlnctl.sh stop SID sh $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addbctl.sh stop immediate

cat > start_db.shsh $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addlnctl.sh start SIDsh $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/addbctl.sh start

exit

# connect as root (provided you have the root permission)cat > start.shsu - oracle /home/oracle/start_db.shsu - applmgr /home/applmgr/start_apps.sh

cat > stop.shsu - applmgr /home/applmgr/stop_apps.shsu - oracle /home/oracle/stop_db.sh

Page 18: Single Node-linux 11i

Browser setting – To access the application through mozilla

Download the below software1> j2re-1_4_2_04-linux-i586.rpm 2> mozilla-i686-pc-linux-gnu-1.7.13-installer.tar

rpm -Uvh j2re-1_4_2_04-linux-i586.rpmcp mozilla-i686-pc-linux-gnu-1.7.13-installer.tar /usr/localcd /usr/localtar -xvf mozilla-i686-pc-linux-gnu-1.7.13-installer.tarcd mozilla-installer/./mozilla-installer

Page 19: Single Node-linux 11i
Page 20: Single Node-linux 11i

cd /usr/local/mozilla/plugins/ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .

To access mozillacd usr/local./mozilla

To make mozilla as your default brower :

Page 21: Single Node-linux 11i
Page 22: Single Node-linux 11i