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
else
ulimit -u 16384 -n 65536
fi
fi
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 |
