Install Sharepoint Server 20071
Install Sharepoint Server 20071
Install SharePoint
Server 2007
Installation and configuration for
development
This tutorial helps you to install SharePoint Server 2007. It shows you step-by-step
how to setup requirements like Windows Server 2008 R2 including roles and
features, administrative and service accounts as well as SQL Server 2008 R2. With
these requirements installed you are able to deploy SharePoint Server 2007.
SharePoint resources
http://andreasglaser.net/
Disclaimer
THIS INFORMATION IS PROVIDED “AS IS” WITHOUT ANY WARRANTY OF ANY KIND.
All trademarks are property of their respective owners.
© Copyright 2011
Table of contents
1. Overview .............................................................................................................................. 2
1.1. Hardware requirements .......................................................................................................... 3
1.2. Software requirements ........................................................................................................... 4
2. Windows Server 2008 R2 ....................................................................................................... 5
2.1. Installation ............................................................................................................................... 5
2.2. Updates ................................................................................................................................... 6
2.3. Configuration ........................................................................................................................... 7
2.3.1 Computer settings ........................................................................................................... 7
2.3.2 Network settings ............................................................................................................. 8
2.3.3 Remote Desktop .............................................................................................................. 9
2.3.4 Firewall settings ............................................................................................................... 9
2.3.5 IE Enhanced Security Configuration .............................................................................. 10
3. Windows Server 2008 R2 - Roles and features...................................................................... 11
3.1. Active Directory ..................................................................................................................... 11
3.2. Web Server (IIS) and Application Server ............................................................................... 14
3.3. Pop3, SMTP, Outlook............................................................................................................. 17
4. Administrative and service accounts .................................................................................... 18
4.1. Accounts ................................................................................................................................ 18
4.2. Assign permission .................................................................................................................. 19
4.2.1 SQL Server service account ........................................................................................... 19
4.2.2 Setup administrator....................................................................................................... 19
4.2.3 Farm account ................................................................................................................. 20
5. SQL Server 2008 R2 ............................................................................................................. 21
5.1. Software requirements ......................................................................................................... 21
5.2. Installation ............................................................................................................................. 22
5.3. Configuration ......................................................................................................................... 25
5.3.1 Assign permission .......................................................................................................... 25
5.3.2 Configure networking .................................................................................................... 26
6. SharePoint Server 2007 ....................................................................................................... 27
6.1. Prerequisites.......................................................................................................................... 27
6.2. Installation ............................................................................................................................. 28
6.3. Configuration ......................................................................................................................... 31
6.3.1 Services .......................................................................................................................... 31
6.3.2 Shared Service Provider................................................................................................. 33
7. End User License Agreement ............................................................................................... 35
2 Install SharePoint Server 2007
1. Overview
We are going to setup a SharePoint Server 2007 development environment containing two servers:
SharePoint Server
Database Server
W2K8R2-03
192.168.1.3
Active Directory
W2K8R2-02
192.168.1.2
We don’t deploy a single server with the built-in database. Instead we are using SQL Server 2008 R2
so this deployment can be scaled out to create two- and three-tier farm topologies if necessary1.
This guide shows you how to create a closed environment with an Active Directory on a separate
box. If you already have an Active Directory you can use the existing one for your installation.
1
End-to-end deployment scenarios,
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx
Overview 3
For a server farm with application and front-end web servers it is recommended to use at least the
following hardware:
The given numbers are really low so I suggest using minimum the following hardware specification
for a development environment:
If you are using a laptop you can use the first hard disk for your operating system and the second one
as data storage. If you are not using a laptop you can of course use a better processor and more RAM
since weight doesn’t matter.
2
Determine hardware and software requirements (Office SharePoint Server),
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx#resources
4 Install SharePoint Server 2007
Database server
In order to deploy SharePoint Server 2007 with SQL Server you need one of the following:
Note: Although the different editions of Windows Server 2008 and Windows Server 2008 R2 are not
directly listed in the mentioned reference it should work.
Detailed software requirements as well as updates are discussed in the according chapter later.
3
Determine hardware and software requirements (Office SharePoint Server),
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx#resources
Windows Server 2008 R2 5
If you have an existing Windows Server 2008 R2 installation you can skip to step 2.2.
2.1. Installation
The installation is straight forward and doesn’t require any detailed explanation. It is recommended
but not required to install the 64-bit edition.
At this point you have a basic but not configured Windows Server 2008 R2 image.
2.2. Updates
Windows Server 2003
You need to apply the following updates:
1. Service Pack 14
4
Microsoft Windows Server 2003 Service Pack 1 (32 bit),
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx#resources
Windows Server 2008 R2 7
2.3. Configuration
In order to avoid problems during the installation process later it is highly recommended to do the
following steps.
After installing Windows Server 2008 R2 you need to prepare your server depending on the required
role in your environment.
1. Click Start, Run and enter dcpromo to start the installation process.
3. Click next again to skip the operating system compatibility warning screen.
4. Select Create new domain in a new forest and click next.
Important
1. If you can access the internet from inside your image don’t use the domain name of a
12 Install SharePoint Server 2007
website.
2. Don’t use a single-label domain name like mydomain, see
Information about configuring Windows for domains with single-label DNS names,
http://support.microsoft.com/kb/300684
6. Accept the given NetBIOS name and click next.
7. Click next using the current forest functional level. Since this is an isolated virtual
environment we don’t need to care.
10. If you have a network adapter with a dynamically assigned IP address you will get this
warning. Click yes as long as you have one network adapter with a static IP address.
Windows Server 2008 R2 - Roles and features 13
12. Click next using default settings for the database, log files and sysvol.
14. At the summary screen click next in order to start the installation process.
15. Reboot.
16. Use the server manager to check if things have been successfully installed.
17. You don’t need to do any configuration regarding the Active Directory. Necessary account
operations are described later.
14 Install SharePoint Server 2007
5. Proceed to the role services selection and add the features you can see in the picture. If you
are prompted to add required role services and features click yes.
6. Proceed to the role services selection and add the following features.
16 Install SharePoint Server 2007
7. Click install
Windows Server 2008 R2 - Roles and features 17
In order to install SharePoint 2007 there are 9 accounts which are most important.
4.1. Accounts
You need to create the following accounts in Active Directory:
1. The SharePoint 2007 setup administrator has to be a member of the administrators group on
every server SharePoint will be installed.
2. This configuration step is done after SQL Server is installed and is documented here for the
purpose of completeness.
The SharePoint 2007 setup administrator needs to have the securityadmin and dbcreator
role. The sysadmin role is assigned if you decide during SQL Server 2008 R2 installation that
20 Install SharePoint Server 2007
your SharePoint 2007 setup administrator should also be the SQL Server Administrator.
This chapter explains the installation and configuration of SQL Server 2008 R2.
Remarks
If you install SQL Server 2008 RTM on Windows Server 2008 R2 you need to apply SP1 for
SQL Server 2008 after installation. So you can continue installing SQL Server 2008 if you see
the following picture:
5
Determine hardware and software requirements (Office SharePoint Server),
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx#resources
22 Install SharePoint Server 2007
5.2. Installation
The installation of SQL Server 2008 compared to SQL Server 2008 R2 is almost the same and
described below. If you get a compatibility warning while trying to install SQL Server 2008 on
Windows Server 2008 R2 you can proceed with install. Before running SQL Server you need to apply
Service Pack 1.
2. Start a new installation, accept the license agreement and install setup support files.
4. Select Database Engine Services and Management Tools - Basic and click next. Depending
on the things you do with SharePoint you might need additional features enabled.
8. Add the setup administrator a SQL Server administrator if you have an isolated Hyper-V
environment.
9. Click next and finish the installation of SQL Server 2008 R2.
SQL Server 2008 R2 25
5.3. Configuration
There are two configuration steps you need to do: assign permission to the SharePoint 2007 setup
administrator and configure networking.
dbcreator
securityadmin
The following role is assigned if you decide during SQL Server 2008 R2 installation that your
SharePoint 2007 setup administrator should be a SQL Server administrator:
sysadmin
Important: If you are not logged on with the setup administrator please logon using setupAdmin.
Otherwise you might not be able to change settings if you don’t have the sysadmin role assigned.
26 Install SharePoint Server 2007
Start > All Programs > Microsoft SQL Server 2008 R2 > Configuration Tools > SQL Server Configuration
Manager
SharePoint Server 2007 27
This chapter explains the installation and configuration of SharePoint Server 2007.
Important: If you are not logged on with the setup administrator please logon using the above
created account (setupAdmin).
6.1. Prerequisites
Depending on the version of Windows Server and SQL Server you need to pick a different version of
SharePoint Server 20076:
You need at least Microsoft Office SharePoint Server 2007 if you have the following editions:
o SQL Server 2000
o SQL Server 2005
o Windows Server 2003
You need at least Microsoft Office SharePoint Server 2007 with SP1 if you have the following
editions:
o SQL Server 2008
o Windows Server 2008
You need at least Microsoft Office SharePoint Server 2007 with SP2 if you have the following
editions:
o SQL Server 2008 R2
o Windows Server 2008 R2
Note: You need a slipstreamed version. Installing SP2 after installing MOSS 2007 on Windows Server
2008 R2 doesn’t work.
6
Determine hardware and software requirements (Office SharePoint Server),
http://sharepoint-tutorial.net/post/2011/02/11/Install-SharePoint-Server-2007.aspx#resources
28 Install SharePoint Server 2007
6.2. Installation
The installation itself requires only few steps to be completed.
1. Enter the product key, accept the license agreement and click Advanced.
3. Wait until the installation has finished and run the products configuration wizard.
SharePoint Server 2007 29
5. Enter the server name of your SQL Server and add the farm account and its credentials.
30 Install SharePoint Server 2007
8. After successfully installing SharePoint 2007 the configuration wizard is closed and the
Central Administration automatically opens with the following screen.
SharePoint Server 2007 31
6.3. Configuration
After the installation of SharePoint 2007 is completed the following settings should be configured.
6.3.1 Services
At the beginning you have to start three services.
1. Start the ‘Windows SharePoint Search Service’ and enter the service account
spWSSSearchSvc and the content access account spWSSSearchCA.
2. After that start the ‘Office SharePoint Server Search’ and enter the service account
spMOSSSearchSvc. Please select Use this server for indexing content and Use this server for
32 Install SharePoint Server 2007
3. Now you can start the Excel Calculation Services (or not). You are finished with the services.
SharePoint Server 2007 33
You need to create two web applications for the SSP Administration site and the My Site as well as
specifying other properties.
1. Create the web application for SSP Administration site using the account spSSPAdmAP as
the application pool account.
34 Install SharePoint Server 2007
2. Create the web application for My Site using the account spSSPMySiteAP as the
application pool account.
3. After creating both web applications you should be back creating the SSP.
End User License Agreement (EULA) for this e-book by Andreas Glaser Software Engineering GmbH
1 This End User License Agreement (hereafter referred to as «EULA») is part of the
Agreement between Andreas Glaser Software Engineering GmbH (hereafter referred to as
«Licensor») and you (either an individual or a single entity; hereafter referred to as
«Licensee») concerning this e-book. The EULA shall regulate the use of the e-book and the
liability of the Licensor.
Grant of License
2 The Licensor grants to the Licensee the right of use of the e-book within the scope of the
description on the Homepage and limited in accordance with this EULA.
3 All rights not expressly granted to the Licensee are reserved by the Licensor.
4 The following License clauses shall be decisive for all Versions of the e-book.
No Assignments or Sublicenses
5 The Licensee shall not be entitled to assign any rights, nor delegate any duties under this
EULA.
6 The Licensor keeps the exclusive right to grant Licenses. The Licensee shall not have the
right to grant sublicenses.
7 The Licensee recognizes and acknowledges that the e-book and its contents are protected
by intellectual property rights (particularly copyright) of the Licensor and constitute a
valuable trade secret. All trademarks are property of their respective owners. The Licensee
agrees that he shall protect and hold in confidence all the e-book and information provided
by the Licensor.
8 The Licensee shall undertake to use the e-book (any copies included) unchanged „as
supplied by the Licensor”. Furthermore the Licensee shall not remove or alter any copyright
notices on any and all copies of the e-book.
9 The Licensee shall only use the e-book for his own purposes but neither rent, lease, lend or
resell it.
10 The Licensee shall be allowed to make copies of the e-book only for backup and archival
purposes.
11 The Licensee must comply with all applicable laws regarding the use of the e-book.
36 Install SharePoint Server 2007
12 If the Licensee fails to comply with the terms and conditions of this EULA the Licensor may
terminate the License. In this case the Licensee is obliged to destroy all copies of the e-book
in his possession.
13 The Licensee failing to comply with the terms and conditions of this EULA shall be liable for
all direct and indirect damage/loss caused at the Licensor.
14 The e-book shall be provided „as is“ and without any warranties. In particular the Licensor
shall not warrant that the e-book is complete or faultless. The Licensor shall not warrant
that the e-book is utilizable - or does fit - for a certain purpose, or that the e-book is
compatible with the applicable laws. The Licensor shall not warrant that the e-book or the
medium of delivery is free from virus and other such computer program. Further warranty
of title shall be excluded.
15 In no event shall the Licensor be liable for any direct or indirect damages rising out of use of
the e-book or inability to use the e-book. In particular the Licensor shall not be liable for
loss of profit, business interruption or loss of data.
17 If any third party claims that its rights have been infringed by the activities of the Licensee
acting within the scope of this EULA, the Licensor must be notified immediately. If such
third party commences legal action against such Licensee, the latter shall take all urgent
and necessary steps to defend against such claim and enter into discussion with the
Licensor in order to determine further action.
18 The Parties agree that the interpretation and performance of this EULA, its validity and
their respective rights and obligations there under as well as all Agreements in connection
with this EULA shall be governed by Swiss law.
19 Any changes and amendments to this EULA shall be made in writing and signed by the
Parties.
20 Disputes under this EULA or in connection with this EULA shall be settled amicably. In case
of failing exclusive the courts of St. Gallen, Switzerland, shall have jurisdiction.
Severability Clause
21 If any provision of this EULA is entirely or partially ineffective, this shall not affect the
validity of the remaining provisions. Such ineffective provision shall retroactively be
replaced with a regulation that comes as close as possible to the contents and the intended
purpose of the ineffective provision.