Installation guide

Page 28 of 59
Directories for Oracle software installation should be created before installation. Use the
following commands to create the directories, set ownership, and set permissions:
# mkdir /opt/oracle
# mkdir /opt/oracle/oraInventory
# mkdir /opt/oracle/product
# mkdir /opt/oracle/product/10.1.2
# mkdir /data
# mkdir /data/db
# chown –R oracle.oinstall /opt/oracle
# chown –R oracle.dba /data/db
# chmod –R 775 /opt/oracle /data/db
By default, the oracle user utilizes the bash shell as the login shell. The following entries
in the file /home/oracle/.bash_profile set up the oracle user’s environment:
export TMP=/tmp
export TMPDIR=/tmp
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
if
if
Note that environment variables such as ORACLE_HOME are not set for the Oracle
install. Additional environment variables can be set after the install.
Oracle will use default port numbers for the OracleAS install. However, there may be
some conflicts with reserved ports in the /etc/services file. These conflicts typically
involve services that you will not use anyway, such as Linux LDAP services. If possible,
comment out any entries for ports 389, 636, and 1521 in the /etc/services file. If you
wish to use alternate ports, or any custom port numbers, create a file named staticports.ini
with the following format:
# J2EE and Web Cache
Oracle HTTP Server port = port_num
Oracle HTTP Server Listen port = port_num
Oracle HTTP Server SSL port = port_num
Oracle HTTP Server Listen (SSL) port = port_num
Oracle HTTP Server Diagnostic port = port_num
Java Object Cache port = port_num
DCM Java Object Cache port = port_num
DCM Discovery port = port_num
Oracle Notification Server Request port = port_num
Oracle Notification Server Local port = port_num
Oracle Notification Server Remote port = port_num
Application Server Control port = port_num
Application Server Control RMI port = port_num
Oracle Management Agent port = port_num