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