Install Sharepoint 2010

Installation Notice for SharePoint 2010 Public Beta

(Reference for installing http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx article on TechNet)

there’s no technical difference between SharePoint Server 2010 + Enterprise CAL and SharePoint Server for Internet Sites Enterprise. It is only about licensing.

Prepare a Windows Server 2008 x64 machine with 8GB memory. Windows Server 2008 R2 requires a hotfix which is not yet released to have the service applications running so I don’t recommend to use that now. Web Server Editions are not supported. Windows Server Fundation edition is not supported either.Microsoft Windows Server 2008 Standard SP2 (http://go.microsoft.com/fwlink/?LinkId=166500)

Install WCF FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (Windows Server 2008, Windows Server 2008 R2 – link not activated yet) . Please note the 2008 fix also applies to Vista, while the 2008 R2 fix also applies to Windows 7.
If you don’t have this fix installed, you will get "Unrecognized attribute ‘allowInsecureTransport’" error in ULS log. And most of the service applications will not run properly.

 

Prepare SQL Server 2008 environment. If it is on a different box, don’t forget Windows Firewall settings. For SQL Server on Windows 2008/R2, you can use the script in KB968872 to open all necessary ports.

  1. Microsoft SQL Server 2008 Express Edition Service Pack 1 (http://www.microsoft.com/downloads/details.aspx?FamilyID=01af61e6-2f63-4291-bcad-fd500f6027ff&displaylang=en)
  2. Cumulative update package 2 for SQL Server 2008 Service Pack 1 (not yet installed and SharePoint 2010 works well)
  3. install SQL Management Studio SQLManagementStudio_x64_ENU.exe

Prepare SQL Server 2008 environment. If it is on a different box, don’t forget Windows Firewall settings. For SQL Server on Windows 2008/R2, you can use the script in KB968872 to open all necessary ports.

Configuration:

Identification : named Instance: SQLEXPRESS
Identification on the SQL server with sql server management studio: Server name: lorsrv10\SQLEXPRESS 
 
Install 2 roles:

Web Server (IIS) role
Application Server role (Microsoft dotnet 3.5 is included) 
Sharepoint 2010 Stand-alone server

Be Careful – software prerequisites is already included in the MOSS2010 Install routineRun Pre-Requisition Installer to download and install required components.

Microsoft .NET Framework 3.5 Service Pack 1 (http://go.microsoft.com/fwlink/?LinkId=131037) is installed with role application server
Microsoft "Geneva" Framework (http://go.microsoft.com/fwlink/?LinkID=165752)
Microsoft Sync Framework v1.0 (http://go.microsoft.com/fwlink/?LinkID=141237&clcid=0x409)
Microsoft Filter Pack 2.0 (http://go.microsoft.com/fwlink/?LinkId=166504)
Microsoft Chart Controls for Microsoft .NET Framework 3.5 (http://go.microsoft.com/fwlink/?LinkID=141512)
Microsoft SQL Server 2008 Analysis Services ADOMD.NET (http://go.microsoft.com/fwlink/?LinkId=130651)
ADO.NET Data Services v1.5 CTP2 (http://go.microsoft.com/fwlink/?LinkId=158354) for Windows Server 2008 SP2
ADO.NET Data Services v1.5 CTP2 (http://go.microsoft.com/fwlink/?LinkId=159780) for Windows Server 2008 R2

Windows PowerShell 2.0 CTP3 (http://go.microsoft.com/fwlink/?LinkId=165758)
Microsoft SQL Server 2008 Native Client (http://go.microsoft.com/fwlink/?LinkId=166505)


 

Get your AD ready. Create a new account for services, for example contoso\sp_admin.
1.       Open Active Directory Users and Computers
2.       Right click domain and select “Delegate Control”
3.       Click Next
4.       Click Add
5.       Enter object name (i.e. contoso\sp_admin)
6.       Click Ok
7.       Click Next
8.       Select “Create a custom task to delegate”
9.       Click Next
10.     Check "Replicating directory changes”
11.     Click Next
12.     Click Finish 

  • Go with configuration wizard to setup all service applications. Use the user you created in step 3 as SharePoint Managed Account for services and web applications.
  • Read Config Profile Synchronization to setup profile sync.
  • Follow the instruction on SharePoint Team Blog. You can also check my steps on how to setup user profile sync.
  • If you are using SharePoint on DC, the following Windows PowerShell command would need to be run to enable Sandboxed Solutions.
    $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
  • If you are trying to use Office Web Applications on DC(Office Web Application need to be installed seperately, like a language pack or an update), then the following commands need to be run to make the services work. Please note that in different languages, Service Application names could be localized. You can find them out by Get-SPServiceApplications, and then change the names in the script as necessary.

    $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

    In the server’s c:\windows\system32\inetsrv\config\applicationHost.config
    Add the line below in the end of the dynamicTypes.
    <add mimeType="application/zip" enabled="false" />

    IISRESET

  • Enable Developer Dashboard and turn to OnDemand for troubleshooting page performance issues. It can be done by STSADM or SharePoint 2010 Management Shell (Windows PowerShell).
    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()
  • Publicités
    Cet article a été publié dans Microsoft - MOSS 2010. Ajoutez ce permalien à vos favoris.

    Laisser un commentaire

    Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

    Logo WordPress.com

    Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

    Image Twitter

    Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

    Photo Facebook

    Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

    Photo Google+

    Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

    Connexion à %s