VMware install replication and network configuration Hadoop (2) the virtual machine

Copy a virtual machine

(1) on the choice you want to clone a virtual machine "right" -> "Manage" -> "clone"

 

(2) Click "Next"

 

 "The current state of a virtual machine" (3) Select and click "Next"

 

 (4) Select "create a complete clone", then click "Next"

 

 (5) can be modified "Virtual Machine Name" and "virtual machine installation location" and then click "Finish", so that the cloned virtual machine is complete

 

 Second, the virtual machine network configuration

(1) Input

vi /etc/sysconfig/network-scripts/ifcfg-ens33

 

 Red circle should be

BOOTPROTO=static

IPADDR=192.168.56.110

NETMASK=255.255.255.0

GATEWAY=192.168.56.10

ONBOOT=yes

(2) set up a virtual machine DNS

we /etc/NetworkManager/NetworkManager.conf

Add a line dns = none

Then restart your network management: systemctl restart NetworkManager.service

Modify the DNS configuration file vi /etc/resolv.conf nameserver 192.168.56.10

Finally restart the network service network restart

www.baidu.com can ping to ping is configured successfully.

 

Guess you like

Origin www.cnblogs.com/w-21/p/11569256.html