Install Oracle 10g Graphics Tutorial in Redhat 4 _oracle

Source: Internet
Author: User

--Note: This article only installed Oracle, and did not build a library

One: Install a READHAT4 system in the virtual machine

Two: With IP

After the following IP:

Third: Build user group, user

Note: Oracle users should have the same UID.

Groupadd-g200oinstall

Groupadd-g201dba

Useradd-u200-goinstall-gdbaoracle

Passwdoracle

Four: Build the catalogue

Modify the owner of a file

--chown-roracle:oinstall/u01

Su-oracle

Mkdir-p/u01/app/oracle

Five: Modify the. bash_profile file

Note the instance name (for example, Rac1 below)

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:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/x1186/bin

umask022

[oracle@rac1~] $source. bash_profile

VI: Configuring 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 limit the handle of the Oracle open page

oraclesoftnproc2047

oraclehardnproc16384

oraclesoftnofile1024

oraclehardnofile65536

3:vi/etc/pam.d/login the information set in the above 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

Reboot.

VII: Install Oracle Software

./runinstaller

--uncheck ' createstarterdatabase ' because you want to install Oracle software and don't want to build the database for the time being

--checkingnetworkconfigurationrequirements This status taste ' notexecuted ', regardless of it.

--Choose ' Yes ', continue,

To execute the script as root:

/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 Monitor

Netca

......

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.