User Tools

Site Tools


database:oracle:install-oracle19c-centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
database:oracle:install-oracle19c-centos7 [2023/10/27 12:28] – created odeftadatabase:oracle:install-oracle19c-centos7 [2023/10/27 16:27] (current) odefta
Line 8: Line 8:
 yum install -y binutils.x86_64 compat-libcap1.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.i686 glibc.x86_64 glibc-devel.i686 glibc-devel.x86_64 ksh compat-libstdc++-33 libaio.i686 libaio.x86_64 libaio-devel.i686 libaio-devel.x86_64 libgcc.i686 libgcc.x86_64 libstdc++.i686 libstdc++.x86_64 libstdc++-devel.i686 libstdc++-devel.x86_64 libXi.i686 libXi.x86_64 libXtst.i686 libXtst.x86_64 make.x86_64 sysstat.x86_64 zip unzip yum install -y binutils.x86_64 compat-libcap1.x86_64 gcc.x86_64 gcc-c++.x86_64 glibc.i686 glibc.x86_64 glibc-devel.i686 glibc-devel.x86_64 ksh compat-libstdc++-33 libaio.i686 libaio.x86_64 libaio-devel.i686 libaio-devel.x86_64 libgcc.i686 libgcc.x86_64 libstdc++.i686 libstdc++.x86_64 libstdc++-devel.i686 libstdc++-devel.x86_64 libXi.i686 libXi.x86_64 libXtst.i686 libXtst.x86_64 make.x86_64 sysstat.x86_64 zip unzip
  
 +groupadd -g 54421 oinstall
  
 +groupadd -g 54422 dba
 +
 +useradd -u 54321 -g oinstall -G dba oracle
 +
 +mkdir -p /home/oracle/oracle19
 +chown -R oracle:oinstall /home/oracle/oracle19
 +</code>
 +
 +Next, edit **/etc/sysctl.conf** and add the following:
 +<code>
 +fs.aio-max-nr = 1048576
 +fs.file-max = 6815744
 +kernel.shmall = 2097152
 +kernel.shmmax = 8329226240
 +kernel.shmmni = 4096
 +kernel.sem = 250 32000 100 128
 +net.ipv4.ip_local_port_range = 9000 65500
 +net.core.rmem_default = 262144
 +net.core.rmem_max = 4194304
 +net.core.wmem_default = 262144
 +net.core.wmem_max = 1048586
 +</code>
 +
 +Next, apply the changes:
 +<code>
 +sysctl -p
 +sysctl -a
 +</code>
 +
 +Edit the **/etc/security/limits.conf** file and add:
 +<code>
 +oracle soft nproc 2047
 +oracle hard nproc 16384
 +oracle soft nofile 1024
 +oracle hard nofile 65536
 +</code>
 +
 +Next, run the installer:  
 +<code>
 +./runInstaller
 +</code>
 +
 +<note>
 +To continue the installation, we should have access to the UI.
 +If the OS does not have an UI, we should add the support for it:
 +<code>
 +sudo yum groupinstall "GNOME Desktop"
 +sudo yum groupinstall "Graphical Administration Tools"  
 +sudo systemctl enable graphical.target 
 +sudo systemctl start graphical.target 
 +sudo systemctl set-default graphical.target 
 +sudo systemctl reboot
 </code> </code>
 +</note>
database/oracle/install-oracle19c-centos7.1698398923.txt.gz · Last modified: 2023/10/27 12:28 by odefta