zoukankan      html  css  js  c++  java
  • Content Deployment执行之前是否需要开启feature? 安装dll到GAC?

    feature要安装, 但是不要开启.

    web.config文件要改.

    dll要装到gac中.

    准备Content Deployment目的站点集的具体步骤:

    1. 创建一个空的站点集. 你需要使用stsadm –o createsite 命令来创建空站点集. 注意, 空站点集与空白站点集是不同的.

    2. 添加并部署所有的sharepoint solution package(wsp)文件到目的服务器场. 一般来说, 部署wsp文件会安装feature到目的服务器场. 如果你没有使用wsp, 那么你需要确保所有的feature被安装到服务器场上, 但是不被开启.

    3. 进行必要的文件系统的修改. 比如说, 修改web.config文件, 安装或者部署没有被wsp部署包括进去的.net程序集到GAC中.

    原文如下:

    =============

    To prepare the destination site collection

    1. Create an empty site collection in the production farm. This is where the content will be deployed. An empty site template differs from a blank site template in that it contains no content, libraries, or activated features. A blank site contains some content and has some features that are activated. The only way to create an empty site collection is with the following STSADM command:

      STSADM.EXE -o createsite -url <url-to-site-collection> -ownerlogin domain/user -owneremail <email-address>

    2. Add and deploy all the SharePoint Solution Packages (WSP) to the production farm. Typically, deploying the WSP should install all features to the production farm. However, if you are not using WSPs or if you have an exceptional case, ensure that all features are installed but not activated.
    3. Make any necessary file system changes. For example, modify the Web.config files and install or place in the global assembly cache any .NET Framework assemblies that were not included in the WSP deployment.

    Do not activate any of the features in the empty site collection. The content deployment process handles feature activation.

    资料来源:

    Understanding Publishing and Content Deployment

    http://msdn.microsoft.com/en-us/library/ee413986.aspx

    作者:Angelo Lee
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.
  • 相关阅读:
    js点击按钮为元素随机字体颜色和背景色
    js随即数字random实现div点击更换背景色
    while循环计算1-100和,1-100内偶数/奇数/被整除的数的和
    慕课手机展示页案例
    第3题:求子数组的最大和
    第4题:在二叉树中找出和为某一值的所有路径
    第5题:查找最小的K个元素
    Linux系统开启IPv6任播(anycast)地址
    第7题:判断两个链表是否相交
    第8题上:思维题
  • 原文地址:https://www.cnblogs.com/yefengmeander/p/2887805.html
Copyright © 2011-2022 走看看