Part 11 – Building Oracle 12c development suite – Installation of Oracle 12c

Installation of Oracle 12c
Oracle Corporation provides the ability for developers to create a complete development suite on their personal windows desktop or laptop without requiring the expensive equipment required for a true production system. This article outlines the process for actual installation of Oracle 12c RDBMS Oracle Enterprise Linux 6.5 platform. This procedure assumes that Part 1 through Part 10 of this series has been complete successfully.
NOTE: This process can be used for most Linux installations, regardless of original company or organization providing the base Linux OS.

1. Logon to your Windows desktop/laptop as an administrator and open Oracle VirtualBox.
2. SSH to your OEL virtual server as the oracle software owner.
3. CD to the directory /opt/app/oracle_software/database that was created during part 10 of this series and execute the command ‘cp ./response/db_install.rsp .’

[root@oel65 oracle_software]# cp ./response/db_install.rsp .
[root@oel65 oracle_software]#

4. Open the file db_install.rsp and edit the variable “ORACLE_HOSTNAME” and make ORACLE_HOSTNAME equal to the correct server name for your VM.

5. As the oracle user, change directory to /opt/app/oracle_software/database and execute the command ‘./runInstaller -silent -responseFile /opt/app/oracle_software/database/db_install.rsp’

[root@oel65 database]# ./runInstaller –silent –responseFile /opt/app/oracle_software/database/db_install.rsp
Starting Oracle Universal Installer….
[root@oel65 database]#

6. Change to the user root with the command ‘su -‘ and execute the scripts “/opt/app/oracle_inventory/inventory/orainstRoot.sh” and “/opt/app/oracle/ucop_db/root.sh”

7. This completes the installation of Oracle 12c on your Linux VM.

Larry Catt, OCP

Part 10 – Building Oracle 12c development suite – Preparing Linux OS for 12c installation

Preparing Linux OS for 12c installation
Oracle Corporation provides the ability for developers to create a complete development suite on their personal windows desktop or laptop without requiring the expensive equipment required for a true production system. This article outlines the process for configuration of Oracle Enterprise Linux 6.5 installation in preparation for installation of Oracle 12c RDBMS.
NOTE: This process can be used for most Linux installations, regardless of original company or organization providing the base Linux OS.

1. Logon to your Windows desktop/laptop as an administrator and open Oracle VirtualBox.
2. Logon to your Linux Server as the root user and create the group “dba” and user account “oracle” to be your oracle software owner with the following commands:
groupadd dba
useradd oracle -g dba -G root
passwd oracle

3. Create the following directory structures to support your oracle software installation with the commands:
mkdir /opt/app
mkdir /opt/app/oracle
mkdir /opt/app/oracle_software
mkdir /opt/app/oracle_inventory
mkdir /opt/app/oracle_inventory/inventory

4. Change ownership of directory structures to the oracle software owner with the following commands:
chown oracle:dba /opt/app
chown oracle:dba /opt/app/oracle
chown oracle:dba /opt/app/oracle_software
chown oracle:dba /opt/app/oracle_inventory
chown oracle:dba /opt/app/oracle_inventory/inventory

5. Change the ownership of the Oracle RDBMS media files downloaded in Part 9 of this serious to the oracle software owner with the following commands:
chown oracle:dba /opt/app/oracle_software
chown oracle:dba /opt/app/oracle_software/*
chmod 777 /opt/app/oracle_software/*

6. Switch to the oracle software owners account and change directory back to /opt/app/oracle_software location.
[root@oel65 oracle_software]# su – oracle
[oracle@oel65 ~]$ cd /opt/app/oracle_software
[oracle@oel65 oracle_software]$

7. Unpack all the mediate files with the following command: “find . -name “*.zip” -exec unzip {} \;”
[oracle@oel65 oracle_software]$ find . -name “*.zip” -exec unzip {} \;

..
inflating: database/response/netca.rsp
inflating: database/response/dbca.rsp
inflating: database/response/db_install.rsp
[oracle@oel65 oracle_software]$

8. This completes the setup of the VM Enterprise Linux for Oracle 12c RDBMS installation.

Larry Catt, OCP