GUIDE INSTALL ORACLE ON RHEL

3 hari yang lalu , si pak bos Donal telphone ke hpku, suruh datang ke salah satu prusahaan BUMN yg ada di Batam, singkat cerita di sana sudah ada rekan-rekan IT from Jakarta , sedang migrasi data centre ORACLE yang berjalan di RHEL (versi brp tepatnya lupa), dan yang  satu lagi sedang sibuk mengurusi IBM Blade Centre , karena oretan Guide install Oraclenya ilang jadi saya copy paste dari http://www.oracle.com biar gak lupa 😀

Oracle & PHP Installfest guide – Oracle 10gR2 on RHEL4 – OTN Night 2005
———————————————————————–
Installing Oracle 10g (10.2.0.1) on RHEL4

*** This guide is for test purposes only – not production ***

Boot from RHEL4 disc1
press enter for graphical install
** Need at least 512MB RAM / 2.5GB Space **
+ Automaticaly or Manually partition your hard drive with Disk Druid
/tmp = 512MB ext3 fixed size
/boot = 128MB ext3 fixed size
swap = 1024MB fixed size
/ = fill to maximum allowable size

+ Accept defaults for GRUB boot loader, and configure networking.

+ Most Linux distros and RHEL4 ship with default security preferences locked down.
For testing purposes I typically turn off the firewall and disable SE Linux.

+ Set language preferences and root password

+ Select ‘Customize software to be installed’
– make sure the packages essential for installing Oracle are selected.
Desktop : X Window System; Gnome or KDE
Editors : at least one editor – vi etc.
Graphical Internet : a web browser – firefox
Development : Development Tools, and Compat Legacy Languages

For post-install configuration login as root
——————————————–
+ create groups
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd oper

+ create OS user oracle with group permissions and home /opt/oracle
/usr/sbin/useradd -g oinstall -G dba,oper -d /opt/oracle oracle

+ set user oracle’s password
/usr/bin/passwd oracle

+ Append user oracle’s bash profile with PATH and ORACLE:BASE,HOME and SID information
vi /opt/oracle/.bash_profile

umask 022
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib

ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/10gR2
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH

export PATH LD_LIBRARY_PATH ORACLE_BASE ORACLE_HOME ORACLE_SID

+ Create the directory for the software installation and assign ownership to oracle:oinstall
chown -R oracle:oinstall /opt
chmod -R 775 /opt

+ Make sure the correct kernel parmeters are appended to sysctl.conf
vi /etc/sysctl.conf (these can be easily copied from the Quick Installation Guide
for Linux x86 doc on the Oracle10g CD)
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

+ set the kernel parameters or reboot
/sbin/sysctl -p

Login in to xwindows session as user oracle
——————————————-
+ Mount the Oracle10g CD and run the installer
mount /media/cdrom
(cd $HOME && /media/cdrom/runInstaller)
– follow the installer instructions
– use password mgmt to unlock DBuser scott & set password ‘tiger’
+ open http://localhost.localdomain:1158/em in a browser or
As root # vi /etc/oratab  change :N to :Y
# cp /etc/oratab /var/opt/oracle/oratab
+ This enables the oracle user to dbshut, dbstart and lsnrctl start

thsk to Pak Donal, yang udah mau kasih kesempatan gabung dengan rekan-rekan IT Pro from JKT, jadi nambah pengalaman dan nambah teman,

Advertisements

2 thoughts on “GUIDE INSTALL ORACLE ON RHEL

  1. Dear Dede, Sebenarnya saya yang seharusnya terimakasih karena udah di bantuin, untuk RHEL nya tepatnya Versi 3.0 de, sebenarnya gak berhenti disitu sih de masih ada progress migrasi dari DB Oracle (Server yg lama) ke server IBM Blade yang baru, meng-konfigurasi kan RHEL di IBM blade ke IBM SAN Storage, membuat partisi di SAN Storage nya dan yg terpenting me-migrasi Aplikasi nya ke server yang baru with no any error.
    Hehehe….mau dibuat even GGWL khusus untuk ini?
    Maju Terus De! Nice Blog! …………………… Donal.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s