Part 7 – Building Oracle 12c development suite – Storage setup for Oracle Enterprise Linux 6.5 on Oracle VirtualBox

Storage setup for Oracle Enterprise Linux 6.5 on Oracle VirtualBox
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 storage for an 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 server as root user and create the oracle software owner with the following commands and enter your desired password for the oracle software owner:
login as: root
root@10.30.15.127’s password:
Last login: Mon Sun 1 21:57:11 2015 from 10.30.15.64
[root@oel65 ~]# groupadd dba
[root@oel65 ~]# useradd oracle -g dba -G root
[root@oel65 ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: all authentication tokens updated successfully.
[root@oel65 ~]#create the following directories for the oracle RDBMS storage.

3. Execute the following mkdir statements to create the appropriate storage of oracle RDBMS installation.
mkdir /opt/app
mkdir /opt/app/oracle
mkdir /opt/app/oracle_software
mkdir /u01
mkdir /u02
mkdir /u01/oradata
mkdir /u02/oradata
mkdir /opt/app/oracle_inventory
mkdir /opt/app/oracle_inventory/inventory

4. Finally change the ownership and permissions on the new storage location to the oracle software owner’s account.
chown oracle:dba /opt/app
chown oracle:dba /opt/app/oracle
chown oracle:dba /opt/app/oracle_software
chown oracle:dba /u01
chown oracle:dba /u02
chown oracle:dba /u01/oradata
chown oracle:dba /u02/oradata
chown oracle:dba /opt/app/oracle_inventory
chown oracle:dba /opt/app/oracle_inventory/inventory

5. This completes the setup of the storage for Oracle 12c.

Larry Catt, OCP

Leave a Reply