Contents
Purpose and important notes........................................................................................................ 2
Prerequisites................................................................................................................................. 2
Downloading Software .................................................................................................................. 2
Oracle Virtual Box Network setup .................................................................................................. 2
Server Installation Screens............................................................................................................. 3
Login to Server.............................................................................................................................. 6
Network Setup.............................................................................................................................. 6
SSH Login Check............................................................................................................................ 7
Hostname setup............................................................................................................................ 8
Resolv Config File setup................................................................................................................. 8
Repository Setup........................................................................................................................... 9
Package Installation Test ............................................................................................................... 9
Purpose and important notes
      This article is a part of the main article sharing a plan or method to learn about CentOS,
       Debian, SUSE, Oracle and Ubuntu in a short time. Therefore making yourself strong with
       various Linux derivates for your carrier in IT! I Love Linux, but do not hate Windows
      This is a manual way to set up the CentOS Server in an Oracle Virtual Box and not using the
       automated way of installing server using Vagrant or any other tools or software
      The good basics of setting up a VM is vital for a good understanding how virtualization is
       used. For example, network set up and minimum memory etc used
      The plan is to follow the steps required to prepare a Linux server for an Oracle Database
       installation, but no need to install Oracle Database. In the section 'Prepare for Oracle
       Database' gives you the details
Just a part of the screen was taken as snapshot that is important to avoid more screens and space
Prerequisites
We/you need to have basic understanding of Oracle Virtual Box download on your system and
attaching ISO to start installation
Downloading Software
http://isoredirect.centos.org/centos/7/isos/x86_64/
In this article CentOS 7 used which you can download from the above link with the mirror. In my case
it is DVD ISO of 4 GB
Oracle Virtual Box Network setup
Two network cards used: 1) Host only (static) and (2) NAT Adapter for connecting to internet from
the server
Server Installation Screens
No NTP Setup in my case
No Network Time selected and click on settings Wheel
Enter to accept license! C to continue- a cross checked for accepting licence
Login to Server
Network Setup
We add 192.168.56.1 in the resolv.conf with --- namesever 192.168.56.1 -- shown below
Check the network for Static is showing up or not with the below command
In my case the 192.56.168.107 static network
If network card does not come up then as root user or with sudo /sbin/dhclient
~]# dhclient
SSH Login Check
Open a Putty session and check
Hostname setup
Resolv Config File setup
Repository Setup
~]# more /etc/yum.repos.d/CentOS-*
No major changes needed with CentOS7 for repository. The location of file is just for information
Package Installation Test
Prepare for Oracle Database
We will just perform the steps required on Linux side to prepare it for Oracle Database Installation
How can that help ? Oracle Database installation requires quite enough number of steps on the
server side which makes us understand Linux better
On the below links it is already clear what we have to do
https://oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-7
Start from 4.1 Operating System Requirements
https://docs.oracle.com/cd/E11882_01/install.112/e24326/toc.htm#BHCHGDIE
What's next ?
We come to a question, is that all I have to do to learn Linux with that example?
Obviously no!
The next one is prepare the Linux server for RAC Installation
https://oracle-base.com/articles/12c/oracle-db-12cr2-rac-installation-on-oracle-linux-7-using-
virtualbox
Hence, we can start with two new servers or just with this initially by following NFS and DNS Setup