Saturday , November 25 2017
Home / Oracle DBA / Installation of Oracle 11g software on Linux

Installation of Oracle 11g software on Linux

Step 1: Create required groups & users. oinstall is a primary group and dba is a secondary group.

[root@ssss4 ~]# groupadd oinstall
[root@ssss4 ~]# groupadd dba
[root@ssss4 ~]# useradd -m -g oinstall -G dba oracle
[root@ssss4 ~]# mkdir -p /u01/app/oracle
[root@ssss4 ~]# chown -R oracle:oinstall /u01/app/oracle
[root@ssss4 ~]# chmod -R 775 /u01/app/oracle

-m is used to create home directory for user

-g is used define primary group for a user, here primary group is oinstall

-G is used to define secondary group for a user, here secondary group is dba

-p  is used to created nested directories. -R means  recursively

Step 2: Create Oracle_Home and Oracle Inventory directories and provide full access and permissions.

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


Step 3: Installing Oracle 11g software:

Download the software and connect terminal with ORACLE user. Within the Database folder, you will find the “runInstaller”. Execute this file with a command “./runInstaller” from the Database folder. Before executing runInstaller, we need to execute “xhost +” command in ROOT user to allow terminal to launch GUI tools.

Once you execute runInstaller, below screen will appear. Perform following steps:





==> Uncheck “I wish to receive security updates via my oracle support” option.

==> click on NEXT.

==> then click on YES.


===> click on NEXT.

==> SELECT “Install database software only” in case if you want only software to be installed. If you want to configure database also, select “Create and configure a database” option. “Upgrade an existing database” is used if you have older version of database and you want to upgrade it to this version.

==> click on NEXT.

==> SELECT “Single instance database installation”.

==> click on NEXT.

==> SELECT product language as English.

==> click on NEXT.

==>  SELECT database edition you want to use. I have selected “Enterprise Edition” which is the higher edition.

==> click on NEXT.


==> SELECT operating system DBA group as dba

==> click on NEXT.

==> Select “Ignore All” option and proceed.

==click on NEXT.

==> Verify oraInventory directory as we have created earlier

==> oraInventory group name should be oninstall.

==> click on NEXT.



==> Check summery and then click on INSTALL.


==> installation is under processing. Wait for some time.


==> End of  installation we will be asked to execute below two scripts. Execute them in ROOT user.

  1. /u01/app/oraInventory/
  2. /u01/app/oracle/product/11.2.0/db_home/


==>  open the bash profile

==> then run the bash_profile  .

==> CONFIGURING  bash_profile.








Check Also

How to perform RMAN cloning (Easy process to clone a database on different server)

Cloning is a process of making a separate copy from one database to another. Cloning …

Leave a Reply

Your email address will not be published. Required fields are marked *