Microsoft Word - RHEL 4 Oracle Database 10g R2__-.doc Steven
Cheng
Linux
Linux
Linux
Oracle Oracle
Linux Oracle UNIX UNIX
Linux Oracle
UNIX-Like
Red Hat Enterprise Linux 4 RHEL4 Oracle Database 10g R2
“( Developer License)
Windows XP Professional SP2Vmware Workstation 5.0
UNIX Linux Oracle 10g Windows
Step-by-Step Oracle
10g Red Hat Enterprise Linux
Vmware Workstation
Hard Disk 1SCSI 0:0 4GB
Hard Disk 2SCSI 0:1 4GB
CD-ROMIDE 1:0 Auto detect
Ethernet Bridged
2
14
chkconfig cups off
chkconfig sendmail off
chkconfig isdn off
chkconfig smartd off
chkconfig iptables off
chkconfig pcmcia off
15
Oracle Database 10g R2 Oracle Linux Linux
Oracle
Oracle
Linux
2
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b15660.pdf
3
http://download-east.oracle.com/docs/cd/B19306_01/install.102/b28052.pdf
1. Oracle 10g R2
2. Oracle 10g R2 RHEL
3. RHEL kernel parameters
4. Oracle
5. Oracle
6. Oracle
7. Oracle
1 Oracle 10g R2 Red Hat Enterprise Linux AS/ES 3.0
(Update 4 or later)
SUSE Linux Enterprise Server 9.0 with
SP 2 or later
CPU CPU
RAM 2~8GB --- RAM
RAM 8GB --- 0.75*RAM
# vi /etc/security/limits.conf
* soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard
npfile 65536
19
session required /lib/security/pam_limits.so session required
pam_limits.so
III. /etc/profile # vi /etc/profile
if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi
fi
7 Oracle
ORACLE_BASE ORACLE_SID
I. .bash_profile
# su - oracle $ vi .bash_profile
Oracle
Steven Cheng
Oracle Linux
High Availability Solution