修改 hosts文件 添加ip

vi  /etc/hosts

virturebox 复制虚拟机

重启服务 shutdown -h now
 

管理--导出虚拟电脑-保存到本地

virturebox 复制虚拟机

管理导入虚拟电脑- 选择导出的文件 重命名 102

打开虚拟机 指定IP地址

cd /etc/sysconfig/network-scripts/

vi ifcfg-enp0s8

virturebox 复制虚拟机

重启网络:service network restart

 

相关文章:

  • 2021-12-25
  • 2021-10-15
  • 2021-07-02
  • 2021-10-15
  • 2021-12-07
  • 2022-01-27
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2021-07-02
  • 2021-11-04
  • 2021-09-10
  • 2022-01-13
  • 2021-12-08
  • 2021-11-07
  • 2022-12-23
相关资源
相似解决方案