How to install Oracle 12c in RedHat Linux 6

Source: Internet
Author: User

How to install Oracle 12c in RedHat Linux 6

Step 1:

To install Oracle on RedHat Linux 6, you must install the corresponding software package before installing Oracle. In different operating system environments, the software package requirements are different. Specific corresponding software packages, see the official documentation: https://docs.oracle.com/cd/E23104_01/sysreqs1213/sysrs.htm#BABGGJGJ

Install the corresponding software package using YUM

Step 2: Create an OS Group and User

Create three groups and one User as follows:

# Groupadd oinstall
# Groupadd dba
# Groupadd rule
# Useradd-u 500-g oinstall-G dba, role oracle

Step 3: unzip the Oracle binary installation package

$ Mkdir-p/home/oracle/orainst/11.2.0.2
$ Mkdir-p/home/oracle/orainst/12.1.0.1
$ Mv linux_12c_database_1of2.zip/home/oracle/orainst/12.1.0.1
$ Mv linux_12c_databasesilicate f2.zip/home/oracle/orainst/12.1.0.1
$ Unzip linux_12cR1_database_1of2.zip
$ Unzip linux_12cr1_databasesilicate f2.zip

Step 4: run the unzipped runInstaller for Installation

Step 5: Configure environment variables after installation

# Oracle Enivronment
Export ORACLE_SID = orcl
Export ORACLE_BASE =/home/oracle/u01/app/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/12.1.0.2/db_1
Export LD_LIBRARY_PATH =/usr/lib: $ ORACLE_HOME/lib
Export PATH = $ ORACLE_HOME/bin: $ PATH

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

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.