This document describes how to prepare a host machine for installing ICG version 1.04.100. In this example, plain Ubuntu server 18.04. LTS - 64-bit is used.

Setting up a User and Becoming Root

  1. Create first user with a name of your choice. On the Ubuntu server, the first user created is the one who is allowed to do sudo.

  2. Enter sudo su and the user password to become a system administrator (root).

Setting a Static IP Address

You can either use DHCP to set a static IP address or configure the IP address on the server via Netplan using a YAML description of the required network interface.

To set a static IP address via Netplan:

  1. Enter ip addr to find out the name of the network interface.

    In the above example, the network interface name is ens160.
  2. To disable the network configuration capabilities of cloud-init, write a file: nano /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg 

    with the following contents :
    network: {config: disabled}

  3. Save the file by pressing [Ctrl] + [O] and then [Enter].
  4. Press [Ctrl] + [X] to quit the editor.
  5. Create the YAML file: nano /etc/netplan/01-static.yaml

    When editing YAML:

    • use two spaces to indent lines
    • leave no spaces or tabs at the end of lines
  6. Save the file and quit the editor.
  7. Apply your configuration with netplan apply. Take note of any error messages.

  8. Use the command ip addr to check whether the IP address has been set successfully.

Installing Python 2.7

Python 2.7 is needed for the remote installer.

To install Python 2.7:

  1. To start the installation, enter sudo apt-get install python2.7-minimal (if you are logged in as root, skip sudo)
  2. Create a symbolic link to Python 2.7:
    cd /usr/bin
    sudo ln -s python2.7 python2