Вы находитесь на странице: 1из 2

STEP BY STEP ORACLE10g INSTALLATION ON LINUX

Packages
Following packages with at least following version should be installed
binutils-2.14
gcc-3.2
libaio-0.3.96
glic-2.3.2-95.47
To check if package/rpm is installed
rpm qa grep {rpm_name} (From root)
To install package/rpm
rpm ivh {rpm_name} (From root)
Kernel Parameters
The Linux kernel is a wonderful thing. Unlike most other *NIX systems, Linux all
ows modification of
most kernel parameters while the system is up and running. There's no need to re
boot the system after
making kernel parameter changes.
Make sure you add following entry in /etc/sysctl.conf
kernel.core_uses_pid = 1
kernel = 250 32000 100 128
kernel.shmmax = 536870912
fs.file max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
Save the file and Relogin.
After adding these entries execute below command to take these parameters in to
effect
sysctl p /etc/sysctl.conf
Create the new groups and users, using the following commands (As a Root):
# groupadd oinstall
# groupadd dba
# useradd -g oinstall G dba oracle -g Primary group
# passwd oracle (To change the password for oracle user just created ) -G Supple
mentary
group
Create the directories in which the Oracle Software will be installed.
# mkdir p /u01/app/oracle/product/10.2.0/db_1
# chown R oracle:install /oracle
# chmod R 775 /u01
Login as the Oracle user and add the following lines at the end of the .bash_pro
file file
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=DBPRO; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export CLASSPATH
#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
THREAD_FLAG=native; export THREAD_FLAG
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
Save the .bash_profile file and Relogin as Oracle user.
Login to Root using this Command:
$ su
Password:rootpassword
Execute the 3006854 patch using following Command:
# sh /home/oracle/3006854/rhel3_pre_install.sh
Exit from the Root.
# exit
$ (After typing exit you will receive the Oracle login $ prompt)
Unzip software you downloaded above as
unzip database_linux32.zip
Start the Oracle Universal Installer.
$ ./runInstaller
(From location where you unzipped database) *Use operating system user like orac
le or orainstall
(don t execute runInstaller from root user)
1. Select Installation Method
o Select Basic Installation
o Oracle Home Location: /u01/app/oracle/product/10.2.0/db_1
o Installation Type: Enterprise Edition (1.3GB)
o UNIX DBA Group: dba
o Make sure Create Starter Database is checked
o Global Database Name: DBPRO
o Enter the Database Password and Confirm Password
o Click on Next
2. Specify Inventory Directory and Credentials
o Inventory Directory: /u01/app/oracle/oraInventory
o Operating System group name: dba
o Click on Next
3. Product-specific Prerequisite Checks
o If you've been following the steps in this guide, all the checks should pass w
ithout
difficulty. If one or more checks fail, correct the problem before proceeding.
o Click on Next
4. Summary
o A summary of the products being installed is presented.
o Click on Install.
5. Configuration Assistants
o The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will r
un
automatically
6. Execute Configuration Scripts
o At the end of the installation, a pop up window will appear indicating scripts
that
need to be run as root. Login as root and run the indicated scripts.
o Click on OK when finished.
7. End of Installation
o Make note of the URLs presented in the summary, and click on Exit when ready.

Вам также может понравиться