Wednesday, 28 March 2007
An in-depth guide for installing Sharepoint 2007 on a single machine
This article was published at GitHub. It is open source and you can make edits, comments etc.
One of my first ever blog articles (and by far most popular to date) was a set of instructions on how to install Beta1 of SharePoint Server 2007 on a single machine. I removed this article because it was too much of an overhead updating it with the various Betas and the official guides were being developed. Now that SharePoint is RTM, I do still get a lot of questions from customers on how to do a simple installation of SharePoint (with SQL 2005) on a single machine to be used for a stand-alone development, demonstration or simple 'play-pen' server (normally on a virtual machine). This guide will outline all of the main steps to setup such an environment. Please bear in mind that this is just an unofficial guide to getting SharePoint 2007 installed quickly and easily in a demo / test environment. This guide will not necessarily observe best practices with regard to security etc. For production setups, you should seek guidance from the official documentation which is available on TechNet (http://technet2.microsoft.com/Office/en-us/library/3e3b8737-c6a3-4e2c-a35f-f0095d952b781033.mspx?mfr=true). Pre-Install There are several things that you must do before you even insert the SharePoint 2007 CD they are:
NOTE: Please do not use NewSID to change the SID of the machine if you are using a copy of another VM, this breaks things in SharePoint. My advice is to build Windows from fresh or to use Sysprep if you are using a copy of a VM.
NOTE: Do not use the main domain\administrator account. This causes a problem if ever you wish to install Project Server 2007 on the same machine.
Base SharePoint Server Install You are now ready to install SharePoint 2007 itself, follow these steps:
NOTE: If you get an error about web service extensions here, ensure that 'ASP.net V2.0.50727' web service extension is allowed in IIS. If it is not in the list, perform a 'repair' on .net 3.0 framework using add/remove programs and then the web service extension will appear in the list. This is caused when IIS is installed after the .net framework
NOTE: The definition of 'Advanced' means that you are using full SQL server (which may or may not be on the same machine). If you had selected 'Basic' then it would have installed the cut down version of SQL (MSDE).
NOTE: In a production environment, you would most likely use Kerberos where possible (if your infrastructure supports it).
NOTE: If it fails here, it is most likely that you do not SQL setup correctly. Ensure your service account is in the right groups. Please also note that this section can take a very long time, especially step 2 (up to 45 minutes).
NOTE: This authentication prompt is caused by the secure version of IE on Windows 2003 Server. You can turn if off by modifying the security settings in IE. Services on Server Configuration The first bit of configuration to do is set your server to host all services. You do not strictly have to enable all of these services, but I find it helps if you are using the machine to test / investigate functionality.
When the Central Administration screen appears, go to 'Operations' tab, then 'Services on Server'.
Start the 'Document Conversions Load Balancer Service'.
Start the 'Document Conversions Launcher Service', you'll have to choose the 'Load Balancer Server'; there should only be one option. If there are no options, ensure that the 'Document Conversions Load Balancer Service' has been started.
Start the 'Excel Calculation Services'.
Leave all remaining services in their default configuration
Web Application Setup The next stage is to create the 3 web applications that will be required to host the basic set of sites for a typical deployment, these are:
It is much simpler if all of these sites are on port 80 in IIS; this means that you do not have to remember to enter the ports all of the time. However having all three sites on port 80 means that each needs their own Host Header (required by IIS to differentiate between sites on the same port). The simplest way to do this is to create new 'Host (A)' records in DNS for each of your three sites. These should point to the IP address of your server; to do this follows these steps:
Now the DNS entries are configured, we can create the three web applications in SharePoint; follow these steps for all three of your web applications (i.e. 'SSPAdmin', 'MySite' or 'Intranet'):
In Central Administration, go to the 'Application Management' tab
Click 'Create or Extend Web Application' and then click 'Create a new Web Application'
Shared Service Provider Setup The next stage is to create the Shared Service Provider (SSP). The SSP is required in order to provide several key services such as Search or My Site. You can read more about SSP on my blog article about it here. To configure the SSP, follow these steps:
In Central Administration, go to the 'Application Management' tab
In the 'Office SharePoint Server Shared Services' section, click 'Create or Configure This Farms' Shared Services'
Click 'New SSP'
Collaboration Portal Site Collection Setup The next stage is to create a collaboration portal which is one of the more feature-filled site types and represents a typical intranet environment. To do this, follow these steps:
In Central Administration, go to the 'Application Management' tab
In the 'SharePoint Site Management' section, choose 'Create Site Collection'
Configure Indexing The final step of the process is to configure indexing so that you have some search results. Though this step is optional, it is recommended as it will enable you to use the powerful search capabilities of SharePoint. To configure the index, follow these steps:
In Central Administration, click the 'SharedServices1' link on the left-side navigation (or whatever you name your SSP)
When the SSP Administration site appears, click on 'Search Settings' in the 'Search' section
On the 'Configure Search Settings' page, click 'Content Sources and Crawl Schedules'
Edit the 'Local office SharePoint Server Sites' content source by hovering your mouse over it and choosing 'Edit'
The process is now complete. User should be able to access the main collaboration portal from http://intranet (or whatever you called the DNS record). I hope this was useful, please comment with any errors or amendments
Got a comment?
All my articles are written and managed as Markdown files on GitHub.
Please add an issue or submit a pull request if something is not right on this article or you have a comment.
If you'd like to simply say "thanks", then please send me a .