User Tools

Site Tools


database:oracle:install-oracle19c-centos7

Install Oracle 19c on Centos 7

The following steps may work also for any redhat based distribution.
yum update -y

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

Next, edit /etc/sysctl.conf and add the following:

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

Next, apply the changes:

sysctl -p
sysctl -a

Edit the /etc/security/limits.conf file and add:

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

Next, run the installer:

./runInstaller
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:
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
database/oracle/install-oracle19c-centos7.txt · Last modified: 2023/10/27 16:27 by odefta