Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
# root
$ oracle
APPLICATIONS
Editors
Graphical Internet
DEVELOPMENT
Development Libraries
Development Tools
Java Development
X Software Development
SERVERS
BASE SYSTEM
Administration Tools
Base
Java
SYSTEM TOOLS
X Window System
To use the "oracle-validated" package to perform all your prerequisite setup, follow the
instructions at http://public-yum.oracle.com to setup the yum repository for OL, then
perform the following command. All necessary prerequisites will be performed automatically.
# cd /etc/yum.repos.d
# rm -f public-yum-el5.repo
# wget http://public-yum.oracle.com/public-yum-el5.repo
Triggers the Installation of oracle 11g Preinstall & Setup
# yum -y install oracle-validated
Updates System to Currently last Update & Patches.
# yum update
If we have NOT used the "oracle-validated package to perform all prerequisites, we need
to manually install required rpms as per installation doc.
CREATE REQUIRED NUMBER OF GROUPS & USER
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
CREATE THE DIRECTORIES , ORACLE SOFTWARE WILL BE INSTALLED.
# mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
# mkdir -p /u01/app/oracle/oraInventory
# chown -R oracle:oinstall /u01
# chmod -R 775 /u01/app/oracle/
# /sbin/sysctl -p
# /sbin/sysctl -a | grep <param-name> # values can be tested , if we wish to check.
CHANGE vi /etc/pam.d/login FILE & ADD THE FOLLOWING LINE
oracle soft
nproc
2047
16384
oracle soft
nofile
1024
oracle hard
nofile
65536
# xhost +
access control disabled, clients can connect from any host
UNZIP DATABASE SOFTWARE
$ unzip linux.x64_11gR2_database_1of2.zip
$ unzip linux.x64_11gR2_database_2of2.zip
We can get a Single directory called "database" containing installation files.
$ cd database
[oracle@SERVER1 database] $ ./runInstaller
Starting Oracle Universal Installer...
*****************************************
****************************
****************************
****************************
****************************
$ vi .bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
EXECUTE .bash_profile as oracle user
$ . .bash_profile
# xhost +