在RHEL 4上安裝 Oracle Database 10g R2 上 -投稿

Preview:

Citation preview

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

/tmp400MB
2 Oracle 10g R2 RHEL Linux
binutils 2.15.92.0.2-13.EL4
compat-db 4.1.25-9
compat-libstdc++ 296-2.96-132.7.2
control-center 2.8.0-12
gcc 3.4.3-22.1.EL4
gcc-c++ 3.4.3-22.1.EL44
glibc 2.3.4-2.9
glibc-common 2.3.4-2.9
gnome-libs 1.4.1.2.90-44.1
libstdc++ 3.4.3-22.1
17
rpm -qa binutils compat-* control-center gcc* glibc* gnome-libs libstdc* make pdksh sysstat xscreensaver setarch
sysstat-5.0.5-1
rpm –ivh sysstat-5.0.5-1.rhel4.i386.rpm

Oracle 10g R2 RHEL
RHEL

# /sbin/sysctl -p
4 Oracle
RHEL Oracle 10g R2 Oracle
root Oracle oracle oinstall dba
I.
# useradd -g oinstall -G dba oracle III. Oracle
# passwd oracle unix linux
5 Oracle
Oracle 10g
Oracle

oracle
6 Oracle
Oracle 10g R2 RHEL oracle

# 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

Recommended