In this post, I’m installing the Oracle Database 12c Release 2 (220.127.116.11.0) software on Oracle Linux 6.4. Only the software is being installed at this point, in preparation for a single database installation which I’ll create later on using the DBCA tool.
First and foremost, before you start, make sure your Linux server meets the minimum hardware requirements:
- 1GB of RAM (plus appropriately sized swap space)
- 6.4GB of disk space for the software installation
- 1GB of disk space for your /tmp directory
Download the database 12c software
You need to download both Oracle Database 12cr2 parts from the Oracle Technology Network (OTN) here.
Once you’ve downloaded the software, unzip file to a staging area:
[oracle@oracle122 sw]$ pwd
[oracle@oracle122 sw]$ unzip linuxx64_12201_database.zip
[oracle@oracle122 sw]$ cd database
[oracle@oracle122 database]$ ./runInstaller
Now we are going to set Oracle Variables
[oracle@oracle122 ~]$ export ORACLE_HOME=$ORACLE_BASE/product/18.104.22.168/db_1
[oracle@oracle122 ~]$ export PATH=$ORACLE_HOME/bin:$PATH
Now we are going to connect with Sqlplus & check the version.
So we successfully completed the software installation of Oracle 12CR2.