VirtualBox安装centos6.6
VirtualBox安装centos6.6
1.创建虚拟机
2.选择镜像
3.选择第一行
4.选择skip
5.Next
6. 选择第一个
7.选择 Yes, discard any data
8. 创建密码
9. 选择Use Anyway
10. 选择第二个
11.选择Write changes to disk
12.选择Minimal
13. 重启
14. shutdown -h now 关机
15. 管理-主机网络管理器-创建-启用
16. 网卡1
17.网卡2
18.修改配置文件
cd /etc/sysconfig/network-scripts/
vi ifcfg-eth0 修改ONBOOT=yes
19.复制一份ifcfg-eth0 修改为ifcfg-eth1
20.重启 reboot 即可ping 外网