设为首页 收藏本站
查看: 733|回复: 0

[经验分享] [运维网] 让VS2010 CTP 运行在Hyper-V 上

[复制链接]

尚未签到

发表于 2015-4-2 15:45:17 | 显示全部楼层 |阅读模式
本帖最后由 wuyvzhang 于 2016-8-2 17:27 编辑

  不知道有多少人,也在用这个Win2008 自带的虚机的。   在我第一次将VS2010导入的时候,还不能使用, 在我正准备放弃的时候,在国外的Blog上看到了解决方法。 赶紧尝试了一下,也送给需要的朋友。      Converting VS2010 CTP to Hyper-V   It’s been a week since we released (and then re-released) the Visual Studio 2010 and .NET Framework 4.0 CTP to the web and PDC2008 attendees.   You can download the VPC from here. It’s quite a large download at 7.11GB and I suggest you follow Brian Keller’s post on a more reliable and faster download experience.   The purpose of this post is to show you that it is possible to run the CTP under Hyper-V. This can yield better performance depending on your hardware configuration.   Caveats:
  • This is not an officially tested scenario. Things may or may not work. You’re on your own.
  • Microsoft Excel is immediately crippled to reduced functionality mode. You will need to install your own licensed copy if you want to use it.
  • Microsoft Project remains in countdown mode.
  Hardware Recommendations:(推荐配置)   This is my personal setup, and I can say that it runs quite well. Your mileage may vary. Remember that this is a preview release and we’ve not yet gone through a performance optimization phase yet.
  • A host machine running Windows 2008 64-bit with the Hyper-V role installed (64位的 WINDOWS 2008 + Hyper-V )
  • Host machine with 4Gb RAM, 2Gb dedicated to the virtual machine (有4G内存)
  • Virtual machine on a second hard-drive. Ideally a high-speed 10K RPM or similar.(独立的高速硬盘)
  Summary:   1. Download the CTP and uncompress it   2. Create a new Virtual Machine in Hyper-V Manager   3. Attach the extracted .vhd   4. Boot the virtual machine   5. Uninstall Virtual PC VM Additions by going to Control Panel > Programs and Features   6. Run msconfig.exe and enable ‘Detect HAL’ under Advanced options   7. Reboot   8. Install the Hyper-V Integration Services   9. Reboot   10. Wait for all the new hardware to be detected   11. Reboot   12. Install your own copy of Excel   13. Take a snapshot   14. Enjoy!   Steps:   Once you download the 11 RAR files at 7.11Gb and extract them, you should have two files:   (当你下载完11个RAR文件并解后,你将获得以下个文件)
        • VisualStudio2010CTP.vhd (23.0Gb)
        • VisualStudio2010CTP.vmc
  The first step is to open Hyper-V Manager(Hyper-V 管理器) on Windows 2008 and go to Action(操作) > New(新建) > Virtual Machine(虚拟机)…, you will then be taken through the wizard of setting up a new guest virtual machine.   If you have a second hard-drive, you’ll want to move the .vhd and store the virtual machine on that drive. I recommend something like the WD 10K RPM VelociRaptor.   Although the Virtual PC comes configured for 1Gb of memory, I suggest that you give it at least 2Gb for the best performance. The image contains a 32-bit version of Windows 2008, so giving it more than 3.5Gb is not worthwhile. (2G内存。。。,基本是为了系能。)   The next screen asks you to configure networking. I strongly suggest that you don’t connect this image to the network. Among other things (Virus protection, etc), if you have two machines on the network with the same machine name (which you cannot change in this CTP), then they will get confused and try and talk to each other.   (网络配置,更具情况自行选择吧)   Now you need to attach to the existing .vhd that you extracted from the RAR files download.   (附加 你从RAR解压出来的 那个磁盘文件)   On the summary screen, you’ll want to uncheck ‘Start the virtual machine after it is created’. This is so that we can create an initial snapshot before we’ve done anything to the VHD.   Once you’ve created a snapshot using Hyper-V Manager and started the VPC, it will look something like this:   The first step is to open up Control Panel > Programs and Features > Virtual Machine Additions > Uninstall   Before rebooting, we’ll enable the ‘Detect HAL’ option in the boot configuration.This option is necessary, otherwise none of the Hyper-V services will start once they are installed later on. See MSDN: The VMBus device does not load on a virtual machine that is running on a Windows Server 2008-based computer that has Hyper-V installed, for more information.   (这个非常重要,我上次就卡在这里了)   Go to Start > Run > msconfig.exe > Advanced Options… > Detect HAL. Shutdown the virtual machine.   (Optional) Once the virtual machine has shut down, open the Hyper-V session Settings, click ‘Processor’ and change the “Number of logical processors” from 1 to X (where X is the number of cores on your box)   Once you reboot, you will need to install the Hyper-V Integration Services. To do this, select Action(操作) > Insert Integration Services Setup Disk(插入集成服务安装盘) from the Hyper-V console.   You will be prompted that a previous installation has been detected, press OK.   The installation should proceed. Reboot when the installation is complete.   Once the machine reboots and you logon to it, you should see Windows installing new hardware drivers. Once all these complete, restart the machine.   Once the machine reboots, start Visual Studio and confirm that everything is working and that Team Explorer connects to TFS correctly.   You’ll now need to install your own copy of Excel if you want to use the TFS/office integration components.   If everything seems to be working, create a snapshot of your freshly converted Hyper-V VM. This will allow you to revert back to this snapshot at any time.   If you have any problems with these steps, please leave a comment and/or start a thread on the VS2010 CTP discussion forums.   ========================================================   最后说一下。   WIN 2008 X64 默认自带的 Hyper-V 版本比较低, 也没有中文语言。 所以,建议去下载最新的补丁和中文语言包。 (或者,直接用 WINDOWS Update)   Hyper-V   语言包      其他补丁 (解决使用系统中心虚拟机管理器 (SCVMM) 管理 Hyper-V 时的潜在问题。) (解决 Hyper-V 卷影复制服务 (VSS) 无法正确备份虚拟计算机的问题) (安装本更新程序可以将 Hyper-V 角色对处理器和虚拟机的支持增强到现在对多达 24 种逻辑处理器和 192 种虚拟机的支持。)   注意,上面这个补丁,将会更新 集成服务 所以,请先安装后, 否则,需要在系统里面在次更新一下。 SO娱乐城:真_人.足球.彩票齐全| 开户送10元.首存送58元.手机可投ボ注任何游戏顶级信用ボ提现即时到账SO.CC

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-53205-1-1.html 上篇帖子: 在Windows 7上安装Hyper-V manager 下篇帖子: 介绍一下Hyper Estraier
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表