Install oracle software



Hello there!! Please continue the below tutorial after successfully installed the Linux VM

Create the oracle user for specifically for this installation

Step1.Create a user called ‘oracle’  and assign a password.
Step2.Create oracle base like below,
Step3.Give permission to all the directories
Note: -p, -R denotes for all the directories inside /u01
Step4.Make ‘oracle’ user as the owner of /u01 like below,
Step5. Login as oracle user
Step6. Create a bash profile. It helps to know oracle commands from Linux and it locates the directories.

PATH=$PATH:$HOME/bin

export PATH
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=oracle685220.localdomain; export ORACLE_HOSTNAME
ORACLE_UNQNAME=ORCL; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.1/db_1; export ORACLE_HOME
ORACLE_SID=ORCL; export ORACLE_SID
PATH=/us1/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASS_PATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib export CLASS_PATH

Step7. Insert Oracle database software CD by using Device – insert in VMware. ( do it in root user)
Step8.  Move the /dev/hdc to /media/dvd to install the software. Install vboxlinuxadditon by clicking the ‘install guest addition’ option from Devices. It’s to get the features like moving mouse pointer across the machines, etc.
Step9. Mount the database .iso file move it to /media/dvd/ and start installation like below,
Step10.  You will get the below error if you run in the root user. So su – oracle user and start,
Instead, copy the database directories to local disk and do start.
Unmounts the disk and run installer,
If u get an error like above,
Try giving xhost + local:all in root and run the installer,

Don’t proceed further unless gets succeeded in packages installation. 
Try to install all the packages or install oracle_validated
Click ‘fix & Check again’ and run the script in the root. It’s because,
we haven’t run oracle_validated packages.
Run the above 2 scripts

Check the below steps and confirm the oracle config,


Please follow the next article for Database creation. Thank you!


Recent Posts

  • Cloud SQL
    What is Cloud SQL  It is a fully managed relational database service for PostgreSQL and MySQL database in the GCP. MySQL instance can be...
    May 17 2020 | Read more
  • Deploy an application to Google Kubernetes Engine
    Welcome back, this is the continuation post of the previous article, where we have discussed the Kubernetes and its concepts in detail. In this...
    May 13 2020 | Read more
  • Google Kubernetes Engine
    What is GKE? GKE is a managed, production-ready environment for deploying containerized applications. It is like a managed cargo container in...
    May 13 2020 | Read more
  • Google App Engine – Flexible
    In the previous article, we have discussed what is google app engine and how to deploy the application in the Google app engine – Standard. In...
    May 10 2020 | Read more