Oracle Software Installation and manual build library

Source: Internet
Author: User

First, read the official documents

Second, the installation of database software (reference experiment Manual)

1, upload Oracle software package and unzip

Unzip P10404530_112030_linux-x86-64_1of7.zip

Unzip P10404530_112030_linux-x86-64_2of7.zip

2, the construction group, the user

Groupadd Oinstall

Groupadd dba

useradd-d/home/oracle-g oinstall-g dba-m Oracle

3. Set environment variable

(1) System environment variable (no need to set)

(2) Oracle User Environment variables

VI. bash_profile

Export Oracle_base=/u01/app/oracle

Export Oracle_home= $ORACLE _base/product/11.2.0

Export ORACLE_SID=OCP

Export nls_lang= "Simplified Chinese_china". Zhs16gbk

Export path= $ORACLE _home/bin: $PATH

4, the establishment of the directory

Mkdir-p/u01/app/oracle/product/11.2.0

5. Authorization

Chown-r oracle:oinstall/u01/app/oracle

Chmod-r 755/u01/app/oracle

6. Start Installation

(1) Pre-operation from root to Oracle User:

Xhost +

(2) switch to Oracle User

Su-oracle

(3) Start installation

Cd/backup/database

./runinstaller

(4) Install to about 94% will prompt to execute two scripts:

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

/u01/app/oracle/product/11.2.0/root.sh

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.