Oracle Linux 7 (update 8) installation guide
This article provides a step by step guidance for performing a basic installation of Oracle Linux 7 (x86 64 bit)
​
​
Server Installation:
​
-
Ones the ".iso" image is loaded and machine starts, below is the first screen you will see.
-
Hit on "Return" (Enter)
​
​
​
​
​
​
​
​
​
​
-
Choose English (United States)
-
Click "Continue"
​
​
​
​
​
​
​
-
Click on "Installation Destination" (Under SYSTEM)
​
​
​
​
-
You should see below window and you may just have to click on "Done". By doing this, you will be choosing "Automatically configure partitioning"
-
Hard disk size and name information will appear by default and this is picked up while setting up the VM machine.
​
​
​
-
Then click on "Software Selection" (Under SOFTWARE). You will see below screen by doing this.
-
Choose "Server with GUI" from Base Env. And "Compatibility Tools" and "Development Tools" from Add-Ons.
​
​
​
​
​
-
Click on "Begin Installation"
​
​
​
​
​
​
-
While the installation begins, you will get a screen that prompts for setting a "ROOT" password and also create an Administrator ID as well.
​
​
​
​
-
Once the password setup and user creation is done, it should look like below.
​
​
​
-
Once the installation is done, click "Reboot".
​
​
​
​
-
Accept license agreement.
​
​
​
​
​
​
-
Choose the language you want. I have chosen English.
​
​
​
​
​
​
​
​
-
Choose the Keyboard layout, click "Next"
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
-
Location services is not required. Turn it off.
​
​
​
​
​
​
​
​
​​
-
Skip
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
-
All good. We have successfully installed and logged into our Linux server's Desktop. Reboot the server ones.
​
​
​
​
Network Config:
-
Let's configure the network. Click on Applications --> System Tools --> Settings
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
-
Click on edit Settings.
-
For standalone database server you should see only 1 Ethernet. Below screen shows 3 Ethernet ports which we will be using for RAC installation.
​
​
​
​
​
​
​
​
​
​
​
​
​
​
-
Click on "IPv4" and lets setup manual IP configuration
-
Here 192.168.56 is our subnet from the initial adapter configuration we did while setting up VirtualBox VM.
-
Choose the Address, Net-mask & Gateway as shown in the below screen shot. You may choose to change IPs as you wish. Make sure you use right subnet and gateway configuration.
-
Populate DNS as 192.168.0.10.
-
Click on "Apply"
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
-
Make sure "Connect automatically" is enabled so every time server reboots, it reserves this IP address.
-
Click "Apply"
​
​
​
​
​
​
​
​
-
Open Terminal --> su -
-
systemctl restart network --> This restarts network adaptor in your server.
-
ifconfig --> You should be able to see allocated IP.
-
You can also open a Putty from your desktop and try to connect to the server
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
Firewall:
​
We may not need firewall for our Lab setup so let's disable it.
​
$ systemctl stop firewalld
$ systemctl disable firewalld
​
SELinux:
​
Security-Enhanced Linux (SELinux) is a security architecture for Linux® systems that allows administrators to have more control over who can access the system. For us to install Oracle software, we may have to ease out this security layer.
​
To do this edit the file "/etc/selinux/config" file.
Set the flag as "permissive"
​
SELINUX=permissive
​
SSH:
​
Make sure the SSH Deamon is started and enabled.
​
$ systemctl start sshd.service
$ systemctl enable sshd.service
​​