RedHat Linux 6環境下安裝Oracle 12c的方法

來源:互聯網
上載者:User

RedHat Linux 6環境下安裝Oracle 12c的方法

Step 1:

要在RedHat Linux 6上安裝Oracle,需要在安裝Oracle之前安裝好相應的軟體包,在不同作業系統環境下,對軟體包的要求各不相同。具體對應的軟體包,見官網文檔:https://docs.oracle.com/cd/E23104_01/sysreqs1213/sysrs.htm#BABGGJGJ

使用YUM安裝好相應的軟體包

 Step2:建立OS Group和User

這裡建立三個Group和一個User,如下

# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -u 500 -g oinstall -G dba,oper oracle

Step 3:解壓Oracle二進位安裝包

$ 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_database_2of2.zip /home/oracle/orainst/12.1.0.1
$ unzip linux_12cR1_database_1of2.zip
$ unzip linux_12cR1_database_2of2.zip

Step 4:運行解壓之後的 runInstaller進行安裝

Step 5:安裝之後配置環境變數

#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

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

相關文章

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.