Configuring the Network Environment
In this step you will configure network settings for each virtual machines.
| 1. | Log in to each VM, use root as login ID and password. |
| 2. | Configure each VM with a static IP, Gateway and DNS server. |
| 3. | Set a static IP on CentOS as follows: |
| a. | #ssh into the appliance and run the following command: |
vi /etc/sysconfig/network-scripts/ifcfg-ens160
| b. | Select I for insert mode. |
| c. | Modify the following fields: |

| d. | To save the settings, click Esc and :wq, then click Enter. |
| e. | For the settings to take effect, use the following command: |
service network restart
| 4. | For your appliance to access the internet define a nameserver using lower case alphanumeric characters. |
Note
This step must be performed prior to Deploying Votiro Cloud
| a. | To open the resolv config file with an editor, use the following command: |
vi /etc/resolv.conf
| b. | Select I for insert mode. |
| c. | At the prompt, enter nameserver <your_dns>. |

| 5. | Test the server. For example, enter Ping google.com.  |
| 6. | To change node names, use the following command: |
hostnamectl set-hostname <VotiroN1>
Repeat this step on all nodes.
Your machines are now configured and connected to your network.
Comments
0 comments
Please sign in to leave a comment.