Oct 25, 2016

How to Prepare Oracle Linux 7 (OL7) Machine for Database Installation


In this article we will provide you a step by step guide for performing a basic installation of Oracle Linux 7 (OL7).







Contents:

  • Basic Installation
  • Network Configuration
  • Customizing Software
  • SELinux
  • Firewall
  • SSH

 

Basic Installation

Boot from the DVD. Use the up arrow to pick the "Install Oracle Linux 7.0" option and hit the return key.

 

Select the appropriate language and select the "Set keyboard to default layout for selected language" option, then click the "Continue" button.

 

Click the "I want to proceed." button on the pre-release software warning screen.

You are presented with the "Installation Summary" screen. You must complete any marked items before you can continue with the installation. Depending on your requirements, you may also want to alter the default settings by clicking on the relevant links.

 

Click the "Installation Destination" link.

If you are happy to use automatic partitioning of the whole disk, click the "Done" button to return to the previous screen.

 

If you want to modify the partitioning configuration, click the "Continue" button and work through the partitioning screens.

It would be advisable to click on the "Software Selection" link and pick the following options if you want a GUI console.
  • Base Environment > Server with GUI
  • Add-Ons for Selected Environment > Compatibility Libraries
  • Add-Ons for Selected Environment > Development Tools
Once you have completed your selections, click the "Done" button.

 

Once you have completed your alterations to the default configuration, click the "Begin Installation" button.

 

Click the "Root Password" link.

 

Enter the root password and click the "Done" button.

 

Click the "User Creation" link.
Enter the user details and select the "Make this user administrator" option, then click the "Done" button.

 

Wait for the installation to complete. When prompted, click the "Reboot" button.

 

Click the "License Information" link. Check the "I accept the license agreement" checkbox and click the "Done" button. When you return to the previous screen, click the "Finish Configuration" button.

 

Decide if you want to use Kdump and click the "Forward" button.

 

Decide if you want to set up software updates and click the "Forward" button. If you chose not to register with ULN, you will need to confirm you decision also.

 

Click the "Forward" button.

 

On the sign-in screen, click on the user you want to log in as.

 

Enter the password and click the "Sign In" button.

 

Accept the language by clicking the "Next" button.

 

Accept the input sources by clicking the "Next" button.

 

Connect to existing data in the cloud, or just click the "Next" button.

 

Click the "Start using Oracle Linux Server" button.

 

You are now presented with the console screen.

 

Network Configuration

If you are using DHCP to configure your network settings, then ignore the following network configuration screens, otherwise click the network icon on the top bar and click the "Network Settings" link. You are then presented with the "Settings" screen. Highlight "Wired", flick the switch to "ON" and click the cog icon at the bottom-right.

 

Click the IPv4 option, select the "Manual" method and enter the appropriate IP address and subnet mask, default gateway and primary DNS, then click the "Apply" button.

 
Close the "Network" dialog.





 

Customizing Software

You can customize the installed packages using the "Software" dialog (Applications > System Tools Software).

 

SELinux

  • If the OS is to be used for an Oracle installation, it is easier if Secure Linux (SELinux) is disabled or switched to permissive. To do this edit the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.

    SELINUX=permissive

    If SELinux is configured after installation, the server will need a reboot for the change to take effect.

 

Firewall

  • If the OS is to be used for an Oracle installation, it is easier if the firewall is disabled. This can be done by issuing the following commands from a terminal window as the "root" user.

    # systemctl stop firewalld
    # systemctl disable firewalld
You can install and configure it later if you wish.

 

SSH

  • Make sure the SSH daemon is started using the following commands.

    # systemctl start sshd.service
    # systemctl enable sshd.service

Post a Comment

 
TECH SUPPORT © 2012 - Designed by INFOSBIRD