一.设置静态IP二.修改主机名字hostnamectl set-hostname 修改的名字三.配置虚拟映射 vi /etc/hosts四.1.linux的网络配置2.配置虚拟机的ip点击属性配置完重启一下reboot