Setting Up IIS 7.0
The
way you set up IIS 7.0 depends on the role and operating system you are using.
As discussed previously, you can configure IIS 7.0 to support one of three
server roles: application server, Web server, and server running SharePoint
Services. You can also configure IIS 7.0 as part of a desktop installation. I
discuss deploying IIS 7.0 in each of these situations in the sections that
follow.
Installing Application Servers
You can install an application server
with or without Web server support by following these steps:
1.
|
Start Server Manager by clicking the Server Manager icon on
the Quick Launch toolbar or by clicking Start, Administrative Tools, Server
Manager.
|
2.
|
In Server Manager, select the Roles node in the left pane, and
then, under Roles Summary, click Add Roles. This starts the Add Roles Wizard.
If the wizard displays the Before You Begin page, read the Welcome page, and
then click Next. You can avoid seeing the Welcome page the next time you start
this wizard by selecting the Do Not Show Me This Page Again check box before
clicking Next.
|
3.
|
On the Select Server Roles page, select the Application Server
role. You'll then see the Add Features Required For Application Server dialog
box. This dialog box lists the features that are required in order to install
an application server. Click Add Required Features to close the dialog box and
add the .NET Framework 3.0 components and the Windows Process Activation
Service components to the application server installation.
|
4.
|
When you are deploying an application server with Web Server
support, you can elect to accept the default common Web features or configure
the exact features you'd like to use. If you have not installed Web Server
(IIS) components previously and want to select the Web server (IIS) components
for installation, select Web Server (IIS), and then click Next twice.
Otherwise, just click Next twice to continue.
|
5.
|
You should now see the Select Role Services page. If not
previously installed, select Web Server (IIS) Support to install the
application server with Web server support in the standard default
configuration. You'll then see a dialog box listing the additional required
roles. After you review the required roles, click Add Required Role Services to
close the dialog box.
Note
I recommend selecting Web Server (IIS) Support if the application server will
host Web sites or Web services. This will ensure that Setup selects the
required Web Common features by default, and this will be helpful later in the
setup process.
|
6.
|
Select
other role services to install as appropriate, and then click Next. If you
select a role service with additional required features, you'll see a dialog
box listing the additional required roles. After you review the required roles,
click Add Required Role Services to close the dialog box.
|
7.
|
If you selected the WS-Atomic Transactions feature, you'll see
the Choose A Certificate For SSL Encryption page next. You have the following
options:
-
Choose An Existing Certificate For SSL Encryption
Select this option if you previously obtained a certificate from a
certification authority (CA) and want to install it for use with the WS-AT site
that Setup will configure on the server. If you've previously imported
certificates using the Certificate snap-in or the Import Certificate Wizard,
you'll see a list of available certificates, and you can click the certificate
you want to use. Otherwise, click Import to start the Certificate Import
Wizard, and then follow the prompts to import the certificate.
-
Create A Self-Signed Certificate For SSL Encryption
Select this option if you are using WS-Atomic transactions with a limited
number of clients or for testing/development purposes and want to create and
then automatically install a self-signing certificate for use with the WS-AT
site that Setup will configure on the server. You will need to install the same
certificate manually on all clients that need to be able to authenticate with
the server.
-
Choose A Certificate For SSL Encryption Later
Select this option if you haven't obtained a certificate from a CA yet but plan
to later. When you choose this option, IIS disables SSL on the WS-AT site until
you import the certificate
|
8.
|
If you selected Web Server (IIS) on the Select Server Roles
page, as discussed in Step 5, click Next twice to display the Select Role
Services page for Web server features. You can then select the Web server
features to install. In most cases, you'll want to select additional features
rather than trying to remove features. When selecting or clearing role
services, keep the following in mind before you click Next to continue:
-
If you select a role service with
additional required features, you'll see a dialog box listing the additional
required roles. After you review the required roles, click Add Required Role
Services to accept the additions and close the dialog box. If you click Cancel
instead, Setup clears the feature you previously selected.
-
If you try to remove a role service
that is required based on a previous selection, you'll see a warning prompt
about dependent services that Setup must also remove. In most cases, you'll
want to click Cancel to preserve the previous selection. If you click Remove
Dependent Role Services, Setup
will remove the previously selected dependent
services, which could cause the Web server to not function as expected
|
9.
|
Click Next. On the Confirm Installation Selections page, click
the Print, E-mail, Or Save This Information link to generate an installation
report and display it in Windows Internet Explorer. You can then use standard
Windows Internet Explorer features to print or save the report. After you've
reviewed the installation options and saved them as necessary, click Install to
begin the installation process.
|
10.
|
When Setup finishes installing the application server with the
features you've selected, you'll see the Installation Results page. Review the
installation details to ensure that all phases of the installation completed
successfully. If any portion of the installation failed, note the reason for
the failure, and then use these troubleshooting techniques:
-
Click the
Print, E-mail, Or Save The Installation Report link to create or update the
installation report and display it in Windows Internet Explorer.
-
Scroll down to
the bottom of the installation report in Windows Internet Explorer, and then
click Full Log (For Troubleshooting Only) to display the Server Manager log in
Notepad.
-
In Notepad,
press Ctrl+F, type the current date in the appropriate format for your language
settings, such as 2007-08-30, and then click Find Next. Notepad will then move
through the log to the first Setup entry from the current date.
-
Review the
Server Manager entries for installation problems, and take corrective actions
as appropriate.
|
Installing Web Servers
You can install a Web server by
following these steps:
1.
|
Start the Server Manager by clicking the Server Manager icon
on the Quick Launch toolbar or by clicking Start, Administrative Tools, Server
Manager.
|
2.
|
In Server Manager, select the Roles node in the left pane and
then, under Roles Summary, click Add Roles. This starts the Add Roles Wizard.
If the wizard displays the Before You Begin page, read the Welcome page, and
then click Next. You can avoid seeing the Welcome page the next time you start
this wizard by selecting the Do Not Show Me This Page Again check box before
clicking Next.
|
3.
|
On the Select Server Roles page, select the Web Server (IIS)
role. You'll then see the Add Features Required For Web Server dialog box. This
dialog box lists the features that are required to install a Web server. Click
Add Required Features to close the dialog box and add the Windows Activation
Service components to the Web server installation. Click Next twice to
continue.
|
4.
|
On the Select Role Services page, Setup selects the core set
of standard features by default. When selecting or clearing role services, keep
the following in mind before you click Next to continue:
-
If you select a role service with
additional required features, you'll see a dialog box listing the additional
required roles. After you review the required roles, click Add Required Role
Services to accept the additions and close the dialog box. If you click Cancel
instead, Setup will clear the feature you previously selected.
-
If you try to remove a role service
that is required based on a previous selection, you'll see a warning prompt
about dependent services that Setup must also remove. In most cases, you'll
want to click Cancel to preserve the previous selection. If you click Remove
Dependent Role Services, Setup will also remove the previously selected
dependent services, which could cause the Web server to not function as
expected.
|
5.
|
Click Next. On the Confirm Installation Options page, click
the Print, E-mail, Or Save This Information link to generate an installation
report and display it in Windows Internet Explorer. You can then use standard
Windows Internet Explorer features to print or save the report. After you've
reviewed the installation options and saved them as necessary, click Install to
begin the installation process.
|
6.
|
When Setup finishes installing the application server with the
features you've selected, you'll see the Installation Results page. Review the
installation details to ensure that all phases of the installation completed
successfully. If any portion of the installation failed, note the reason for
the failure and then use these troubleshooting techniques:
-
Click
the Print, E-mail, Or Save The Installation Report link to create or update the
installation report and display it in Windows Internet Explorer.
-
Scroll down
to the bottom of the installation report in Windows Internet Explorer and then
click Full Log (For Troubleshooting Only) to display the Server Manager log in
Notepad.
-
In
Notepad, press Ctrl+F, type the current date in the appropriate format for your
language settings, such as 2007-08-30, and then click Find Next. Notepad will
then move through the log to the first Setup entry from the current date.
-
Review
the Server Manager entries for installation problems and take corrective
actions as appropriate.
|
Installing Windows SharePoint
Services
Windows
SharePoint Services uses one of two distinctly different configurations:
independent server configuration and dependent load-balanced configuration.
With an independent server configuration, you install Windows SharePoint
Services on a single server that has its own database for storing application
and user information. With a dependent load-balanced configuration, you install
SharePoint Services on a computer as part of a Web farm where all servers share
a Microsoft SQL Server 2000 or SQL Server 2005 database. Although both types of
installations are configured using a similar initial setup process, if you want
to connect to the SQL Server database and use load balancing, you must
configure a server that is part of a Web farm.
Note
Windows SharePoint Services 2008 is a
supplement to the Windows Server 2008 operating system. As such, Windows
SharePoint Services 2008 is not included in Windows Server 2008 and must be
installed separately. Once you've downloaded the installer packages from
Microsoft and double-clicked each one to install it, you can configure this
role using Server Manager, as discussed in this section. However, because
SharePoint is a supplement, the wizard pages and related setup options may be
different.
You can install Windows SharePoint
Services on a computer by following these steps:
1.
|
Start Server Manager by clicking the Server Manager icon on
the Quick Launch toolbar or by clicking Start, Administrative Tools, Server
Manager.
|
2.
|
In Server Manager, select the Roles node in the left pane, and
then, under Roles Summary, click Add Roles. This starts the Add Roles Wizard.
If Setup displays the Before You Begin page, read the Welcome page and then
click Next. You can avoid seeing the Welcome page the next time you start this
wizard by selecting the Do Not Show Me This Page Again check box before
clicking Next.
|
3.
|
On the Select Server Roles page, select the Windows SharePoint
Services role. You'll then see the Add Role Services And Features Required For
Windows SharePoint Services dialog box. Click Add Required Features to close
the dialog box and add the Web Server (IIS), Windows Activation Service, and
.NET Framework 3.0 components to the SharePoint installation. Click Next.
|
4.
|
Read the introduction to Windows SharePoint Services. As
necessary, click the links provided to learn more about the features offered
with Windows SharePoint Services. Click Next when you are ready to continue.
|
5.
|
On the Select Configuration Type page, choose the type of
installation. If you are deploying a single-server solution, select Install
Only On This Server and then click Next. If you are deploying a server that is
part of a Web farm, select Install As Part Of A Server Farm, and then click
Next.
|
6.
|
Although
individual SharePoint sites can use different languages, the administration
site for Windows SharePoint Services can use only the language chosen during
Setup, and you cannot change this language later. On the Select The Language
For The Administration Site page, use the selection drop-down list provided to
choose the desired language for the administration site, such as English,
German, or Korean, and then click Next.
|
7.
|
If you are installing a single-server configuration of Windows
SharePoint Services, on the Specify E-mail Settings page, configure the default
e-mail settings that SharePoint will use to send e-mail notifications to
administrators. You can use the options provided as follows:
-
Outbound SMTP Server Sets the fully
qualified domain name of the e-mail server that will send notifications to
administrators, such as
http://megasolutions.net.
-
From E-mail Address Sets the e-mail address
that will appear in the From field of notification messages, such as
megasolutions.net.
-
Reply-To E-mail Address Sets the reply-to
e-mail address for notification messages, such as
megasolutions.net.
|
8.
|
If you have not previously installed Web Server (IIS), click
Next twice to display the Select Role Services page for Web server features.
You can then select the Web server features to install. In most cases, you'll
want to select additional features rather than trying to remove features. When
selecting or clearing role services, keep the following in mind before you
click Next to continue:
-
If you select a role service with
additional required features, you'll see a dialog box listing the additional
required roles. After you review the required roles, click Add Required Role
Services to accept the additions and close the dialog box. If you click Cancel
instead, Setup will clear the feature you previously selected.
-
If you try to remove a role service that
is required based on a previous selection, you'll see a warning prompt about
dependent services that Setup must also remove. In most cases, you'll want to
click Cancel to preserve the previous selection. If you click Remove Dependent
Role Services, Setup will also remove the previously selected dependent
services, which could cause the Web server to not function as expected.
|
9.
|
On the Confirm Installation Selections page, click the Print,
E-mail, Or Save This Information link to generate an installation report and
display it in Windows Internet Explorer. You can then use standard Windows
Internet Explorer features to print or save the report. After you've reviewed
the installation options and saved them as necessary, click Install to begin
the installation process.
|
10.
|
If you are setting up a server that is
part of a Web farm, you must configure a connection to the shared SQL Server
database and perform other preliminary setup tasks by using the Windows
SharePoint Services Central Administration tool.
|
11.
|
When Setup finishes installing the application server with the
features you've selected, you'll see the Installation Results page. Review the
installation details to ensure that all phases of the installation completed
successfully. If any portion of the installation failed, note the reason for
the failure and then use these troubleshooting techniques:
-
Click the
Print, E-mail, Or Save The Installation Report link to create or update the
installation report and display it in Windows Internet Explorer.
-
Scroll down to
the bottom of the installation report in Windows Internet Explorer and then
click Full Log (For Troubleshooting Only) to display the Server Manager log in
Notepad.
-
In Notepad,
press Ctrl+F, type the current date in the appropriate format for your language
settings, such as 2007-08-30, and then click Find Next. Notepad will then move
through the log to the first Setup entry from the current date.
-
Review
the Server Manager entries for installation problems and take corrective
actions as appropriate.
|
Adding or Removing Web Server
Features on Windows Vista
In earlier versions of Windows, you
use Add/Remove Windows Components in the Add or Remove Programs application to
add or remove operating system components. In Windows Vista, you configure
operating system components as Windows features that you can turn on or off
rather than add or remove.
You can configure Web server
features on a computer running Windows Vista by completing these steps:
1.
|
Click Start, and then click Control Panel.
|
2.
|
In Control Panel, click Programs.
|
3.
|
Under Programs And Features, click Turn Windows Features On Or
Off. This displays the Windows Features dialog box.
|
4.
|
You'll find Windows features for Web servers under the
following nodes:
-
Internet Information Services/FTP Publishing Service
Includes the FTP Management Console and the FTP Server
-
Internet Information Services/Web Management Tools
Includes the IIS 6 Management and IIS 7.0 Management components
-
Internet Information Services/World Wide Web Services
Includes the Application Development, Common HTTP,
Health and Diagnostics, Performance, and Security features
-
Microsoft .NET Framework 3.0 Includes the
XPS View and the HTTP Activation and Non-HTTP Activation components for WCF
-
Microsoft Message Queue (MSMQ) Server Includes
the MSMQ Core server components in addition to support and integration
components for message queuing
-
Windows Process Activation Service Includes
the .NET Environment, Configuration APIs, and Process Model
To turn features on, select feature check boxes. To turn features off, clear
feature check boxes. As you select features, Windows Vista selects any required
related features automatically without a warning prompt.
|
5.
|
When you click OK, Windows Vista reconfigures components as
appropriate for any changes you've made. You may need your original
installation media.
|
|