I must thank my fellow DBA Rodrigo Mufalani for his publication in Portuguese OTN.
Throughout my career as a DBA, I had to do hundreds of Oracle installations on virtually all supported Operating Systems, sometimes for testing, even some not supported by Oracle. My vision is that installing Oracle in a Linux environments has improved a lot over the years and various features have been incorporated into every released OS. In this article I will show you how very simple and quick to install Oracle 12cR2 Enterprise edition, continuing the article where I showed the installation of Oracle Enterprise Linux 7.1 64 bits.
Host machine configuration:
8 GB Ram memory
Processor Intel Core i5 2.7 GHz
MacOs Sierra 10.12
Virtual Machine Configuration:
Virtual Box 5.1.8 for MacOS (Can be for any Operating System you are using)
Virtual machine with 2Gb Ram memory
12 Gb virtual machine disk (vdi)
Additional disk for installing Oracle 25Gb (vdi) – Only RDBMS installation occupies 12Gb
To start our installation we will do some steps that configure the OS, which are very simple installing a package through yum, previously all these settings had to be done manually. It is worth mentioning that the configuration is generic, so revising the values does well if you are installing a production environment and may have some specificities that are not well configured by the default values. Here’s what you needed to set up before:
- Kernel parameters;
- Memory parameters;
- Creation of users in the OS and some groups;
- Installing various packages and libraries (this step done here with rpm was the terror of any OS analyst, it was a huge hassle);
Now that you know how much time will save, let’s start the work !!!
As in the installation I did not configure the name of the virtual machine, so it was localhost and this is not cool, so let’s configure the hostname with the command below:
[Root @ localhost] # hostnamectl set-hostname
Now after the rename has succeeded, after closing and opening the terminal it already has the correct name: