Monday, June 28, 2021

Oracle 11g Database Installation

 



After Installation the Linux OS

Open the terminal

[root@linux ~ ]#  getent passwd oracle

It will show you root of user

[root@linux ~ ]#  getent group oinstall

[root@linux ~ ]#  df –h   "this command show the partition"

Now we going to the change ownership

[root@linux ~ ]#  chown -R oracle:oinstall /<partition name> exmp- u01
 
[root@linux ~ ]#  chown -R oracle:oinstall /disk1

[root@linux ~ ]#  chown -R oracle:oinstall /disk2

[root@linux ~ ]#  chown -R oracle:oinstall /opt

[root@linux ~ ]#  chown -R 751 /u01

Let set the password oracle user

[root@linux ~ ]#  passwd oracle

New UNIX password:123456

Let switch the oracle user

[root@linux ~ ]#  su - oracle

Now let setup invormental variables
 
[Oracle@linux ~ ]$  vi .bash_profile



export ORACLE SID=prod

export ORACLE BASE=/u01/app/oracle

export ORACLE HOME=/u01/app/oracle/product/11.2.0

export PATH=$ORACLE_HOMAE/bin:$PATH

 

wq!     ‘’for save the file”

[Oracle@linux ~ ]$ cd /mnt/hgfs       “mount the share drive’’

[Oracle@linux ~ ]$ ls

Software

[Oracle@linux ~ ]$ cd Software

[Oracle@linux ~]$ ls


Now you can see the pic there is zip folder do the unzip with path of destination

[Oracle@linux ~ ]$unzip <copy the filename>  -d /opt  “destination folder”

Now file being unzip at the destination folder.


Ø  Now unzip the second file into same destination folder

[Oracle@linux ~ ]$unzip <copy the filename>  -d /opt  “destination folder”

 [Oracle@linux ~ ]$ cd /opt

[Oracle@linux ~ ]$ ls

[Oracle@linux ~ ]$ cd database

xhost  + "this command execute with Root terminal"

[Oracle@linux database ~ ]$ ls

[Oracle@linux database ~ ]$ sh  runInstaller


Now  being installation ….



If you are installing in organization you can choose the update option. for learning no need.


for database installation choose the
Install database Only Option.



next choose single instance database installation.



choose the language option.

Enterprise edition 

next


choose the Group and next.

Next..

Yes and Next







Run this two scrips as a root user.


Finish. 

Let's see the installation directory.

[Oracle@linux ~ ]$cd /u01/app/oracle/product/11.2.0

[Oracle@linux ~ ]$ls -lrt

This is end of database installation  ….













No comments:

Post a Comment