in this tutorial we will show you how to install Oralce 12 in Centos 7.  this  setup should  work  on other  Linux dstros  like Rhel7  /Scientific Linux and oracle  Linux. in this   tutorial we  will use Free  oracle database version (XE)

Oracle Database Express Edition (Oracle Database XE) is an entry-level edition of Oracle Database that is quick to download, simple to install and manage, and is free to develop, deploy, and distribute. Oracle Database XE makes it easy to upgrade to the other editions of Oracle without costly and complex migrations. Oracle Database XE can be installed on any size machine with any number of CPUs, stores up to 11 GB of user data, using up to 1 GB of memory, and using only one CPU on the host machine. Support is provided by an online forum. The current version of Oracle Database XE is Oracle Database 11g Release 2.

Download   oracle :

to download  Oracle  you need use and password and its Free and to register on oracle website

Download  oracle database  from here:

System Requirements :

System:   Centos 7  with 4 GB  Ram

Network config 

add  ip and   hostname to /etc/hosts 

cat    /etc/hosts

Configure   sysctl.conf   and  add the following

Add following lines to set shell limits for user oracle in file /etc/security/limits.conf


Install The  dependencies 

Create  oracle user  and add the  following groups 

add  oralce   to the  groups

Chcek  Oracle user  groups

Firewall-cmd and  Selinux 

Set  Selinux to  pemissive    under  /etc/sysconfig/selinux

for  the fire wall   you have the  choice  to disable it   or  to  allow  port 1521 port

Make oracle bash profile

please add  the  follow to  /home/oracle/.bash_profile

create  the next   folders

[root@oraclejointux ~]# mkdir  -p  /u01/app/oracle/product/
[root@oraclejointux ~]# chown -R oracle:oinstall /u01
[root@oraclejointux ~]# chmod -R 775 /u01

Now  upload   Zip   file  to  Oralce  home folder

unzip   the  file and  run  the  installer



Some times  the setup  asking you  to run some scripts to  fix some issues


Finally you get something like this :


lets  see  if  we  can  login  on http://hostame:5500/em

you are  more then welcome  :

Lets  make  small  text  to check if  your  database is  fully    started.

Check  the  Database listening port  : 1521

Check  Listenr  status




Please enter your comment!
Please enter your name here