Tài liệu Module 3: Administering Web and FTP Sites pdf

48 307 0
Tài liệu Module 3: Administering Web and FTP Sites pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Contents Overview 1 Managing Content 2 Performing Remote Administration 6 Lab A: Managing Web Sites Remotely 9 Managing the Metabase 14 Lab B: Backing Up and Restoring Web Sites 23 Administering Sites Using Built-In Scripts 26 Lab C: Creating a Web Site Using Built-In Scripts and Adding Content Using WebDAV 35 Restarting Internet Services 38 Review 40 Module 3: Administering Web and FTP Sites 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.  2001 Microsoft Corporation. All rights reserved. Microsoft, Active Directory, ActiveX, BackOffice, FrontPage, MS-DOS, Outlook, PowerPoint, SQL Server, Visual Basic, Visual InterDev, Visual SourceSafe, Visual Studio, Windows, Win32, Windows Media, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners. Module 3: Administering Web and FTP Sites iii Instructor Notes This module provides students with the knowledge and skills to administer Web sites. After completing this module, students will be able to:  Manage File Transfer Protocol (FTP) and Web Distributed Authoring and Versioning (WebDAV) content.  Perform remote administration by using the Microsoft® Internet Information Services (IIS) 5.0 snap-in and Internet Services Manager (HTML).  Manage the IIS metabase.  Administer sites by using built-in scripts.  Restart Internet services by using the IIS snap-in and the iisreset command. Materials and Preparation This section provides the materials and preparation tasks that you need to teach this module. Required Materials To teach this module, you need Microsoft PowerPoint® file 2295A_03.ppt. Preparation Tasks To prepare for this module, you should:  Read all of the materials for this module.  Complete the labs. Module Strategy Use the following strategy to present this module:  Managing Content Explain how to use FTP to upload content to a Web site. Define WebDAV Publishing and discuss ways that it can be used in an intranet. Explain how to configure WebDAV.  Performing Remote Administration Discuss the benefits of administering Web sites from computers other than the IIS server. Explain how to enable remote administration over the Internet, but caution students about the possible security risks of doing so. Demonstrate how to connect to Internet Services Manager (HTML) and then how to connect to a remote computer by using the IIS snap-in. Perform Lab A: Managing Web Sites Remotely. Presentation: 60 Minutes Lab: 45 Minutes iv Module 3: Administering Web and FTP Sites  Managing the Metabase Students need to understand the IIS metabase structure to work with scripts. Explain the hierarchical structure of the metabase and how properties are inherited. Caution students that they should use the Metabase Editor to make changes to properties only when they cannot do so with the IIS snap- in, Internet Services Manager (HTML), or a script. Explain how each instance of a Web site is identified in the metabase. Describe how to install and use the Metabase Editor. Discuss the methods for backing up and restoring the metabase; neither backup nor restore are new procedures for the students, so you do not need to explain these procedures in detail. Perform Lab B: Backing Up and Restoring Web Sites.  Administering Sites Using Built-In Scripts Discuss the benefits of administering multiple Web sites by using the built- in administrative scripts. Present the most commonly used scripts and describe the syntax for each. Perform Lab C: Creating a Web Site Using Built-In Scripts and Adding Content Through WebDAV.  Restarting Internet Services Explain how to stop and start Internet services by using the IIS snap-in, and then explain how to accomplish the same tasks by using the iisreset command. Module 3: Administering Web and FTP Sites v 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 labs in this module are also dependent on the classroom configuration that is specified in the Customization Information section at the end of the Classroom Setup Guide for Course 2295A, Implementing and Supporting Microsoft Internet Information Services 5.0. Lab Setup The labs in this module require IIS be installed on drive D. To prepare student computers to meet this requirement, perform one of the following actions:  Complete Module 1, “Installing Internet Information Services 5.0,” in Course 2295A, Implementing and Supporting Microsoft Internet Information Services 5.0. – Or –  Using Add/Remove Programs in Control Panel, remove IIS, and then reinstall IIS services (FTP, Hypertext Transfer Protocol [HTTP] and Simple Mail Transfer Protocol [SMTP]) on drive D. Lab Results Performing the labs in this module introduces the following configuration changes:  Web site server_nameC is installed.  WebDAV virtual directory is created.  D:\Inetpub\WebDAV folder is created. Importan t Module 3: Administering Web and FTP Sites 1 Overview  Managing Content  Performing Remote Administration  Managing the Metabase  Administering Sites Using Built-in Scripts  Restarting Internet Services ***************************** ILLEGAL FOR NON-TRAINER USE****************************** After completing this module, you will be able to:  Manage File Transfer Protocol (FTP) and Web Distributed Authoring and Versioning (WebDAV) content.  Perform remote administration by using the Microsoft® Internet Information Services (IIS) 5.0 snap-in and by using Internet Services Manager (HTML).  Manage the IIS metabase.  Administer sites by using built-in scripts.  Restart Internet services by using the IIS snap-in and by using the iisreset command. Topic Objective To provide an overview of the module topics and objectives. Lead-in In this module, you will learn how to administer Web and FTP sites. 2 Module 3: Administering Web and FTP Sites    Managing Content  Uploading Content Using FTP  Configuring WebDAV Publishing ***************************** ILLEGAL FOR NON-TRAINER USE****************************** Whether your site is on an intranet or the Internet, the principles of providing content are the same. You place files in directories on your server so that users can establish a Hypertext Transfer Protocol (HTTP) or FTP connection and view those files with a Web browser. You can also upload content to your sites by using FTP. IIS 5.0 Web sites are compatible with the industry standard (RFC 2518) for Web Distributed Authoring and Versioning (WebDAV). WebDAV allows users to publish, lock, and manage resources on the Web site. Because it uses HTTP, and HTTP access can be authenticated, WebDAV offers more security than FTP when you are uploading content. Topic Objective To explain how to manage content on a Web or FTP site. Lead-in Web and FTP sites provide content to users. How do you manage the content on those sites? Module 3: Administering Web and FTP Sites 3 Uploading Content Using FTP C:\Inetpub\Ftproot File1.doc File2.zip FTP directory File1.doc File2.zip Web Site Upload File Upload File FTP Site ***************************** ILLEGAL FOR NON-TRAINER USE****************************** You can use FTP to publish content to either a Web or FTP site. If you have large files that users download, you may want to store them on an FTP site. Because FTP is a faster protocol than HTTP, download times will be reduced. To publish content on your FTP site, copy or move your files into the FTP directory. The default directory provided by Setup is C:\Inetpub\Ftproot. To publish content to a Web site by using FTP, you must first specify that the home directory of the FTP server is the same as the home directory for the Web site. Then, for each FTP server that you map to a Web site, make sure it has a separate Internet Protocol (IP) address. Finally, you can log on to the FTP server and upload content to the Web site using FTP. If your Web site is on the Internet, using FTP to publish content can create a security risk because passwords are sent in an unencrypted form. If the FTP site is used only for downloads, enable anonymous access. Also remember to set NTFS permissions to limit visitor access. Topic Objective To explain how to upload content to a Web or FTP site by using FTP. Lead-in Large files that users will download can be stored on an FTP site so that the download time is reduced. Caution 4 Module 3: Administering Web and FTP Sites Configuring WebDAV Publishing WebDAV Directory WebDAV Directory Read Write Directory browsing Use:  Windows 2000  Internet Explorer 5  Office 2000 You Can:  Copy and move  Modify properties  Lock and unlock  Search contents and properties ***************************** ILLEGAL FOR NON-TRAINER USE****************************** Web Distributed Authoring and Versioning (WebDAV) is enabled for all of the Web sites that you create on your IIS 5.0 server. When the correct permissions are set on a directory, users can:  Manipulate resources in a WebDAV directory on your server. For example, users can copy and move files in a WebDAV directory.  Modify properties associated with certain resources. For example, a user can write to and retrieve a file's property information.  Lock and unlock resources so that multiple users can read a file concurrently, but only one person at a time can modify the file.  Search the content and properties of files in a WebDAV directory. Gaining Access to a WebDAV Directory Users can gain access to your WebDAV directory by using any client that supports the industry standard WebDAV protocol, including the following Microsoft products: Microsoft Windows® 2000 connects to a WebDAV directory through the Add Network Place Wizard and displays the contents of a WebDAV directory as if it were part of the file system on the local computer. When you connect to the WebDAV directory, you can move files, retrieve and modify file properties, and perform other file-system tasks. Microsoft Internet Explorer 5 connects to a WebDAV directory when you select Open as Web Folder and lets you perform the same file-system tasks that you can do through Windows 2000. Microsoft Office 2000 creates, publishes, edits, and saves documents directly into a WebDAV directory through any application in Office 2000. Topic Objective To explain how to configure a Web site for WebDAV publishing. Lead-in Web Distributed Authoring and Versioning, or WebDAV, is enabled for all of the Web sites that you create on your IIS 5.0 server. Windows 2000 Internet Explorer 5 Office 2000 [...]... (HTML), and use caution whenever you edit the metabase directly Module 3: Administering Web and FTP Sites 15 Understanding the Metabase Structure Topic Objective To describe the structure of the metabase Lead-in The metabase has a hierarchical structure Computer Computer FTP Service FTP Service FTP Info FTP Info Web Service Web Service Web Info Web Info Templates Templates Public FTP Site Public FTP Site... in the Open box, type http://server_name/WebDAV 4 Select the Open as a Web Folder check box, and then click OK Internet Explorer displays the contents of the WebDAV directory You can copy and paste files to and from the WebDAV directory 6 Module 3: Administering Web and FTP Sites Performing Remote Administration Topic Objective To explain how to administer Web sites remotely Lead-in You can use Internet... key and the Web Service key, which contain properties that affect all FTP and Web servers hosted on that computer, respectively 16 Module 3: Administering Web and FTP Sites FTP Service Key The FTP Service key has subkeys that are associated with individual FTP servers and contain properties specific to each FTP server In turn, each FTP server key has a subkey that is associated with the root virtual... Tools, and then click MetaEdit 2.1 b Expand LM, and then expand W3SVC c Click the 1 folder Which Web site does the 1 folder correspond to? The default Web site 3 Back up the default Web site a In the Metabase menu, click Backup/Restore b In the Configuration Backup/Restore dialog box, click Create Backup, type My Backup and then click OK and click Close c Close MetaEdit Module 3: Administering Web and FTP. .. a script or the command line to set an inheritable property, the values will be propagated to all lower levels immediately Module 3: Administering Web and FTP Sites 17 Identifying a Web Site in the Metabase Topic Objective To explain how Web sites are identified in the metabase Lead-in You use the ADsPath to refer to an object associated with a metabase key FTP Server Instances Web Server Instances... the IWAM_computername user account, and then click Set Password 8 Type the WAMUserPass value, confirm it, and then click OK 9 In the Configuration Backup/Restore dialog box, click the backup file that you created, and then click Restore Your configuration will now be fully restored Module 3: Administering Web and FTP Sites 23 Lab B: Backing Up and Restoring Web Sites Topic Objective To introduce the... C:\MOC\2295A\Labs\Mod3\LabA 2 Module 3: Administering Web and FTP Sites Tasks 5 6 11 Detailed steps Connect your partner’s computer using FTP, and then upload the default.htm and GIF file for your partner’s computer Copy the files from C:\MOC\2295A\Labs\Mod3 \LabA a In Internet Explorer, in the Address box, type FTP: //partner_computer and then press ENTER b Open Windows Explorer and copy the two files in... as the default scripting host by running the following command in a command prompt: cscript //H:cscript You can restore Wscript.exe as the default scripting host by running the following command in a command prompt: cscript //H:wscript Module 3: Administering Web and FTP Sites 27 Creating a Web Site Topic Objective To explain how to create a Web site by using an administration script Mkw3site Mkw3site... click Restore 4 Open a command prompt and type cscript.exe X:\InetPub\AdminScripts\Adsutil.vbs enum w3svc, (where X is the drive where IIS is installed) 22 Module 3: Administering Web and FTP Sites 5 From the settings listed, find the WamUserName and the associated WAMUserPass value 6 Click Start, point to Settings, click Control Panel, double-click Local Users and Groups, and then click Users 7 Right-click... Templates Public FTP Site Public FTP Site FTP Server 1 FTP Server 1 Templates Templates Public Web Site Public Web Site Filters Filters Root VDir Root VDir VDir 1 VDir 1 VDir 1 VDir 1 Filter Filter Web Server 1 Web Server 1 Root VDir Root VDir FTP Server n FTP Server n Logging Logging Log Module 1 Log Module 1 VDir 1 VDir 1 VDir VDir Dir Dir Log Module n Log Module n IISADMIN IISADMIN EXTENSIONS EXTENSIONS . administer Web and FTP sites. 2 Module 3: Administering Web and FTP Sites    Managing Content  Uploading Content Using FTP  Configuring WebDAV. Module 3: Administering Web and FTP Sites iii Instructor Notes This module provides students with the knowledge and skills to administer Web sites.

Ngày đăng: 24/01/2014, 10:20

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan