The long wait of a true cloud database is over. A few days ago Oracle released its latest version of trademark Oracle Database 12c. (Most of you must be knowing that c in 12c denotes the base which is considered during the development of it and that is cloud).
The newly added features in this version are listed in this link:
The installation process is not much different than that of previous release 11g. But still its first of the league of 12c, some expect that the installation process must have undergone a major change. I will show you all the steps involved in a basic installation process. At the end of this tutorial, your database server will be up and running and you will be ready to start exploring Oracle database 12c.
Download the latest release from Oracle website. It’s not at all difficult to find. Here is the link to save your milliseconds that you will lose in googling it up :
To download the software, you must have an Oracle account. You will get two zip files which are needed to be extracted in the same folder. I have downloaded the below two zip files. Here I will install the database on Oracle Linux 64 bit.
Extract this zip by the following commands:
These will create a new folder ‘database‘ in your current directory. The executable file ‘runInstaller‘ is present in the database folder.
Run runInstaller to start the installation process :
[ganesh@ganesh-pc database]$ ./runInstaller
- Execution of runInstaller launches a beautiful glossy startup logo.
- First the setup will ask you to configure your email id for security updates. It is a non-mandatory step.
- If you wish to not receive the security updates, the system will throw you a warning.
- You can download the lates updates before the installation if the installer that you are using is not latest.
- Next we will select create and configure a database.
- As I am doing installation on my laptop, I will select Desktop class. For production environments, it is highly recommended to use Server class.
- Next step will ask you the installation configuration like ORACLE_HOME, ORACLE_BASE, ORACLE_SID and password.
- If you provide a weak password, the setup will throw a warning.
- Next the system will perform prerequisite checks on your system. It shows the missing packages if there are any and any other operating system level missing stuff. e.g. in the below screenshot, the swap size is less than what is required for the installer to complete its job correctly.
- Click on check again to after completing all the prerequisite checks
- Verify all the details on the Summary Screen. Click on the Install button to start the writing changes to disk.
To increase the swap size on my machine, I created a file of size 6GB and allotted it to the swap area. Here are the commands:
> dd if=/dev/zero of=/root/swapfile bs=1M count=6144
> ls -l /root/swapfile
> chmod 600 /root/swapfile
> mkswap /root/swapfile
> swapon /root/swapfile
This will create a database instance orcl on your machine which will be listening on port 1521.