VMware clones the virtual machine and modifies the necessary settings

VMware clone virtual machine and modify related necessary settings

Insert picture description here

One, modify the host name

vim /etc/hostname
bigdata3

Two, modify the IP address

The ip address of bigdata2 is 192.168.239.132, and the ip address of bigdata3 is set to 192.168.239.133

vim /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static
NAME=ens33
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.239.133
NETMASK=255.255.255.0
GATEWAY=192.

Guess you like

Origin blog.csdn.net/zhengzaifeidelushang/article/details/114571673