Installing Oracle 10g under Linux (Redhat 4)

Source: Internet
Author: User

--Note: This article is for Oracle only and does not have a library

One: Put a readhat in the virtual machine 4systemTwo: With IP

The following IP addresses are provided:

Three: Build user groups, users

Note: Oracle users should have the same UID.

Groupadd-g Oinstall

GROUPADD-G 201 DBA

Useradd-u 200-g oinstall-g dba Oracle

passwd Oracle

Four: Build the catalogue

Modify the owner of a file

--chown-r oracle:oinstall/u01

Su-oracle

Mkdir-p/u01/app/oracle

V: Modify. Bash_profilefile

Note the instance name (Rac1 for example below)

Cd/home/oracle

VI. bash_profile

Export Editor=vi

Export Oracle_sid=sdyprod

Export Oracle_base=/u01/app/oracle

Export Oracle_home=/u01/app/oracle/product/10.2.0/db_1

Export Ora_crs_home=/u01/crs_1

Export Ld_library_path= $ORACLE _home/lib

Export path= $ORACLE _home/bin: $ORA _crs_home/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/x1186/bin

Umask 022

[[email protected] ~]$ source. bash_profile

Six: Configure the kernel

Su-

1:vi/etc/sysctl.conf

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

2:vi/etc/security/limits.conf Restrict Oracle Open page handles and the like

Oracle Soft Nproc 2047

Oracle Hard Nproc 16384

Oracle Soft Nofile 1024

Oracle Hard Nofile 65536

3:vi/etc/pam.d/login the information set in the above takes effect here

Session required/lib/security/pam_limits.so

4: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

Reboot.

Seven: InstalledOracleSoftware

./runinstaller

--uncheck ' Create starter database ' because it only wants to install Oracle software and don't want to build databases for the time being .

--checking Network Configuration Requirements This status ' not executed ', regardless of it.

-- Choose 'Yes', continue,

To execute the script as root user :

/u01/app/oracle/orainventory/orainstroot.sh

/u01/app/oracle/product/10.2.0/db_1/root.sh

After executing the script, click 'OK' and the following interface appears:

Click ' Exit' to exit.

Eight: With monitoring

Netca

......

Installing Oracle 10g under Linux (Redhat 4)

Related Article

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.