Single Server Deployment

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The quickest way to get started withMicrosoft is to install it on a single server computer. This allowsyou to set up a small scale installation to host several Web sites, withoutperforming a lot of steps. When you install on a single server, youcan choose between the following options:

  • Usingthe default options during Setup, you can install and publish aworking Web site (based on WMSDE) in minutes.

    When you installusing the default settings, the Setup program automatically installs Microsoft SQL Server 2000 Desktop Engine(Windows) (WMSDE) and uses it to create the database for your Web sites.You don't have to perform any other configuration steps to create the database.This installation scenario offers you the ability to host several Web siteswithout a lot of overhead.

  • Using the remotesql=yes property, you can install to work withan existing installation of Microsoft SQL Server 2000 Service Pack 3 or later.

    This installationscenario allows you to support a larger set of Web sites. When you use thismethod, you must perform additional steps to configure SQL Server and to work together. Consider using SQL Server instead of WMSDE if youanticipate supporting more than 10 active and large Web sites.

    Youcan also use SQL Server on a remote server to handle larger scaleinstallations. For more information about installing with a separateSQL Server computer, see Remote SQLServer Deployment .

Note: The database size required for depends on the number and size of the Web sites your serversupports.

Preparing the Server

Before you install and configure , you should check to makesure you meet the hardware and software requirements. The following sectionshelp you review the requirements.

Hardware andSoftware Requirements

To be able to set up on asingle server, you must meet the following criteria:

  • A computer running Microsoft(Standard, Enterprise, Datacenter, or Web Edition). Note that the hardware requirements for are the same as the installationrequirements.

    • The computer must be configured as a Webserver (running Internet Information Services (IIS) in IIS 6.0 worker process isolation mode)and must be running ASP.NET. For more information about installing andconfiguring IIS and ASP.NET, see the documentation.

    • The computer must be using the NTFS file system.Microsoft Windows includes a conversion utility (Convert.exe) that you can useto convert an existing file allocation table (FAT) volume to NTFS withoutlosing data.

  • The client computers must be runningMicrosoft Internet Explorer 5.01 or later (best results with Microsoft InternetExplorer 5.5 or later) or Netscape Navigator 6.2 or later to usefeatures.

For a complete list of hardware and softwarerequirements, see Hardware and Software Requirements .

Configuring the Server as a Web Server

IISis not enabled by default in . To make your front-end serverinto a Web server, you must enable IIS.

Enable IISand configure it to use IIS 6.0 worker process isolation mode

  1. Click Start , point to All Programs , point to Administrative Tools , and then click Manage Your Server .

  2. On the Manage YourServer page, click Add or remove a role .

  3. Inthe Preliminary Steps pane, click Next .

  4. In the Server Role pane, click Applicationserver (IIS, ASP.NET) , and then click Next .

  5. In the Web Application Server Options pane, accept thedefault of ASP.Net and then click Next .

  6. In the Summary of Selections pane, click Next .

  7. Click Finish .

  8. Click Start , point to All Programs , point to Administrative Tools , and then click Internet InformationServices (IIS) Manager .

  9. In Internet Information Services manager,click the plus sign (+) next to the server name, and then right-click the Web Sites folder and select Properties .

  10. In the Properties dialog box, click the Service tab.

  11. In the Isolation mode section, clear the Run WWW service in IIS 5.0 isolation mode check box, and then click OK .

    Note: The Run WWW inIIS 5.0 isolation mode check box is only selected if you have upgradedto IIS 6.0 on from IIS 5.0 on Windows 2000. New installations of IIS 6.0 use IIS 6.0 worker process isolationmode by default.

Installing withWMSDE

Because you are installing to a single, stand-alone server,you can run the Setup program as is, accepting all the defaults. In the defaultinstallation, WMSDE is installed as part of the Setup program.

Caution: DuringSetup, in a default installation, extends the default virtual server(Default Web site in IIS) with . If you have a Web site running onthe default Web site in IIS, that Web site will be taken over byduring installation. Also, before installing , verify that FrontPage 2002 Server Extensions from Microsoft are not running on the virtual server on port 80. If FrontPage 2002 Server Extensions are running on the default virtual server, the virtual server will not be extended when you install . (If you upgraded from Windows 2000 to , FrontPage 2002 Server Extensions were installed by default to port 80.) For more information, see Installation Considerations for Windows SharePoint Services .

Install with default settings

  1. Download STSV2.exe to your computer.

    You can download STSV2.exe from the Microsoft Web site.

  2. Run STSV2.exe to extract the installation files and start the installation.

  3. On theEnd-User License Agreement page, review the terms, and thenselect the I accept the terms in the License Agreement checkbox, and then click Next .

  4. On the Type of Installation page, click Typical Installation , and then click Next .

  5. On theSummary page, click Install .

  6. Setupruns and installs Microsoft and WMSDE.

Install Windows SharePoint Services specifying the location of the WMSDE database

If you want to specify the location to install the WMSDE database, use the /datadir= option with the setupsts.exe command line tool.

The syntax is as follows:

setupsts.exe /datadir="

path \\"

For example, to install the WMSDE database to the d:\program files\wmsdedata\ directory, type the command:

setupsts.exe /datadir="d:\program files\wmsdedata\\"

Download and install , specifying the location of the WMSDE database

  1. Download STSV2.exe to your computer.

    You can download STSV2.exe from the Microsoft Web site.

  2. Run STSV2.exe to extract the installation files.

  3. When the installation starts, click Cancel .

  4. Click Start , and then click Run .

  5. In the Open box, type c:\program files\STS2Setup_<LCID>\setupsts.exe /datadir="<path>\\" (where "LCID" is the locale ID for the version you installed, and "path" is the path where you want to install WMSDE).

    For example, if you installed the US English version of STSV2.exe, then the folder is c:\program files\STS2Setup_1033.

  6. Click OK .

    The Setup program opens.

  7. On the End-User License Agreement panel, review the terms, and thenselect the I accept the terms in the License Agreement checkbox, and then click Next .

  8. On the Type of Installation panel, click Typical Installation , and then click Next .

  9. On the Summary panel, click Install .

  10. Setupruns and installs Microsoft and WMSDE to the specified path.

After Installing with WMSDE

AfterSetup finishes, your default Web site is extended with . Your browserwindow opens to the home page of your new Web site, and you can start addingcontent right away, or you can customize the site or set administrative optionsby using HTML Administration pages. Some actions you can take to get usersworking with your site are:

If you have multiple virtual servers, you canextend additional virtual servers with . To extend a virtual server,you use HTML Administration pages. For more information, see Extending Virtual Servers .

Note: If you had a previousversion of SharePoint Team Services or FrontPage Server Extensions, you willneed to upgrade the virtual server, rather than extend it. For moreinformation, see Upgrade Considerations .

After youhave used with WMSDE for some time, you may run into performance orstorage problems, and you may need to move to a more scaled out solution. Ifyou find yourself in this situation, you can switch to using Microsoft SQLServer 2000 as your database instead of WMSDE. For more information, see Migrating from WMSDE to SQL Server .

Installing to Use SQL Server

Before you areready to install , you must be sure that SQL Server 2000 is installedwith Service Pack 3 or later and ready to host data.

Ifyou want to use with SQL Server 2000 on the same computer, you musttake specific steps to configure your server computer before, during, and afterinstalling . For example, to set up , you must run Setupfrom the command line, using the remotesql=yes property. Thistopic describes the steps needed to configure a single server running both and SQL Server 2000. This topic does not cover using a remote SQLServer computer. For more information about using SQL Server on a remotecomputer, see Remote SQL Server Deployment .

Preparing SQL Server

You must configure yourSQL Server installation to work with . For to be able toconnect to your SQL Server database, it is recommended that you configure theSQL Server database to use Windows authentication.

Enable Windows authentication for SQL Server

  1. On your server computer, click Start ,point to All Programs , point to Microsoft SQL Server ,and then click Enterprise Manager .

  2. In EnterpriseManager, click the plus sign (+) next to Microsoft SQLServers .

  3. Click the plus sign (+) next to SQL ServerGroup .

  4. Right-click the SQL Server name, and then click Properties .

  5. In the Properties dialogbox, click the Security tab.

  6. Under Authentication , select Windows only , and thenclick OK .

RunningSetup

By default, when you install , the Setupprogram installs WMSDE. To use with SQLServer, you must install without installing WMSDE. To do so, you runthe Setup program with the remotesql command-line option. Formore information about the remotesql option and otherSetup options, see Command-Line Options for Setupsts.exe . If you prefer, youcan also install without WMSDE by running a quiet, command-lineinstallation, rather than running the full Setup program. For more informationabout a quiet installation, see Performing a Quiet Installation .

Install without installing WMSDE

  1. Download STSV2.exe to your computer.

    You can download STSV2.exe from the Microsoft Web site.

  2. Run STSV2.exe to extract the installation files.

  3. When the installation starts, click Cancel .

  4. Click Start , and then click Run .

  5. In the Open box, type c:\folder\setupsts.exe remotesql=yes (where c:\folder is the path to the Setupsts.exe file on your local computer).

    For example, if you installed the US English version of STSV2.exe, then the folder is c:\program files\STS2Setup_1033.

  6. Click OK .

    The Setup program opens.

  7. On the End-User License Agreement page, review the terms, and then select the I accept the terms in the License Agreement check box, and then click Next .

  8. On the Type of Installation page, click Server Farm , and then click Next .

  9. On the Summary page, verify that only will be installed, and then click Install .

  10. Setup runs and installs .

After Installation

After the Setupprocess is complete, you can configure your administrative virtual server(including specifying an application pool to use for the virtual server processes), connect to SQLServer, and then configure your virtual servers with . You performthese steps by using HTML Administration pages.

Configure the administrative virtual server

  1. On the Configure Admin Virtual Serverpage, in the Application Pool section, select Create anew application pool .

    Note: You can also use an existing applicationpool, but any Web application that is using the same application pool canmodify the databases. This is a potential security risk.

  2. Type the name to use for the new application pool, andthen specify whether to use a predefined or configurable security account forthe application pool.

    • If you selected Predefined , select the security account to use.

    • Ifyou selected Configurable , type the user name and password touse.

    The account you use must have rights to create databases in SQL Server. In other words, this account must be a member of theSecurity Administrators and Database Creators roles in SQL Server.

  3. Click OK .

If you have used anaccount that does not already have database creation rights in SQL Server, youcan give the account this access in SQL Server Enterprise Manager. This is aone-time-only change. Once you have granted database creation permissions tothe account used by the administration virtual server, this accountcan create databases for any subsequent virtual servers.

Grant database creation rights in SQL Server

  1. On your server computer, click Start ,point to All Programs , point to Microsoft SQL Server ,and then click Enterprise Manager .

  2. InEnterprise Manager, click the plus sign (+) next to MicrosoftSQL Servers , click the plus sign (+) next to SQL ServerGroup , and then click the plus sign (+) next to your SQL Server computer.

  3. Click the plus sign (+) next to Security , and then right-click Logins , and click New Login .

  4. In the Name box, type the account in the form DOMAIN\name.

  5. Click the Server Roles tab.

  6. In the Server Role list, select the SecurityAdministrators and Database Creators check boxes, andthen click OK .

After you configure theadministrative virtual server (and grant SQL Server rights to the newapplication pool account, if necessary), you must restart Internet InformationServices (IIS) by typing iisreset on the command line. AfterIIS is reset, you can click the link on the Application PoolChanged page to continue configuring to work with SQLServer.

Connect to SQL Server

  1. On the Set Configuration DatabaseServer page, in the Configuration Database section,enter the server name and database name to use.

  2. Under Database connection type , select Use Windows integratedauthentication (more secure, recommended) .

  3. Click OK .

Extending a Virtual Serverwith

After you set up the connection to SQL Server,you are ready to extend your virtual servers with . When you extend avirtual server, is applied to a virtual server and a top-level Website is created. To extend a virtual server, you use HTML Administrationpages.

Extend a virtual server with andconnect to SQL Server

  1. On theSharePoint Central Administration page, click Extend orupgrade virtual server .

  2. On the Virtual ServerList page, click the name of the virtual server to extend.

  3. On the Extend Virtual Server page, in the Provisioning Options section, select Extend and create acontent database .

  4. In the Application Pool section, select either Use an existing application pool or Create a new application pool .

    Note: It is recommended that youcreate a new application pool for each virtual server, so that they run inseparate processes. This application pool should use a domain account, but itdoes not need to have database creation rights in SQL Server theadministration virtual server account will create any databasesrequired.

    If you selected Use an existing applicationpool , select the application pool to use. If you selected Createa new application pool , enter the new application pool name, username, and password to use.

  5. In the SiteOwner section, in the Account name box, type the username for the site owner (in the format DOMAIN\username if the user name is partof a Windows domain group).

  6. In the E-mail address box, type the e-mail address that corresponds to the account.

  7. Inthe Database Information section, select the Use defaultcontent database server check box, or type the database server name anddatabase name to use for a new content database.

  8. If you want tospecify a path for the URL, in the Custom URL path box, typethe path to use.

    Note: If you are using quotas, you can also specify thequota template to apply in the Quota Settings section.

  9. In the Site Language section,select the language to use.

  10. Click OK .

After a few moments, the virtual server is extended and aconfirmation page is displayed. You can open the home page for your new Website in your browser by using a link on the confirmation page. You can continueto extend other virtual servers or configure Self-Service Site Creation sousers can create their own sites. For more information about allowing users tocreate their own Web sites based on , see Configuring Self-Service Site Creation .