SharePoint 2010公众测试版安装须知

SharePoint 2010目前已经发放到MSDN/TechNet订阅者的下载中心中,在未来数天内会放到download.microsoft.com。在这里为大家简单写一下安装需要注意的步骤。注意,与2007不同的是,该测试版是不受任何支持的,而且也不能升级到RTM(连数据库挂载都不行,会在代码里直接挡掉)。

  1. 阅读TechNet上关于软硬件需求的文章: hardware and software requirement

  2. 准备一台服务器,需要有8GB内存,安装Windows Server 2008 x64。注意Windows Server 2008 R2需要一个还未发布的Hotfix因此目前不推荐使用。Windows Server的版本需要是基本版以上,Web版由于不能启用Application Server Role而不被支持。

  3. 准备好AD。

  4. 安装WCF补丁:Windows Server 2008, Windows Server 2008 R2 – 连接还未生效

  5. 准备SQL Server 2005/2008环境.

    1. SQL Server 2005 SP3 以及CU3
    2. SQL Server 2008 SP1 以及CU2
  6. 运行组件安装工具下载安装所需的组件。如果没有互联网连接,也可以看我之前的博客拿到相应的下载链接。SharePoint 2010必备组件下载链接

  7. 选择完整服务器场安装,不要使用标准单服务器安装。(标准单服务器安装未来难以扩展,除非你仅仅是打算玩一两天否则别用)

  8. Go with configuration wizard to setup all service applications. Do create a seperate user as SharePoint Managed Account for services and web applications.

  9. 阅读 Config Profile Synchronization 设置人员同步。

  10. 如果在域控上安装SharePoint的话,域控的安全策略会对SharePoint的行为有限制。如果想使用沙盒解决方案则需要运行以下Windows PowerShell命令:
    $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName
    $person = [System.Security.Principal.NTAccount]"Users"
    $access = [System.Security.AccessControl.RegistryRights]::FullControl
    $inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit"
    $propagation = [System.Security.AccessControl.PropagationFlags]::None
    $type = [System.Security.AccessControl.AccessControlType]::Allow
    $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type)
    $acl.AddAccessRule($rule)
    Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl

  11. 如果在域控上安装Office Web Applications,如下命令需要被执行。

    $e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}
    $e.WordServerIsSandboxed = $false
    $e.WordServerIsSandboxed

    $p = Get-SPServiceApplication | where {$_.TypeName.Equals("PowerPoint Service Application")}
    $p.EnableSandboxedViewing = $false
    $p.EnableSandboxedEditing = $false
    $p.EnableSandboxedViewing
    $p.EnableSandboxedEditing

    打开 c:\windows\system32\inetsrv\config\applicationHost.config
    在 dynamicTypes末尾加如下一行:
    <add mimeType="application/zip" enabled="false" />

    IISRESET

  12. 启用开发者面板来检查页面性能问题。

    1. STSADM: stsadm -o setproperty -pn developer-dashboard -pv OnDemand

    2. Windows PowerShell:

      $svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService

      $ddsetting=$svc.DeveloperDashboardSettings

      $ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand

      $ddsetting.Update()

Happy SharePointing!

李劼

Technical Product Manager, SharePoint