Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 26 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
26
Dung lượng
0,94 MB
Nội dung
Contents
Overview 1
What is IIS? 2
Preparing for an IIS Installation 3
Installing IIS 4
Configuring a Web Site 6
Lab A: Configuring a Web Site 17
Review 20
Module 4:Configuring
Web Services
Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
2000 Microsoft Corporation. All rights reserved.
Microsoft, Active Directory, BackOffice, MS-DOS, PowerPoint, Visual Studio, Windows,
Windows Media, and Windows NT are either registered trademarks or trademarks of Microsoft
Corporation in the U.S.A. and/or other countries.
The names of companies, products, people, characters, and/or data mentioned herein are fictitious
and are in no way intended to represent any real individual, company, product, or event, unless
otherwise noted.
Other product and company names mentioned herein may be the trademarks of their respective
owners.
Project Lead and Instructional Designer: Rick Selby
Project Revision Leads: Red Johnston; Jaswinder Singh Lamba (NIIT [USA] Inc.)
Revision Development: NIIT (USA) Inc.
Instructional Designers: Victoria Fodale (ComputerPREP, Inc); Barbara Pelletier (S&T OnSite)
Program Manager: Rodney Miller
Testing Leads: Sid Benavente, Keith Cotton
Testing Developer: Greg Stemp (S&T OnSite)
Courseware Test Engineers: Jeff Clark; Jim Toland (ComputerPREP, Inc)
Graphic Artist: Julie Stone (Independent Contractor)
Editing Manager: Lynette Skinner
Editor: Kelly Baker (Write Stuff)
Copy Editor: Kathy Toney (S&T Consulting)
Online Program Manager: Debbi Conger
Online Publications Manager: Arlo Emerson (Aquent Partners)
Online Support: Eric Brandt (S&T OnSite)
Multimedia Development: Kelly Renner (Entex)
Compact Disc and Lab Testing: Data Dimensions, Inc.
Production Support: Irene Barnett (S&T Consulting)
Manufacturing Manager: Rick Terek (S&T OnSite)
Manufacturing Support: Laura King (S&T OnSite)
Lead Product Manager, Development Services: Bo Galford
Lead Product Manager: Gerry Lang
Group Product Manager: Robert Stewart
Simulations and interactive exercises were built by using Macromedia Authorware
Module4:ConfiguringWebServices iii
Instructor Notes
This module provides students with the knowledge and skill necessary to
configure the built-in Web server for the Microsoft
® Windows® 2000 server
family. The module first introduces Internet Information Services (IIS) 5.0, and
then explains how to establish and configure Web sites.
At the end of this module, students will be able to:
Describe the use of IIS.
Plan an IIS installation.
Install IIS.
Configure a Web site.
Materials and Preparation
This section provides you with the materials and preparation needed to teach
this module.
Materials
To teach this module, you need the following materials:
• Microsoft PowerPoint
® file 1594B_04.ppt
Preparation
To prepare for this module, you should:
Read all the materials for this module.
Complete the lab.
Presentation:
35 Minutes
Lab:
30 Minutes
iv Module4:ConfiguringWebServices
Module Strategy
Use the following strategy to present this module:
What is IIS?
This topic introduces IIS. Explain the integrated environment of the
operating system and Web services. Briefly mention other Webservices
available with IIS.
Preparing for an IIS installation
This topic describes the requirements for a successful IIS installation.
Describe the network services and information that you must establish
before installing IIS.
Installing IIS
This topic presents the procedure for installing IIS. Briefly explain the two
options for installing IIS, describe how to install IIS, and then explain how
to test the installation.
Configuring a Web site
This topic describes the tasks for configuringWeb sites. First, explain how
to configure Web site identification settings. Explain the purpose of the
home directory and the use of local and virtual directories. Next, describe
different authentication methods and how IIS authenticates users. Finally,
explain the use of default documents.
Customization Information
This section identifies the lab setup requirements for a module and the
configuration changes that occur on student computers during the labs. This
information is provided to assist you in replicating or customizing Microsoft
Official Curriculum (MOC) courseware.
The lab in this module is also dependent on the classroom
configuration that is specified in the Customization Information section at the
end of the Classroom Setup Guide for course 1594B, Installing and
Configuring Microsoft Windows 2000 File, Print, and Web Servers.
Lab Setup
The lab in this module requires that you perform the procedure specified in the
classroom setup guide before performing the lab.
Lab Results
Performing the labs in this module introduces the following configuration
changes:
Default Web site is changed to Northwind Traders Web.
Home directory for the Default Web site is changed to C:\nwindweb.
Basic Authentication is enabled.
Home.htm is made the first default document for the Default Web site.
Importan
t
Module4:ConfiguringWebServices 1
Overview
What is IIS?
Preparing for an IIS Installation
Installing IIS
Configuring a Web Site
Microsoft® Windows® 2000 Server and Advanced Server integrate Web
publishing into the operating system with a built-in Web server, Internet
Information Services (IIS) 5.0. The integrated Web publishing environment
provided by Windows 2000 makes it easier for an organization to publish and
host Web content over a corporate intranet or the Internet.
At the end of this module, you will be able to:
Describe the use of IIS.
Prepare for an IIS installation.
Install IIS.
Configure a Web site.
Slide Objective
To provide an overview of
the module topics and
objectives.
Lead-in
In this module, you will learn
about configuring IIS on a
server running
Windows® 2000 Server or
Advanced Server.
2 Module4:ConfiguringWebServices
What is IIS?
Windows 2000 Server or Advanced Server running IIS:
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~~~ ~~~ ~~~
Intranet Internet
• World Wide Web (WWW) Server
• File Transfer Protocol (FTP) Service
• Network News Transfer Protocol (NNTP) Service
• Simple Mail Transfer Protocol (SMTP) Service
IIS installs automatically as a networking service when you install
Windows 2000. IIS is designed to support simple in addition to multiple Web
sites on a single Web server. The Web publishing features of IIS integrate the
latest Internet standards to provide higher levels of security, better performance,
and standards-based publishing protocols.
In addition to the World Wide Web (WWW) server, other Webservices
available with IIS include:
File Transfer Protocol (FTP) Service. Allows you to set up FTP sites for
uploading and downloading of files.
Network News Transfer Protocol (NNTP) Service. Allows you to host
electronic discussion groups, or newsgroups. Newsgroups contain threaded
discussions, which consist of articles and follow-up posts that are related to
a particular subject.
Simple Mail Transfer Protocol (SMTP) Service. Allows you to send mail
messages from one server to another over the Internet. In addition, many
mail clients require SMTP to send messages to a mail server.
Slide Objective
To illustrate the integrated
environment provided by
Windows 2000 for
publishing and sharing
information on an intranet or
the Internet.
Lead-in
You can use IIS to support
Web sites on a corporate
intranet or the Internet.
Module4:ConfiguringWebServices 3
Preparing for an IIS Installation
Install TCP/IP
Install TCP/IP
Configure a Static IP Address
Configure a Static IP Address
192.168.120.133
192.168.120.133
192.168.120.133
Establish a Domain Name
Establish a Domain Name nwtraders.msft
nwtraders.
nwtraders.
msft
msft
Before you install IIS, make sure that you configure your server running
Windows 2000 with the following network services and information:
Transmission Control Protocol/Internet Protocol (TCP/IP). You must
install TCP/IP before installing IIS to provide the connectivity necessary for
transmitting data.
Internet Protocol (IP) address. You must use a static IP address for your
server if you intend to use IIS to publish content to the Internet. An IP
address is a 32-bit number that uniquely identifies a computer connected to
the Internet, to the other computers on the Internet.
Domain name. To make your Web site accessible by a domain name instead
of an IP address, you need to have a Domain Name System (DNS) server
available. A DNS server is a distributed database that is used in IP networks
to resolve domain names to IP addresses. Windows 2000 uses DNS as its
primary method for name resolution.
Computers running Windows 2000 are configured to receive TCP/IP
configuration information from a Dynamic Host Configuration Protocol
(DHCP) server by default. You must configure TCP/IP with a static IP
address before you install the Microsoft DNS Server service and perform
any other DNS configurations.
Slide Objective
To identify the network
services and information
required before you install
IIS.
Lead-in
Proper preparation will help
ensure that your IIS
installation is successful.
Note
4 Module4:ConfiguringWebServices
Installing IIS
To Install IIS
To Install IIS
To Install IIS
Perform the installation:
Adds Internet Services Manager to the
Administration Tools Menu
Adds the Default Web Site and the
Default FTP Site
Perform the installation:
Adds Internet Services Manager to the
Administration Tools Menu
Adds the Default Web Site and the
Default FTP Site
Test the installation:
Use Internet Explorer to view files in
home directory, C:\\Inetpub\Wwwroot
Test the installation:
Use Internet Explorer to view files in
home directory, C:\\Inetpub\Wwwroot
When you configure IIS during the installation of one of the operating systems
in the Windows 2000 server family, Setup adds the Internet Services Manager
to the Administrative Tools menu and creates the Default Web Site and
Default FTP Site. After you install IIS, you can test the IIS installation by using
a browser to view files over your intranet or the Internet.
Setup will upgrade existing versions of IIS and Microsoft Personal Web
Server (PWS) to IIS 5.0 when you install one of the operating systems in the
Windows 2000 server family.
Performing the Installation
When you install IIS, Setup adds Internet Services Manager to the
Administrative Tools menu. You use Internet Services Manager to manage the
Web server and configure Web and FTP sites. Setup also adds a default Web
site and FTP site during installation.
To install IIS after Windows 2000 has been installed, perform the following
steps:
1. In Control Panel, double-click Add/Remove Programs.
2. Click Add/Remove Windows Components, click Internet Information
Services (IIS), and then follow the on-screen instructions in the Windows
Components wizard to install IIS.
Slide Objective
To identify installation tasks
and results.
Lead-in
When you install IIS, Setup
adds the Internet Services
Manager to the
Administrative Tools menu
and creates the Default Web
Sites and Default FTP Site.
Note
Module4:ConfiguringWebServices 5
Testing the Installation
After installing IIS, you should test your installation by using Internet Explorer
to view the files in your home directory. The home directory is the central
location for your published pages. ISS creates the default home directory in
C:\Inetpub\Wwwroot during Setup.
To test your installation, perform the following steps:
1. Start Internet Explorer on a computer that has an active connection to your
intranet or the Internet. This computer can be the computer that you are
testing, although it is recommended that you use a different computer on the
network.
2. In the Address box, type server_name (where server_name is the name of
your computer), and then press ENTER.
The home page for the default Web site installed during Setup appears in the
browser. A home page is the initial page of information for a Web site.
6 Module4:ConfiguringWebServices
Configuring a Web Site
Identifying the Web Site
Configuring the Home Directory
Identifying Methods of Authentication
Configuring Authentication
Assigning a Default Document
Before users can connect to your Web site, you must configure the IP address
and domain name that users will use to connect to the Web site. You can also
specify the type of authentication used to validate a user’s logon information.
IIS 5.0 provides four methods of authentication: Anonymous, Basic, Digest,
and Integrated Windows authentication. To publish Web content, you need to
configure home and virtual directories to store that content. To help users
navigate your Web site, you can assign a default document. A default document
appears if a user request to the Web server does not include a file name.
For more information about IIS, see Internet Information Services 5.0
Technical Overview under Additional Reading on the Web page on the
Student Materials compact disc.
Slide Objective
To identify the tasks that
you perform when
configuring a Web site.
Lead-in
There are a number of tasks
that you need to perform
before users can connect to
your Web site.
Note
[...].. .Module 4:ConfiguringWebServices 7 Identifying the Web Site Default Web Site Properties Slide Objective Directory Security Web Site Operators To describe the settings used to identify a Web site HTTP Headers Custom Errors Server Extensions Performance ISAPI Filters Home Directory Documents Web Site Identification Lead-in Description: Default Web Site IP Address: (All Unassigned)... Module 4:ConfiguringWebServices Lab A: Configuring a Web Site Slide Objective To introduce the lab Lead-in In this lab, you will configure a Web site by using existing content Explain the lab objectives Objectives After completing this lab, you will be able to: Install Internet Information Services (IIS) Configure a Web site Prerequisites Before working on this lab, you should be able to use a Web. .. requirement for Web sites that provide e-commerce and access to sensitive business information 2 Click OK to close the Default Web Site Properties dialog box 8 Module4:ConfiguringWebServices To create a new site by using the Web Site Creation wizard, perform the following steps: 1 In Internet Services Manager, select a computer or site 2 On the Action menu, point to New, and then click Web Site Tell... and intranet resources Estimated time to complete this lab: 30 minutes 17 18 Module4:ConfiguringWebServices Exercise 1 Establishing a Web Site Scenario A Web page designer has created a Web page for your company’s intranet, and you have to configure a Web server so that this page is accessible from within the company The Web page has public sections and a private section only for managers You need... work only with Windows 2000 domain controllers Module 4:ConfiguringWebServices 15 Configuring Integrated Windows Authentication Integrated Windows authentication does not work across proxy servers or other firewall applications To enable integrated Windows authentication for a Web site: 1 In the Internet Information Services window, right-click the Web site, and then click Properties 2 Under Anonymous... Integrated Windows Authentication to select the authentication option 4 Click OK 16 Module4:ConfiguringWebServices Assigning a Default Document Slide Objective To identify the assignment of default documents Lead-in Default documents can help users navigate your Web site more efficiently Default Web Site Properties Web Site Operators Performance ISAPI Filters Documents Directory Security HTTP Headers... security restrictions, imposed by NTFS permissions that determine the level of access Module 4:ConfiguringWebServices 11 Basic Authentication Basic authentication prompts users for a user name and password before allowing access to a Web page You can set basic authentication at the Web site, folder, or file level When the Web server verifies that the user name and password correspond to a valid Windows... discussed later in the module Follow the instructions in the Web Site Creation wizard to configure your new site You must provide an IP address, port settings, and the path of the home or virtual directory You specify a virtual directory if your home directory is located on another hard disk on the local computer or on another computer on the network Module 4:ConfiguringWebServices 9 Configuring the Home... Change the name of the Web site to Northwind Traders Web In the console tree, under Internet Information Services, expand server (where server is the name of your computer) d Open the Properties dialog box for Default Web Site e - Change the home directory so that it points to the Web content in C:\Nwindweb On the Web Site tab, in the Description box, type Northwind Traders Web and then click Apply... dialog box g Click OK to close the Northwind Traders Web Properties dialog box h Click OK to close the Inheritance Overrides message Module 4:ConfiguringWebServices 19 Tasks Detailed Steps 3 Configure permissions to provide only the managers group with the permissions that are necessary to access the Management Web page a Right-click Northwind Traders Web, and then click Explore b Open the Properties . Installation 3
Installing IIS 4
Configuring a Web Site 6
Lab A: Configuring a Web Site 17
Review 20
Module 4: Configuring
Web Services
Information. discussed
later in the module.
Module 4: Configuring Web Services 9
Configuring the Home Directory
Default Web Site Properties
Web Site Operators Performance