Installation of Oracle 11g Release 1 (11.1.0.6.0) on RedHat EL 4, 5 and (Oracle) Enteprise Linux 4, 5 ตอนที่ 1

กุมภาพันธ์ 7, 2009 at 3:44 pm 1 ความเห็น

This paper (HOWTO) describes step-by-step installation of Oracle 11g R1 database software on RedHat Enterprise Linux 4 and 5 or Enteprise Linux 4 and 5 shipped by Oracle Corp. This article is useful for Centos Linux release 4 and 5. Note that Centos distribution is not certified by Oracle Corporation.
This article does not cover database creation process, and ASM Instance creation process.

This paper covers following steps:

 

Pre-Instalation Tasks

1. Create oracle User Account

Login as root and create te user oracle which belongs to dba group.

su –
# groupadd dba
# useradd -g dba oracle


2. Setting System parameters
Edit the /etc/sysctl.conf and add following lines:

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6553600
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144

Note: You need reboot system or execute “sysctl -p” command to apply above settings.

For RedHat (OEL, Centos, WBL) 4 version: Edit the /etc/pam.d/login file and add following line:

session required /lib/security/pam_limits.so


For RedHat (OEL, Centos) 5 version: Edit the /etc/pam.d/login file and add following line:

session required pam_limits.so


Edit the /etc/security/limits.conf file and add following lines:

oracle    soft  nproc  2047
oracle    hard  nproc  16384
oracle    soft  nofile  1024
oracle    hard  nofile  65536


3. Creating oracle directories

# mkdir /opt/oracle
# mkdir /opt/oracle/111
# chown -R oracle:dba /opt/oracle


4. Setting Oracle Enviroment
Edit the /home/oracle/.bash_profile file and add following lines:

ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/111
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH


Save the .bash_profile and execute following commands for load new enviroment:

cd /home/oracle
. .bash_profile

Entry filed under: ระบบ Server. Tags: .

แนวทางแก้ปัญหาอาการ Error ของ svchost.exe ตอนที่ 3 Installation of Oracle 11g Release 1 (11.1.0.6.0) on RedHat EL 4, 5 and (Oracle) Enteprise Linux 4, 5 ตอนที่ 2

1 ความเห็น Add your own

ใส่ความเห็น

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 / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


กุมภาพันธ์ 2009
พฤ อา
« ม.ค.   มี.ค. »
 1
2345678
9101112131415
16171819202122
232425262728  

%d bloggers like this: