克隆注意事项
1.更改IP地址 更改Hsotname(主机名) 更改域名映射 然后Reboot
2.在Windows中更改域名映射 位置为:C:\Windows\System32\drivers\etc/hosts
3.在主节点 的workers文件中 添加 linux n
4.删除linux n 的原有秘钥(因为机器是克隆别人的) 删除.ssh文件夹(在隐藏文件夹中) 生成新的密钥 发送到其他虚拟机当中 将其他虚拟机上的密钥也发送到linux n 中 (scp etc/hosts linux01:$PWD) 配置一台 然后发送到其他节点上去
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-tHnd5Bay-1601362372861)(C:\Users\jiayue\AppData\Roaming\Typora\typora-user-images\1597492439060.png)]](https://img-blog.csdnimg.cn/20200929145353466.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NzY4MTg1NQ==,size_16,color_FFFFFF,t_70#pic_center)