1. installation environment:
Red Hat Enterprise Linux 5.4, memory is not less than 1 GB, hard disk is greater than 8 GB, Linux address 192.168.1.80 in this environment. Oracle version: 10 GB
Installation steps:
2. Modify the hosts file:
Root@www.bkjia.com ~ # Hostname
Eleven. localdomain
Root@www.bkjia.com ~ # Vim/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 Eleven. localdomain localhost. localdomain localhost
: 1 localhost6.localdomain6 localhost6
192.168.1.80 Eleven. localdomain
3. Log On As root and mount the linux iso file:
Root@www.bkjia.com ~ # Mkdir/mnt/cdrom
Root@www.bkjia.com ~ # Mount/dev/cdrom/mnt/cdrom/
4. Check whether the required software package is installed. If not, install:
Sudo-1.6.9p17-5.el5.i386.rpm
Binutils-2.17.50.0.6-12.el5.i386.rpm
Compat-db-4.2.52-5.1.i386.rpm
Compat-libstdc ++-296-2.96-138.i386.rpm
Control-center-2.16.0-16.el5.i386.rpm
Gcc-4.1.2-46.el5.i386.rpm
Gcc-c ++-4.1.2-46. el5.i386. rpm
Glibc-2.5-42.i386.rpm
Glibc-common-2.5-42.i386.rpm
Libstdc ++-4.1.2-46. el5.i386. rpm
Libstdc +-devel-4.1.2-46.el5.i386.rpm
Make-3.81-3.el5.i386.rpm
Pdksh-5.2.14-36.el5.i386.rpm
Sysstat-7.0.2-3.el5.i386.rpm
Setarch-2.0-1.1.i386.rpm
LibXp-1.0.0-8.1.el5.i386.rpm (this package won't work if you don't install the next step)
The preceding software packages are stored in the Server warehouse of the system CD-Rom. Because linux5.4 is used here, the versions of these software packages may be different from those of different CD-ROM images.
5. create the required users and groups:
[Root@www.bkjia.com Server] # groupadd dba
[Root@www.bkjia.com Server] # groupadd oinstall
[Root@www.bkjia.com Server] # groupadd plugin
[Root@www.bkjia.com Server] # useradd-g oinstall-G dba, guest oracle
Set the password for oracle. Here, set the password to oracle:
# Passwd oracle [root@www.bkjia.com Server]
Changing password for user oracle.
New UNIX password:
Bad password: it is based on a dictionary word
Retype new UNIX password:
6,
[Root@www.bkjia.com Server] # vim/etc/sysctl. conf
Add the following content:
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
7,
[Root@www.bkjia.com Server] # vim/etc/security/limits. conf
Add the following content:
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
8,
[Root@www.bkjia.com Server] # vim/etc/pam. d/login
Add the following content:
Session required/lib/security/pam_limits.so
Session required pam_limits.so
9,
[Root@www.bkjia.com Server] # vim/etc/profile
Add the following content:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Next Page
|