RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Prepare Linux for Oracle
Prev: Prepare Host
Install Linux (e)
- Create VirtualBox VM
- VirtualBox VM Settings
- OS Installation
- Linux Post Installation
- Install VirtualBox Addons
- Configure Bind DNS
- Prepare Linux for Oracle
Next: Create Cluster
- Modify the pam.d login file to use limits.
- 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.
- 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
- 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)
COPY/PASTE from PDF file may not work !!! Go to the RAC Attack 12c web page and copy/paste from there |
sed -i -e '/session required pam_selinux.so open/i\ session required \/lib64\/security\/pam_limits.so\ session required pam_limits.so' /etc/pam.d/login