您的位置:首页 > 其它

MED-V使用教程之二制作Image文件

2009-01-17 15:03 549 查看
Abner Kou原创,转载请注明出处http://abner.cublog.cn

本章介绍如何利用Microsoft Virtual VPC 制作标准的image,上传到服务器端,供客户机下载使用
一:在物理机上安装VPC2007、配置镜像
1:安装.net2.0 sp1
2:下载VPC2007 sp1,并安装
3:安装KB958162补丁,确保VPC版本号为6.0.206.0


500)this.width=500;" border=0>

4:在VPC中创建xp虚拟机VmXP06
注意一下操作都在虚拟机VmXP06里进行
5:从VPC的Action菜单安装Virtual Machine Additions


500)this.width=500;" border=0>

6:安装.net 2.0 sp1
7:安装MED-V workspace
双击MED-V_Workspace_1.0.66.msi


500)this.width=500;" border=0>

点击next开始安装
同意协议


500)this.width=500;" border=0>
点击Install开始安装


500)this.width=500;" border=0>

把运行Vm Prerequisites Tool的勾去掉,点击Finish


500)this.width=500;" border=0>

8:之后在虚拟机里设置禁止系统休眠、挂起
禁止在系统发生错误时重新启动


500)this.width=500;" border=0>

9:关闭虚拟机VmXP06
打开VPC中VmXp06的的settings选项,设置一下两项


500)this.width=500;" border=0>


500)this.width=500;" border=0>

10:重新开启虚拟机,安装必要的应用程序,以待发布,例如安装Adobe reader9.0
11:配置完成之后,运行镜像打包之前的最后一步准备工作,
开始——程序——MED-V——VM Prerequisites Tool


500)this.width=500;" border=0>

点击Next,一路默认选项


500)this.width=500;" border=0>


500)this.width=500;" border=0>


500)this.width=500;" border=0>


500)this.width=500;" border=0>

最后一项勾选自动登录,点击Apply,选择yes确认修改


500)this.width=500;" border=0>

出现一个报错,实际上Additions已经添加,测试过程中一切正常,可能是个BUG。点击finish
关闭虚拟机
(如果要将这个镜像的虚拟机加入域,需要运行sysprep工具,再配置一个自动应答文件)

以下操作是在运行VmXP06的物理机上
二:安装MED-V客户端
1:双击运行MED-V_1.0.66.msi


500)this.width=500;" border=0>

2:点击Next,同意协议


500)this.width=500;" border=0>

3:选择安装路径


500)this.width=500;" border=0>

4:勾选安装控制台、填入服务器地址VmMEDV,IIS端口号,设置客户端下载镜像存放的位置
点击next


500)this.width=500;" border=0>

5:安装完成,点击Finish


500)this.width=500;" border=0>

三:配置workspace
1:开始——程序——MED-V——MED-V Management


500)this.width=500;" border=0>

2:输入登录信息,点击OK
3:在workspace一栏,点击ADD添加一个新的,取名Elab-3


500)this.width=500;" border=0>

4:点击Images图标,在Local Test Images处,选择new,添加VmXP06的镜像


500)this.width=500;" border=0>

4:点击Policy按钮,选择Virtual Machine标签,点击refresh,选择新添加的镜像


500)this.width=500;" border=0>

5:在Applications标签,添加如下的测试程序


500)this.width=500;" border=0>

6:Deployment处设置Everyone可读取,允许传输文件


500)this.width=500;" border=0>

7:最后点击左上角保存配置


500)this.width=500;" border=0>

五:Testing Imange
1:打开MED-V Client
开始——程序——MED-V——MED-V


500)this.width=500;" border=0>

2:填入验证信息,点击start
3:选择新建立的elab-3的WorkSpace


500)this.width=500;" border=0>

4:选择Use Test Image


500)this.width=500;" border=0>

客户端开始测试镜像文件


500)this.width=500;" border=0>

5:成功测试后会在右下角系统栏显示、开始菜单也会显示,发布的程序


500)this.width=500;" border=0>


500)this.width=500;" border=0>

可以测试一下发布的程序,下图带红色边框的程序既是MED-V里发布的程序,不带红框的其实也是个虚拟程序,softgrid做的。


500)this.width=500;" border=0>

六:package imange
1:关闭workspace,重新启动物理机,打开management
在Vmxp06的image上点击右键,选择pack test imange


500)this.width=500;" border=0>

2:开始打包镜像


500)this.width=500;" border=0>


500)this.width=500;" border=0>

七:Upload Image
1:在管理端的local packed images中,选中VmXP06.选择Upload to Server


500)this.width=500;" border=0>

至此标准镜像制作过程介绍完毕,写了这么多,累哦。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  教程 VPC 休闲 image MED-V