Thursday, July 23, 2020

Oracle Installation

For Installation Follow these steps which are given in video:--



To Download File Click Here


1. login with root user and set kernel parameter in /etc/sysctl.conf
  
  
  echo kernel.shmall = 2097152 >> /etc/sysctl.conf
  echo kernel.shmmax = 536870912 >> /etc/sysctl.conf
  echo kernel.shmmni = 4096 >> /etc/sysctl.conf
  echo # semaphores: semmsl, semmns, semopm, semmni >>                /etc/sysctl.conf
  echo kernel.sem = 250 32000 100 128 >> /etc/sysctl.conf
  echo fs.file-max = 65536 >> /etc/sysctl.conf
  echo net.ipv4.ip_local_port_range = 9000 65000 >> /etc/sysctl.conf
  echo net.core.rmem_default=262144 >> /etc/sysctl.conf
  echo net.core.rmem_max=4194304 >> /etc/sysctl.conf
  echo net.core.wmem_default=262144 >> /etc/sysctl.conf
  echo net.core.wmem_max=1048586 >> /etc/sysctl.conf
  echo fs.file-max = 6815744 >> /etc/sysctl.conf
  echo net.ipv4.ip_local_port_range = 9000 65500 >> /etc/sysctl.conf
  echo net.core.wmem_max = 1048576 >> /etc/sysctl.conf
  echo fs.aio-max-nr = 1048576 >> /etc/sysctl.conf

2. Activate the kernel settings

   sysctl -p

3. CREATE REQUIRED GROUPS AND USERS:

   groupadd oinstall
   groupadd dba
   groupadd oper
   groupadd asmdba
   groupadd asmadmin
   useradd -g oinstall -G dba,oper,asmadmin,asmdba oracle
   echo oracle|passwd --stdin oracle

4. CREATE REQUIRED DIRECTORY:

   mkdir  /u01
   chown -R oracle:oinstall /u01
   chmod -R 775 /u01

5. Insert line in /etc/pam.d/login
------------------------------------

 echo session    required     /lib/security/pam_limits.so >>     /etc/pam.d/login

6. Insert line in /etc/security/limits.conf
----------------------------------------------      
  echo oracle soft nproc 2047 >> /etc/security/limits.conf
  echo oracle hard nproc 16384 >> /etc/security/limits.conf
  echo oracle soft nofile 1024 >> /etc/security/limits.conf
  echo oracle hard nofile 65536 >> /etc/security/limits.conf
  Disable secure linux by editing the /etc/selinux/config file and    reboot the system.
--------------------------------------------------------------------

7 .To open the file: vi /etc/selinux/config

 SELINUX=disabled


8. Install linux RPM:
-----------------------------------------------------
yum -y install binutils-2.* compat-libstdc33* compat-libstdc33* elfutils-libelf* gcc-4.* gcc-c4.* glibc-2.* glibc-common-2.* glibc-devel-2.* glibc-headers-2.* ksh* libaio-0.* libaio-devel-0.* libgomp-4.* libgcc-4.* libstdc4.* libstdcdevel-4.* make-3.* sysstat-7.* unixODBC-2.* unixODBC-devel-2.* numactl-devel-*



9. EXIT FROM ROOT USER AND LOGIN WITH oracle USER AND RUN runInstaller
--------------------------------------------------------------------
Copy Oracle Setup Directory In Oracle's Home Directory or You Can Paste Anyware.Go to that Setup Directory By Using CD Command And Unzip the files one by one. this will create a database directory.

]$ cd database
]$ ./runInstaller





No comments:

Post a Comment

Top Oracle Books

I will recommend you use multiple sources to teach yourself. One good reason for this is, that there is never a single book that speaks t...