Chinaunix首页 | 论坛 | 博客
  • 博客访问: 400962
  • 博文数量: 147
  • 博客积分: 5400
  • 博客等级: 大校
  • 技术积分: 1380
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-12 20:29
文章分类

全部博文(147)

文章存档

2013年(1)

2012年(44)

2011年(5)

2010年(4)

2009年(22)

2008年(71)

分类: LINUX

2012-03-15 19:45:08

在建立虚拟机的时候网卡选择默认的即可,本人在安装时选择旧版网卡适配器时,在安装完毕后出现网络不通的情况。

安装结束后在编辑Ubuntu Server中的文件/etc/initramfs-tools/modules,在文件末尾添加配置行:
hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc
4. 运行update-initramfs,并reboot系统
# sudo update-initramfs –u
# sudo reboot

网卡设置:
edit /etc/network/interfaces and add the following to the end of the file

For DHCP (what I did):

auto eth0 
iface eth0 inet dhcp

For a Static IP address:

auto eth0 
iface eth0 inet static 
address [insert your IP address] 
netmask [insert your netmask] 
Gateway [insert your gateway address]


阅读(968) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~