Install Oracle 10g graphic tutorial in redhat 4,

Source: Internet
Author: User

Install Oracle 10g graphic tutorial in redhat 4,

-- Note: This article only installs Oracle and does not create a database.

I. Install a readhat4 System in the Virtual Machine

Ii. IP Address Allocation

The configured IP address is as follows:

3. create user groups and users

Note: oracle users should have the same uid.

Groupadd-g200oinstall

Groupadd-g201dba

Useradd-u200-goinstall-Gdbaoracle

Passwdoracle

4. Create a directory

Modify the file owner

-- Chown-Roracle: oinstall/u01

Su-oracle

Mkdir-p/u01/app/oracle

5. Modify the. bash_profile File

Note the Instance name (the following uses rac1 as an example)

Cd/home/oracle

Vi. bash_profile

ExportEDITOR = vi

ExportORACLE_SID = sdyprod

ExportORACLE_BASE =/u01/app/oracle

ExportORACLE_HOME =/u01/app/oracle/product/10.2.0/db_1

ExportORA_CRS_HOME =/u01/crs_1

ExportLD_LIBRARY_PATH = $ ORACLE_HOME/lib

ExportPATH = $ ORACLE_HOME/bin: $ ORA_CRS_HOME/bin:/usr/sbin:/usr/local/bin:/usr/X1186/bin

Umask022

[Oracle @ rac1 ~] $ Source. bash_profile

6. Configure the kernel

Su-

1: vi/etc/sysctl. conf

Kernel. shmall = 2097152

Kernel. shmmax = 2147483648

Kernel. shmmni = 4096

Kernel. sem = 25032000100128

Fs. file-max = 65536

Net. ipv4.ip _ local_port_range = 102465000

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 limits the oracle to open the page handle and so on.

Oraclesoftnproc2047

Oraclehardnproc16384

Oraclesoftnofile1024

Oraclehardnofile65536

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

Sessionrequired/lib/security/pam_limits.so

4: vi/etc/profile

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p16384

Ulimit-n65536

Else

Ulimit-u16384-n65536

Fi

Fi

Restart.

7. Install Oracle software

./RunInstaller

-- Uncheck 'createstarterdatabase', because only Oracle software is installed and you do not want to create a database.

-- CheckingNetworkConfigurationrequirements: 'notexecuted', regardless of its status.

-- Select 'yes' to continue,

To run the script as a root user:

/U01/app/oracle/oraInventory/orainstRoot. sh

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

After the script is executed, Click 'OK'. The following page is displayed:

Click 'exit 'to exit.

8. Configuration listening

Netca

......




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.