How To Install Oracle Database 11gR2 On Oracle Linux 7 VMware Workstation
How To Install Oracle Database 11gR2 On Oracle Linux 7 VMware Workstation
VMware Workstation
We have installed Oracle Linux 7 in previous post. Now we are going to install Oracle database 11gR2 on
Oracle Linux 7 for practice purpose.
First we need to install prerequisites for Oracle database 11gR2 on Oracle Linux 7.
Start your Oracle Linux 7 VM and login with the user oracle we have created during installation.
Open Terminal
Press y and hit enter to install. This will take some time to complete.
Now we are ready to install oracle database 11gR2 on Oracle Linux 7.1
Download Oracle database 11gR2 for Linux x86-64 from Oracle, You need oracle account to download
the database software.
If you have support account then you can download 11.2.0.4. I recommend to install 11gR2 11.2.0.4 on
Oracle Linux 7.1.
After Download extract 11gR2 files and you will have a folder named "database"
Open terminal and browse database folder. and run following command to start the installer.
[oracle@ol7 database]$ ./runInstaller
In few moment you will see following. Enter your email address and password if you have Oracle support
account. Click Next
Click Next
Oracle will check minimum requirements for database 11gR2 on target system. I have face 2 warnings.
You may fix these warning by installing the missing packages or ignore all as this is just a test
environment. I am going to ignore these 2 missing packages as they will not effect installation.
Click Ignore all and click Next
Click Install
Setup started.
Click Close, We have successfully installed Oracle Database 11gR2 11.2.0.4 on Oracle Linux 7.1
To Use Default HR schema we have to connect to sqlplus. Open terminal as Oracle user and run
following command to connect to database. First we have to connect as SYSDBA to activate HR User.
[oracle@ol7 ~]$ sqlplus
Enter user-name: sys as sysdba
Enter password:
we have set the password "oracle" during setup. Enter the password and you will see.
--------26-NOV-15
In case you restarted your machine you have to start the database manually. just connect via sqlplus
as sys as sysdba and run command as follows and you will see Database mounted
You can use SQL developer or Toad for Oracle instead of sqlplus to play with database. We will configure
TOAD and SQL Developer in Next post.
Cheers-:)