Full Process of Oracle10g installation in Red Hat Enterprise Linux5.4

Source: Internet
Author: User
The entire process of Oracle10g installation under Red Hat Enterprise Linux5.4 is illustrated. Red Hat Enterprise Linux5.4 has a memory of no less than 1G and a hard disk of more than 8G. In this environment, the Linux address is 192.168.

The entire process of Oracle 10g installation in Red Hat Enterprise Linux 5.4 is illustrated. The Red Hat Enterprise Linux 5.4 has a memory of no less than 1G and a hard disk of more than 8G. In this environment, the Linux address is 192.168.

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 @ ~] # Hostname

Eleven. localdomain

[Root @ ~] # 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 @ ~] # Mkdir/mnt/cdrom

[Root @ ~] # 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 @ Server] # groupadd dba

[Root @ Server] # groupadd oinstall

[Root @ Server] # groupadd plugin

[Root @ Server] # useradd-g oinstall-G dba, role oracle

Set the password for oracle. Here, set the password to oracle:

[Root @ Server] # passwd oracle

Changing password for user oracle.

New UNIX password:

Bad password: it is based on a dictionary word

Retype new UNIX password:

6,

[Root @ 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 @ 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 @ Server] # vim/etc/pam. d/login

Add the following content:

Session required/lib/security/pam_limits.so

Session required pam_limits.so

9,

[Root @ 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.