Linux系统——VMware克隆

克隆VMware

1、 关闭防火墙

2、 关闭selinux

3、 删除UUIDMac地址

4、清空网卡缓存

5、关机

=====================

关闭防火墙

#service iptables stop

#chkconfig iptables off

======================

关闭selinux

#setenforce 0

#vim /etc/sysconfig/selinux

enforcing改为disable

=======================

删除UUIDMac地址

#vim  /etc/sysconfig/network-scripts/ifcfg-eth0

整行删除UUIDMac地址

bootproto改为DHCP,自动匹配IP,子网掩码

================================

清空网卡缓存

#>/etc/udev/rules.d/70-persist-net.rules

===================================

关机,右键克隆

 

修改主机名

1、临时修改主机名

hostname ""

bash

2、永久修改主机名

vim /etc/sysconfig/network

更改主机名HOSTNAME=""

 

posted @ 2018-10-23 11:33  daisy118  阅读(153)  评论(0编辑  收藏  举报