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 NetGovern configuration wizard.
- 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:
- Enter the following command to access the Centos Network Manager:
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.
- 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:
- Enter the following command to verify that the hostname has changed:
- 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 :
- 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:
The index sever is now bootstrapped.