Visit the Oracle Download site and download the version 12cR2 of the database. This time it’s just a single zip file. So grab that and unzip it in a directory on your linux box. Below we will configure your OS and walk through the install screens.
Oracle Virtual Box 5.1.14
Disk Space: 50GB
MacBook Pro (Retina, 15-inch, Mid 2014)
Processor: 2.2 GHz Intel Core i7
The following steps, you’ll want to perform as root:
1.Edit your /etc/hosts file by adding your fully qualified domain name For my system we have:
2.For ease of setup, I used “oracle-rdbms-server-12cR2-preinstall.x86_64” package to configure all prerequisites.
yum install oracle-rdbms-server-12cR2-preinstall.x86_64 -y
3. For grins, go ahead and perform a yum update
yum update -y
4. Create your install directory structure and assign appropriate permissions:
mkdir -p /u01/app/oracle/product/22.214.171.124/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
5. Edit your /home/oracle/.bash_profile to reflect appropriate system variables:
For the rest of this process, you will need to log in as the Oracle user. If you used the preinstall package you’ll need to set your ORACLE user password:
6. Login as the oracle user and unzip the “linuxx64_12201_database.zip” you downloaded earlier.
7. Execute the ./runInstaller file to kick off the installation
15. From here, take all the remaining defaults and and finally click Install.
The installer sat at 94% for quite some time, but it finally finished. If everything goes well, you will presented with a success screen and the URL for EM Express. Something like:
Then finally, we have to connect SQL Developer:
After this install, I like to point out that the segmentation fault issue and the “Error Referenced ‘irman ioracle’ during binary installation” issue identified here were not present. Hope this help get you started with #12cR2.
Also published on Medium.