Installing Oracle XE on CENTOS 7.5



Setup CENTOS 7.5 on cloud and install basic tools.

yum install nano -y

yum install unzip -y

yum install bc -y

yum install wget -y


Oracle XE required SWAP files for setup


First you need to check current swap file.

swapon -s

Next check available space.


# Create 2GB swap file

dd if=/dev/zero of=/swapfile bs=1024 count=2048kmkswap /swapfileswapon /swapfile


echo "/swapfile swap swap defaults 0 0" >> /etc/fstab

hown root:root /swapfile chmod 0600 /swapfileset


Next Download 

Oracle XE express

rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm

Next run the configuration script#

/etc/init.d/oracle-xe configure



To prevent TNS error during OCI_CONNECT.

sebool -P httpd_can_network_connect 1 

Installing Oracle XE on CENTOS 7.5 Installing Oracle XE on CENTOS 7.5 Reviewed by Admin on 6:15 AM Rating: 5

No comments:

Powered by Blogger.