安装centos虚拟机

1.安装虚拟机
选择桥接网络
选择web开发  基本开发工具
 
2.配置网络
vi /etc/sysconfig/network-scripts/ifcfg-enp03
onboot=yes
 
重启 
systemctl restart network.service
ifconfig 
 
windows中配置虚拟机ip
批处理
@echo off
notepad "%systemroot%/system32/drivers/etc/hosts"
posted @ 2017-08-15 17:34  anybus  阅读(142)  评论(0编辑  收藏  举报