使用Docker的macvlan为容器提供桥接网络及跨主机通讯
摘要:对于了解Docker容器网络的朋友,我想对虚拟机的网络也不会陌生,毕竟我们是跟随这个时代一起学习和进步的人。相比VM,Docker的网络也在逐步走向成熟,本文主要针对其中的macvlan做下简单的介绍。 Why macvlan? 首先我们去对比下VM和Docker中不同的网络,这样会比较清楚。 NA
阅读全文
posted @
2017-07-30 00:48
eshizhan
阅读(9382)
推荐(1)
Extended VM Disk In VirtualBox or VMware (虚拟机磁盘扩容)
摘要:First, Clean VM all snapshot, and poweroff your VM.vmdk:vmware-vdiskmanager -x 16GB myDisk.vmdkvdi:VBoxManage modifyhd --resize And now, go to guest ...
阅读全文
posted @
2014-04-06 18:00
eshizhan
阅读(1019)
推荐(0)
Import VMware ESXi from VirtualBox
摘要:VirtualBox can export appliance VMs to OVF format. And you can import the ovf format to VMware ESXi, however there are some trouble.Unsupported hardwa...
阅读全文
posted @
2013-09-21 20:43
eshizhan
阅读(3204)
推荐(0)
VMware和VirtualBox中的网络适配器类型及虚拟网络性能优化
摘要:最近测试中发现虚拟机的网络性能遇到了瓶颈,于是想一探究竟,发现自己一直忽略了这块儿知识,于是做个笔记。1.VirtualBoxeshizhan比较常用的是VirtualBox,以下简称Vbox,先从它入手:网络适配器查看官方文档发现,Vbox中可以模拟五种网络适配器,AMD PCNet PCI II (Am79C970A);AMD PCNet FAST III (Am79C973, 默认);Intel PRO/1000 MT Desktop (82540EM);Intel PRO/1000 T Server (82543GC);Intel PRO/1000 MT Server (82545EM
阅读全文
posted @
2012-09-23 22:22
eshizhan
阅读(10901)
推荐(3)
VirtualBox 4.2 released !
摘要:从VirualBox 4.2 Beta1 到 VirualBox 4.2 RC4,这时VirualBox最长的一次版本进化,伴随着N多改进,这包括对OS X ML和Win8适配,网络带宽控制,虚拟机分组,剪贴板共享和Drag'n'drop拖拽等期待已久的功能,尤其是Drag'n'drop拖拽,该功能早在六年前[via],社区就有人提出了,但一直没能实现,其实核心代码早已支持(vbox 是 based on QEMU的),只是Addition需要做些处理。另外,这个版本界面也变得更加美观和实用了。Good Job !Changelog: VirtualBox 4.
阅读全文
posted @
2012-09-15 15:22
eshizhan
阅读(508)
推荐(0)
piix4_smbus 0000:00:07.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
摘要:Q:piix4_smbus 0000:00:07.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddrA:lsmod | grep i2c_piix4sudo vim /etc/modprobe.d/blacklist.confblacklist.confblacklist i2c_piix4
阅读全文
posted @
2012-04-11 11:52
eshizhan
阅读(4252)
推荐(1)
压缩虚拟机硬盘(VMDK VDI)大小
摘要:本文只介绍手动压缩方法。1.首先要在Guest系统上,把所有没用的数据写零*NIX,执行:dd if=/dev/zero of=/bigemptyfilerm /bigemptyfileWindows,执行(sdelete.exe):sdelete -c -z C:\2.关闭Guest,开始压缩硬盘文件Virtual Box:VBoxManage modifyhd --compact my_hd.vdiVMware:vmware-vdiskmanager -k my_hd.vmdk[via] [vmware-vdiskmanager_SDelete.zip]
阅读全文
posted @
2012-04-10 22:11
eshizhan
阅读(6530)
推荐(0)
ArchLinux Update
摘要:Q:filesystem: /etc/mtab exists in filesystemA:pacman -S filesystem --force[via]Q:initscrpts: /etc/profile.d/locale.sh exists in filesystemA:mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.old[via]Q:After updating my system, Can't into graphical mode on Virtual BoxA:reinstall VBox Guest Addi
阅读全文
posted @
2012-04-10 21:21
eshizhan
阅读(487)
推荐(0)
在VirtualBox中用U盘引导启动
摘要:命令其实很简单:VBoxManage internalcommands createrawvmdk -filename "%USERPROFILE%"\.VirtualBox\usb.vmdk -rawdisk \\.\PhysicalDriveX其中X为磁盘管理器中U盘的编号,如果你的机器为单硬盘,那么硬盘编号为0,U盘就为1啦,千万不要弄错。启动VBOX,选择模拟好的那块硬盘启动就OK啦。Win7/Vista,一定要在管理员下的干活。有兴趣的童鞋可以看看生成后的VMDK文件:# Disk DescriptorFileversion=1CID=ff985184parent
阅读全文
posted @
2012-04-06 14:27
eshizhan
阅读(5620)
推荐(1)
安装VirtualBox出现Installation failed! Error: 系统找不到指定的路径
摘要:Win7安装VirtualBox出现Installation failed! Error: 系统找不到指定的路径是由于中文账户名引起的,如:C:\Users\小明两个解决办法:1.该用户名,这个麻烦点儿,但很彻底,有注册表修改经验的可参考这篇:如何改变X:\Users\XXX的用户名称。2.加参数VirtualBox-XXXXX-Win.exe -extract ,解压这个包,再到%temp%\VirtualBox文件夹(Win+R,输入%temp%\VirtualBox,Enter)中找对应的文件安装。
阅读全文
posted @
2011-12-04 12:19
eshizhan
阅读(1459)
推荐(0)
How to install VirtualBox Guest Additions in CentOS 6(在CentOS中安装VirtualBox增强功能)
摘要:Q:The headers for the current running kernel were not found.error in /var/log/vboxadd-install.log/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make againA:安装缺少的包,并创建一个符号链接就可以了。yum install kernel-devel gcc makels
阅读全文
posted @
2011-11-30 16:57
eshizhan
阅读(1969)
推荐(1)
VMware小问题
摘要:Q:VMware DHCP Service 服务无法启动 1067 错误A:打开Virtual Network Editor,选择 Restore DefaultQ:VMware Brige 桥接服务无法启动 发生系统错误 2 系统找不到指定的文件A:替换vmnetbridge.sys vmnetbridge.dll(下载)
阅读全文
posted @
2010-11-03 16:12
eshizhan
阅读(812)
推荐(0)
Sun VirtualBox vs. VMware Workstation
摘要:两个虚拟机产品Sun VirtualBox和 VMware Workstation,两家公司Sun Microsystems, Inc.(被Oracle收购)和VMware, Inc.,两种模式开源和商业。 由于新买了电脑,cpu支持vt-x(intel的硬件支持虚拟化加速),所以跑一跑虚拟机试试。自从接触这东西后,我就知道这东西了不得,能在电脑里虚拟电脑(呵呵,说俗了)。原理其实简单,软件模拟硬件,当然硬件也可以模拟软件。硬件就是不可修改,速度快,兼容差的程序逻辑,软件就是可修改,速度慢,兼容好的程序逻辑,两者在一定程度上可以相互转换。理论到此结束,深了我也不会。 我只是在家里搭建桌面虚
阅读全文
posted @
2010-05-19 22:50
eshizhan
阅读(5458)
推荐(2)