简体   繁体   English

为Sharepoint设置沙箱开发环境

[英]Setting up a sandbox dev environment for Sharepoint

I am planning to get Sharepoint (MOSS) setup on my home development workstation and one of the things I read about using virtualisation (I currently have Vista, need Windows Server) is that you can install VMs with different OS's (eg Vista, Server) or you can run one OS with the ability to do development on Sharepoint/MS CRM etc which is sandboxed (Can't effect the OS). 我打算在我的家庭开发工作站上安装Sharepoint(MOSS),我读到的关于使用虚拟化(我目前有Vista,需要Windows Server)的一件事就是你可以安装具有不同操作系统的虚拟机(例如Vista,Server)或者你可以运行一个能够在沙盒上的Sharepoint / MS CRM等上进行开发的操作系统(不能影响操作系统)。

My pc specs: Intel Quad Core 2.4ghz, 4GB RAM, Vista 32-bit (so I can't see/use all 4gbs). 我的电脑规格:英特尔四核2.4ghz,4GB内存,Vista 32位(所以我看不到/使用所有4GB)。

How is this usually setup? 这通常是如何设置的?

Thanks 谢谢

This article has everything you need. 这篇文章包含您需要的一切。 It covers essential post-installation tasks such as server configuration. 它涵盖了必要的安装后任务,例如服务器配置。

How to Create a MOSS 2007 VPC Image: The Whole 9 Yards 如何创建MOSS 2007 VPC图像:整个9码

Just want to point out that there are more problems with 32-bit SharePoint than the fact that you can't use all your memory. 只是想指出32位SharePoint存在的问题多于您无法使用所有内存的问题。 Read this blog post for more info. 阅读博客文章了解更多信息。 I guess you are talking about SharePoint 2007, but 2010 is around the corner and its 64-bit only (probably due to the problems described in that blog post). 我猜你是在谈论SharePoint 2007,但是2010年即将到来,只有64位(可能是由于该博客文章中描述的问题)。 So I'd recommend you to do it properly and set up an x64 environment from the beginning. 因此,我建议您正确完成并从头开始设置x64环境。

  1. Download a virtualization software. 下载虚拟化软件。 Virtual PC, Virtual Server, VMWare Server are popular and free 虚拟PC,虚拟服务器,VMWare服务器很受欢迎且免费

  2. Install according to the instructions. 按照说明安装。

  3. Create a virtual machine (it is usually a wizard) 创建虚拟机(通常是向导)

  4. Install a OS and configure manually, or you can download a use an existing virtual hard drive. 安装操作系统并手动配置,或者您可以下载使用现有的虚拟硬盘驱动器。

Microsoft Offers one you can use. Microsoft提供您可以使用的一个。

http://www.microsoft.com/downloads/details.aspx?FamilyID=67f93dcb-ada8-4db5-a47b-df17e14b2c74&DisplayLang=en http://www.microsoft.com/downloads/details.aspx?FamilyID=67f93dcb-ada8-4db5-a47b-df17e14b2c74&DisplayLang=en

One option could be to copy an existing virtual image from the company network and run that image at home. 一种选择可以是从公司网络复制现有虚拟映像并在家中运行该映像。 If you don't have any existing images at the company you can create one using the "physical to VM" option in VMware workstation / Virtual server and then clone an existing server. 如果公司没有任何现有映像,则可以使用VMware工作站/虚拟服务器中的“物理到VM”选项创建一个映像,然后克隆现有服务器。

Remember that you might need to create a library of images if you have to test code on an box with SP1, SP2, June Cumulative and so on. 请记住,如果必须在包含SP1,SP2,June累积等的框中测试代码,则可能需要创建图像库。 this post on ServerFault is a nice guide to max the performance of the image. ServerFault上的这篇文章是一个很好的指南,可以最大限度地提高图像的性能。

I would just like to add the following to other great answers: 我想将以下内容添加到其他好的答案中:

  • Use Windows 2008 Hyper-V as your host operating system. 使用Windows 2008 Hyper-V作为主机操作系统。 In my case it had much better performance than Vista on same machine 在我的情况下,它在同一台机器上的性能远远超过Vista
  • In case you plan to develop for SharePoint+CRM there is MS prepared virtual machine with both. 如果您计划为SharePoint + CRM开发,那么MS准备了两个虚拟机 Unfortunately it is available on to MBS partners. 不幸的是,它可供MBS合作伙伴使用。 SharePoint only machine is publicly available. 仅限SharePoint的计算机是公开可用的。 Both machines will expire after 30 days, but just apply your product key and you will prolong it's life for additional year. 两台机器将在30天后过期,但只需应用您的产品密钥,您将延长其使用寿命一年。

I have installed Windows Server 2008 directly on my laptop, so no need for VMs. 我已经在我的笔记本电脑上直接安装了Windows Server 2008,因此不需要虚拟机。 It's an x64 machine as well. 它也是一台x64机器。 I use SQL server 2008 as well. 我也使用SQL Server 2008。 It's just easier than running VMs and believe me, you need the full 4 GB if you are running Vista. 它比运行虚拟机更容易,相信我,如果你运行Vista,你需要4 GB。 Just install the x64 version of Win2008 on your machine (Standard edition will do. Just use this Google query on how to set up Win 2008 just like Vista and make it the ultimate workstation! 只需在您的计算机上安装x64版本的Win2008(标准版即可。只需使用此Google查询,了解如何像Vista一样设置Win 2008并使其成为终极工作站!

Google Query Google查询

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM