Bootstrapping the Index Server

Now that you have already deployed a virtual machine for the index server, you have to bootstrap the server in the VM console in order to prepare it for the configuration wizard.

How to Bootstrap the Index server

  • In the VM console, open a command window and boot up the index server using your login credentials.
  • Enter the following command to access the root user:
  • sudo su
  • Enter the following command to access the Centos Network Manager:
  • nmtui
  • NOTE
    If you prefer to edit files manually after Network Manager automatically updates the settings, you can perform manual edits after quitting Network Manager.
  • Select Edit a connection.
  • Select and edit the Wired connection.
  • Change the IPV4 Configuration to Manual. Click Show.
  • Add the IP address with the subnet mask for the CIDR. In the example shown below, /24 network is used.
  • IMPORTANT
    The IP addresses assigned, cannot be changed. IP changes require redeployment.
  • Add the gateway IP address.
  • Add at least one DNS server address.
  • Return to Set system hostname. Set the system host name and exit the Network Manager.
  • Now that the networking and hostname are configured, return to the VM console and enter the following command to restart the network:
  • systemctl restart systemd-hostnamed
  • Enter the following command to check if the network is configured correctly:
    ifconfig
  • Enter the following command to verify that the hostname has changed:
    hostname
  • Enter the following command to update the host file with the hostname and IP address:
    echo -e `hostname -I`'\t'`hostname -s`'\t'`hostname` >> /etc/hosts
  • Use the following command to verify that the configuration was successful :
    cat /etc/hosts
  • The following results indicate that configuration is successful.
  • Ping the default gateway to verify that the networking is working:
  • ping (gateway address)
  • Ping Google to verify connectivity to the internet:
  • ping google.com
  • The index sever is now bootstrapped.