12cR2, ACE, Beginner Series, Database, DBA

Installing Oracle Database 12cR2 on Linux 7.3

What do you do when Oracle releases the long awaited 12cR2 version of the database? You download it and install it. So let’s get started.

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.

 

 

The Setup:

VM
Oracle Virtual Box 5.1.14
Linux 7.3
Memory: 8GB
Disk Space: 50GB

Host:
MacBook Pro (Retina, 15-inch, Mid 2014)
Processor: 2.2 GHz Intel Core i7

OS Setup:

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/12.2.0.2/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

8. 

9.

10.

11.

12.

13. 

14. 

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:

https://<domain name>:5500/em

 

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.

Enjoy

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.