How to Install Oracle 12c R2 Database on Ubuntu 18.10 Cosmic 64-bit Easy Guide

March 17, 2019 | By thelinuxevangelist | Filed in: Tutorial.

Making Network Configuration

  1. 6. Making Network Setup

    Next Make Network Configuration

    First, Get hostname with:

    hostname

    And to Get IP:

    /sbin/ifconfig

    You will Find it Under the lo >> inet Section.

    Check if Hostname is Already into the Enabled Hosts File:

    cat /etc/hosts

    If It’s Not Present then Insert it with:

    sudo nano /etc/hosts

    Insert: [ip] [HOSTNAME] as here below.
    Example for a Local Setup: ‘127.0.0.1 localhost.localdomain’
    Ctrl+Shift+c to Copy from Shell.

    Ctrl+Shift+v to Paste Content into nano
    Finally, Ctrl+x to Save and Exit from nano Editor :)

    Again to Grant Connection to X Server do:

    sudo xhost +[myIP]

    Replace [myIP] with your actual one.
    Example: # xhost +127.0.0.1


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,