Oracle 12cR1 2-node RAC on CentOS 6.4 on VMware Workstation 9 – Part V

Time Required: 20 minutes

Class Materials:

  • none

Next we need to create the Oracle user account, OS groups and mount point.

The Oracle software will be installed and owned by the oracle user account. In addition, several OS groups are created that allow other non oracle OS users privileged access to the database and grid resources.

Login as root and create the user oracle account and the OS groups:

[root@ruggero ~]# groupadd dba
[root@ruggero ~]# groupadd oinstall
[root@ruggero ~]# groupadd asmdba
[root@ruggero ~]# groupadd asmadmin
[root@ruggero ~]# useradd -g oinstall -G dba,asmdba,asmadmin oracle

Now set the password for the oracle user. Since this is development, I suggest we stick with “oracle”.

[root@ruggero ~]# echo oracle | passwd --stdin oracle
Changing password for user oracle.
passwd: all authentication tokens updated successfully.


Now we create a directory into which the oracle software will be installed. We need to set this new directory to be owned by oracle:

[root@ruggero ~]# mkdir /u01
[root@ruggero ~]# mkdir /u01/app
[root@ruggero ~]# chown oracle:dba /u01/app


Add the following lines to the global profile script at /etc/profile

# added for Oracle 12cR1
if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
       ulimit -u 16384
       ulimit -n 65536
       ulimit -u 16384 -n 65536

Our VM now has all the necessary RPMs, Kernel settings, network configuration and Oracle account privileges to load Oracle 12cR1.

Next we need to clone our VM to create Magda.

Article Quick Navigation
Previous Step Main Index Next Step

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s