I'm trying to teach my self linux right now and right now I'm trying to install a LAMP server on my VM using CentOS 7.
I already configured the network scripts and added the following lines but I'm not really sure if IPADDR, GATEWAY, DNS1 and DNS2. I'm running on Ubuntu and should the IPADDR on my local machine be the same on my virtual machine and how about the DNS what should I input?
Code: Select all
IPADDR=
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=
DNS2=
Code: Select all
/etc/sysconfig/network-scripts/ifcfg-eth0