CONFIGURING CENTOS 7 STATIC IP PATCH
Are patch updates for MySQL and other software included with new builds?.Are all included software packages patched to the latest version?.How often are builds and releases pushed out and how?.Metric Insights Virtual Machine disk space expansion.
CONFIGURING CENTOS 7 STATIC IP HOW TO
How to move the MI app from the /opt directory to a new location.Deploying a 'warm-standby' environment for Metric Insights.Note, if the network administrator has restricted internet access from the NAT network, you will be unable to ping the internet. Also, you can check for Internet access from the VM by pinging an external website like. You should be able to reach the Metric Insights UI now by entering the IP in your web browser. TX packets:10365 errors:0 dropped:0 overruns:0 carrier:0 RX packets:10365 errors:0 dropped:0 overruns:0 frame:0 TX packets:69689 errors:0 dropped:0 overruns:0 carrier:0 RX packets:200197 errors:0 dropped:67 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 6.) To apply the network changes, enter the following command:ħ.) After the network service restart you can confirm the static IP has been applied to the VM by running:Įth0 Link encap:Ethernet HWaddr 20:89:84:c8:12:8a Note, the new hostname will only be applied after a system reboot. # vim /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4ġ92.168.90.1 company_ The VM will try the second one in case the first nameserver is unreachable.ĥ.) Add the IP and hostname in /etc/ hosts: You can add two or more nameserver entries. This can be done in /etc/ nf:Īdd or edit the following nameserver entries: nameserverĘ.8.8.8
You do not have to edit the other lines.Īdd the following entries: NETWORKING=yesĤ.) After configuring the IP, we now need to configure DNS. Only the parameters BOOTPROTO, IPADDR, NETMASK, and GATEWAY have to be adjusted (or added if missing). # vim /etc/sysconfig/network-scripts/ifcfg-eth0Ģ.) Make the following changes to ifcg-eth0 in the vim editor: DEVICE="eth0" # cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak Ensure you have the static IP, gateway, and netmask to properly configure the VM:ġ.) From the command line, make a backup of the network card file ifcg-eth0 or ifcg-enp0s3 in /etc/sysconfig/network-scripts/ then proceed with making changes to either file (the file repesent depends on the CentOS release): To set up a Static IP, please follow the steps below in the VM.