Skip to main content

Installing Oracle 12c in Ubuntu

This process has been tested on Ubuntu desktop 16.04 and 16.04.4. It should work for other versions too, but it is not guaranteed. SO first thing in this installation process is to download the Oracle 12c zip file from its website Oracle . This file will be around 3 GB so it's going to take some time. The next thing would be to download the mandela.sh file(courtesy of Howard Rogers). This file will create a new user in your system, download all necessary packages and change settings so that Oracle can run. It will take more than an hour for this to complete the execution so be patient. Give the name of the user you want to run Oracle on and his password(remember these). When this is done restart and login to the new user.

The new user is not sudo user. We will give the user root privileges when installation is done. Now extract the installation file which we have downloaded at starting of the process.
 cd database/runInstaller 
The above command will start the installation of the Oracle. It will run some prechecks, press enter when its done to start the setup wizard. If you have don't have the key or don't want any emails from the oracle just uncheck the box and press next. Choose Install and Configure the database on the next screen. We will be installing Enterprise edition of Oracle database. Enter the usernames and passwords in the next two screens. Remember these passwords as you will need them to access admin account and the user account where Oracle will be installed.

Comments

Popular posts from this blog

SETTING UP THE ENVIRONMENT

SETTING UP THE ENVIRONMENT The following instructions are for Linux(Ubuntu) Operating System only. The most popular distribution among data scientists is Anaconda. Anaconda is a distribution of packages like python, Jupyter Notebook,  IDE Spyder for python etc. In anaconda, you can create virtual environments to install required packages for a specific project. This way you can avoid dependency collisions between projects.You can download anaconda from the website . After downloading the file execute the command to start the installer. ./file.sh Anaconda asks if Path should be added to path variable at end of the installation. If you have answered no to that anaconda-navigator command won't work in the terminal. We should give entire path when executing the command. To add path open .profile file using vi .bashrc from home. To check if the file exists use ls -a command which displays hidden files. Add the following line at the end of the file. If you get an overwr...