Wednesday 16 September 2015

Installing Oracle Linux 7

Had to install a new Oracle Linux 7 server to replace a current oracle server that is having problems. I used THESE instructions to do it:

Oracle Linux 7 (OL7) Installation

This article provides a pictorial guide for performing a basic installation of Oracle Linux 7 (OL7).

Basic Installation

  1. Boot from the DVD. Use the up arrow to pick the "Install Oracle Linux 7.0" option and hit the return key.
    Boot
  2. Select the appropriate language and select the "Set keyboard to default layout for selected language" option, then click the "Continue" button.
    Language
    Click the "I want to proceed." button on the pre-release software warning screen.
  3. 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.
    Installation Summary
    Click the "Installation Destination" link.
  4. If you are happy to use automatic partitioning of the whole disk, click the "Done" button to return to the previous screen.
    Installation Destination
    If you want to modify the partitioning configuration, click the "Continue" button and work through the partitioning screens.
  5. 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.
    Software Selection
  6. Once you have completed your alterations to the default configuration, click the "Begin Installation" button.
    Installation Summary
  7. Click the "Root Password" link.
    Configuration
  8. Enter the root password and click the "Done" button.
    Root Password
    Click the "User Creation" link.
  9. Enter the user details and select the "Make this user administrator" option, then click the "Done" button.
    Create User
  10. Wait for the installation to complete. When prompted, click the "Reboot" button.
    Configuration
  11. 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.
    Initial Setup
  12. Decide if you want to use Kdump and click the "Forward" button.
    Kdump
  13. 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.
    Set Up Software Updates
  14. Click the "Forward" button.
    Finish Updates Setup
  15. On the sign-in screen, click on the user you want to log in as.
    Log In
  16. Enter the password and click the "Sign In" button.
    Sign In
  17. Accept the language by clicking the "Next" button.
    Welcome
  18. Accept the input sources by clicking the "Next" button.
    Input Sources
  19. Connect to existing data in the cloud, or just click the "Next" button.
    Online Accounts
  20. Click the "Start using Oracle Linux Server" button.
    Thank You
  21. You are now presented with the console screen.
    Console

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.
    Network
  • 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.
    Network Devices - IPv4
  • Close the "Network" dialog.

Customizing Software

  • You can customize the installed packages using the "Software" dialog (Applications > System Tools Software).
    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
For more information see:

No comments:

Post a Comment