0% found this document useful (0 votes)
10 views4 pages

Day25 Oracle

Uploaded by

Douglas Kamga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Day25 Oracle

Uploaded by

Douglas Kamga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Minimum Software Installed

• The following packages (or higher versions) must be also be installed:

• Gnu gcc package, gcc-3.2.3-2r • compat-libstdc++-7.3-2.96.122

• make-3.79 • compat-libstdc++-devel-7.3-

• binutils-2.11 2.96.122 Name

• openmotif-2.2.2-16

• setarch-1.3-1

• compat-db-4.0.14.5

• compat-gcc-7.3-2.96.122

• compat-gcc-c++-7.3-2.96.122

Spoofing the RHEL Version

Spoofing the RHEL version


[root@server ~]# echo "rhel4" > /etc/redhat-release
Oracle Users and Groups

Create the Oracle user and groups


[root@server ~]# groupadd oinstall
[root@server ~]# groupadd dba
[root@server ~]# useradd -g oinstall -G dba oracle
[root@server ~]# passwd oracle

Oracle Directory

Create a directory
[root@server ~]# mkdir -p /u01/app/oracle

Change the ownership of the directory


[root@server ~]# chown -R oracle:oinstall /u01/app/oracle

Change the permission on the directory


[root@server ~]# chmod -R 775 /u01/app/oracle

Path Manipulation

Edit the configuration file

[root@server ~]# vi /etc/profile

export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=zoom
export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1
export
LD_IBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/perl/lib/5.
6.1:$ORACLE_HOME/ctx/lib
Path Manipulation

export
PATH=:$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$ORACLE_H
OME/perl/lib/5.6.1:$ORACLE_HOME/ldap/odi/bin:$ORACLE_HOME
/opmn/bin:$ORACLE_HOME/dcm/bin:/usr/local/bin:/usr/openwin/
bin:/usr/local/lj2sdk1.4.2/bin:$PATH

Shell Limits

Edit the configuration file

[root@server ~]# vi /etc/security/limits.conf

Add the following lines

* soft nproc 2047


* hard nproc 16384
* soft nofile 1024
* hard nofile 65536

Log File

Edit the configuration file

[root@server ~]# vi /etc/pam.d/login

Add the following lines

session required /lib/security/pam_limits.so


Oracle Installation

Create the Oracle user and groups


[root@server ~]# su - oracle
[oracle@server ~]$ ORACLE_BASE=/u01/app/oracle
[oracle@server ~]$ ORACLE_SID=zoom
[oracle@server ~]$ export ORACLE_BASE ORACLE_SID
[oracle@server ~]$ unset ORACLE_HOME
[oracle@server ~]$ unset TNS_ADMIN
[oracle@server ~]$ /mnt/cdrom/./runInstaller

Oracle Installation

# tnsnames.ora Network Configuration File:


/u01/app/oracle/product/10.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
zoom =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =
localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = zoom)
)
)

Oracle Installation

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

You might also like