从现有生产环境创建 Sharepoint 开发环境

发布于 2024-08-26 08:08:57 字数 587 浏览 10 评论 0原文

我使用 Sharepoint 的经验很少,但使用 Visual Studio 2008、SQL Server 2005、Windows Server 2003 和 IIS6 的经验丰富。

我需要为内部使用的SharePoint 2007 系统创建一个开发环境。该系统已经部署在两台服务器上 - 其中一台服务器仅保存数据库,其他所有内容都在另一台服务器上。我们还使用 WSS 3.0。

我已经创建了一个虚拟机,其中包含所有必需的软件,包括全新安装的 SharePoint Server 2007,并且我希望使用这个虚拟机作为开发环境。

据我所知,目前生产服务器上没有使用自定义程序集。有 3 个网站,一个通过端口 80 用于用户访问,一个通过自定义端口用于中央管理,一个通过另一个自定义端口进行访问。不确定最后一个的用途,但我的虚拟机上的 Sharepoint 空白实例也有类似的东西。

我尝试使用 STSADM 工具将这 3 个站点从生产环境备份和恢复到开发环境,虽然操作成功完成,但开发环境中的中央管理站点表现得很奇怪,我无法访问端口 80 - 我没有似乎有正确的凭据。

我怀疑事情不会这么简单,所以我能否就如何创建我的开发环境提供建议,以便我可以使用它来将更新部署到生产环境。

I have very little experience using Sharepoint but a good amount using Visual Studio 2008, SQL Server 2005, Windows Server 2003 and IIS6.

I need to create a development environment for a SharePoint 2007 system that will be used internally. The system is already deployed over two servers - one of the servers simply holds the database and everything else is on the other server. We are also using WSS 3.0.

I have created a Virtual Machine with all the required software including a clean installation of SharePoint Server 2007 and I wish to use this single Virtual Machine as the development environment.

Right now there are no custom assemblies being used on the production server as far as I am aware. There are 3 websites, one over port 80 for user accesss, one over a custom port for central administration, and one over another custom port. Not sure what the last one is for but my blank instance of Sharepoint on my Virtual Machine also has something similar.

I attempted to use the STSADM tool to backup and restore these 3 sites from my production environment to my development environment and while the operations completed succesfully, the central administration site in my development environment acted strangely and I could not access port 80 - I did not seem to have correct credentials for it.

I suspected that it would not have been so simple so could I please have advice on how to create my development environment so that I can use it to deploy updates to the production one.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仅冇旳回忆 2024-09-02 08:08:57

除非您需要从 SharePoint 中提取内容,否则我不确定您是否需要将生产数据库(特别是内容)复制回开发环境。

一般来说,SharePoint 与应用程序开发非常相似,过程如下:

  1. 使用 SharePoint 对象模型和 IDE 开发您的功能
  2. 创建 WSP 包。
  3. 将 WSP 包部署到 SharePoint(开发或生产)。

如果您使用 Visual Studio,我建议使用可用于构建 WSP 的插件 (WSPBuilderVSEEWSS)。它们还允许您将它们部署到您的开发 SharePoint 实例。

要将 WSP 安装到生产环境,我建议使用 CodePlex 上提供的 SharePoint 安装程序。尽管您可以使用 STSADM 工具完成同样的事情。

Unless you need to pull back content from SharePoint I'm not sure you will need to copy the production database (Content specifically) back to the development environment.

In general SharePoint is fairly similar to application development in that the process will go something like:

  1. Develop your capability using the SharePoint object model and your IDE
  2. Create a WSP package.
  3. Deploy the WSP package to SharePoint (either dev or production).

If you are using Visual Studio I would suggest using on of the Add-Ins available to build your WSPs (WSPBuilder or VSEWSS). They will also allow you to deploy them to your dev SharePoint instance.

To install your WSP(s) to production I would suggest looking at using the SharePoint installer available on CodePlex. Although you can accomplish the same thing using the STSADM tool.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文