Open main menu

Wikibooks β

RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Prepare Linux for Oracle

< RAC Attack - Oracle Cluster Database at Home‎ | RAC Attack 12c

  1. Modify the pam.d login file to use limits.
    sed -i -e '/session    required open/i\
    session    required     \/lib64\/security\/\
    session    required' /etc/pam.d/login
  2. Change the password for the oracle user to racattack.
    [root@collabn1 ~]# 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.
  3. Create and change the ownership of the directories for Clusterware and the Database installations.
    [root@collabn1 ~]# mkdir -p /u01/app
    [root@collabn1 ~]# chown oracle:oinstall /u01/app
  4. Modify the oracle user so that it belongs to the vboxsf group.
    [root@collabn1 ~]# usermod -G oinstall,dba,vboxsf oracle
    [root@collabn1 ~]# id oracle
     uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(vboxsf)