Install Web Server IIS

Source: Internet
Author: User
Tags nntp nntp server microsoft frontpage microsoft mail support microsoft

This topic describes three methods for installing IIS:

  • Use the "Configure your server wizard ".
  • Use "add or delete programs" in "Control Panel ".
  • No one is involved in installation.

This topic also lists the directories created during installation, describes the initial configuration backup of IIS, and briefly describes the optional components of IIS.

Recommended topic: "lecture hall" of IIS service"

Important
To minimize the attack surface of the Server, IIS 2003 is not installed on Windows Server 6.0 by default. When IIS 6.0 is installed for the first time, IIS 6.0 will be locked-This indicates that only static Web page request processing is enabled and only WWW Service is installed ). All functions on IIS will be disabled, including ASP, ASP. NET, CGI script, Microsoft FrontPage®2002 Server Extensions and WebDAV release functions. If these features are not enabled, IIS will return the 404 error. You can enable these functions through the Web Service Extension node in IIS manager. For more information about how to troubleshoot the 404 error and other problems, see troubleshooting in IIS 6.0.

Microsoft strongly recommends that you install IIS on a drive formatted as NTFS. NTFS is a stronger and safer file system than FAT and FAT32. For more information, see use NTFS to protect files.

Important
Only members of the Administrators group on the local computer can perform the following procedure. As the best security operation, log on to your computer using an account that is not in the Administrators group, and run the IIS manager as an administrator using the runas command. At the command prompt, typeRunas/User:Administrative_AccountName"Mmc systemroot \ system32 \ inetsrv \ iis. msc ".

Process

Use the "configure Server wizard" to install IIS

  1. From the Start Menu, Click Manage Your servers ".

  2. Under manage your server roles, click add or delete roles ".

  3. Read the preparation steps in "Configure your server wizard" and click "Next ".

  4. Under "server role", click "Application Server IIS, ASP. NET)", and then click "Next ".

    By default, this wizard will install and enable IIS, COM +, and DTC.

  5. If you want to use FrontPage Server Extensions or ASP. NET, one of the optional technologies on the "Application Server options" Page, select the check boxes and click "Next ".

  6. Read the summary and click "Next ".

  7. Complete the wizard and click "finish ".

Note
The "Configure your server wizard" enables ASP. NET by default, which is different from the following "Add/delete Windows Components" installation method.

For more information about "Configure your server wizard", see "Configure your server wizard" in Windows Help ".

Use Control Panel to install IIS, add components, or delete Components

  1. From the Start Menu, click Control Panel ".

  2. Double-click "add or delete programs ".

  3. Click Add/delete Windows Components ".

  4. In the component list box, click application server ".

  5. Click details ".

  6. Click Internet Information Service Manager ".

  7. Click details to view the list of optional IIS components. For more information about optional IIS components, see "optional components" in this topic ".

  8. Select All optional components to install.

    Note
    The available components of the Web Publishing Service include important sub-components, such as the Active Server Pages component and remote management (HTML) component )". To view and select these child components, click "publish service on the World Wide Web" page, and then click "details ".

  9. Click OK until you return to the Windows component wizard ".

  10. Click "Next" and complete the "Windows component wizard ".

Unattended Installation

 

To simplify IIS settings on multiple computers running Windows Server 2003 family members, you can run the installer without human intervention. Create and use a response file, which is a custom script that automatically answers installation questions.

For information about how to create a response file and view all tables where IIS is not installed, see Appendix E: Unattended Setup.

IIS Directory

 

Install the following directories in IIS:

  • \ InetPub
  • Systemroot\ Help \ IISHelp
  • Systemroot\ System32 \ InetSrv
  • Systemroot\ System32 \ InetSrv \ MetaBack

These directories contain user directories and cannot be moved. However, you can use scripts to select the Wwwroot and Ftproot directories during installation. If you uninstall IIS, The IISHelp directory will be deleted. The InetPub and InetSrv directories are retained on the computer.

IIS initial configuration backup

 

When you install IIS for the first timeSystemrootThe \ System32 \ InetSrv \ MetaBack directory automatically creates a backup of the initial configuration database configuration. This backup can be used to restore the IIS configuration to its status after IIS is installed. This tool is useful for solving database configuration corruption or configuration problems, and helps restore known good configurations without re-installing IIS. This backup is not password-protected and can only be used to restore settings on the system where the backup is created. For information about restoring the initial IIS configuration backup, see back up and restore the configuration database in IIS 6.0.

We strongly recommend that you create a password-protected backup for IIS configuration after installing IIS and before changing any configuration. Unlike automatic initial configuration backup, password-protected backup is not related to the system and can be used to restore settings on other systems running IIS 6.0. For information about creating password-protected backups for IIS configuration, see back up and restore the configuration database in IIS 6.0.

Optional Components

 

IIS includes some optional components that you can enable or disable at any time by using the "add or delete programs" item in the control panel or by using unattended installation. The following describes the components and their impact on the current IIS settings.

Install Active Server Pages (ASP), Internet Data Connection programs, files containing WebDav on the Server, but disable them by default when you install them completely. All IIS functions are enabled by default during the upgrade. When you select or clear a component from the Windows component wizard or by using an unattended file, the component is enabled or disabled in the WebSvcExtRestrictionList configuration database attribute.

BITS Server Extension

 

The Background Intelligent Transmission Service (BITS) is a background file transmission mechanism and queue manager, also known as the throttling transmission service. BITS controls file requests to minimize bandwidth consumption and enhance the end user experience. Enabling BITS for IIS can maintain the service quality of Web servers. From the Windows component wizard, click details to enable the following BITS server components:

  • BITS server extended ISAPI: Enabling this option allows you to control IIS requests through the BITS server.
  • BITS server expansion Management Unit: Enable this option to access and view the BITS graphical user interface (GUI ).

Public files

 

To enhance security in the server environment, you can deselect some public files. However, if you deselect the "public files" option, all public files are deselected and IIS cannot be installed on the computer. Therefore, if you want to install IIS on your computer, keep this option selected. If you want to restrict the services and components installed with IIS, deselect the components listed under the "public files" component.

File Transfer Protocol (FTP) Server

 

On a network using the Transmission Control Protocol/Internet Protocol (TCP/IP), the file transmission protocol (FTP) is used to copy files to or from a remote computer system.

FrontPage 2002 Server Extensions

 

FrontPage 2002 Server Extensions allows you to use FrontPage as the compiling environment to view and manage websites on the graphic user interface. FrontPage allows you to quickly create a website on the server, remotely create and edit webpages, and post webpages to IIS. When you create a site, FrontPage is always connected to IIS, saving and changing Web files so that you can view the site. If you choose not to install FrontPage Server Extensions, you must manually copy all Web directories and configure your settings. In some cases, you must manually register applications that have already been registered in FrontPage. Microsoft cluster resources do not support Microsoft FrontPage Server Extensions.

Internet Information Service Manager

 

IIS manager is a graphical user interface used to manage websites. In earlier versions of IIS, this tool is named Internet Service Manager. Without the IIS manager, you can still manage the server, but you must use code scripts that call the iis api to create sites, applications, virtual directories, and security settings.

NNTP service

 

Use the network news Transmission Protocol (NNTP) to publish online news messages to the NNTP server on the Internet and the NNTP client news reader ). NNTP provides publishing, query, retrieval, and posting of news articles through reliable stream-based news transmission over the Internet. The purpose of NNTP design is to store news articles on the central database server so that users can selectively read specific content. The end date of the index, cross-reference, and old information is also provided.

If you have installed NNTP, you can enterFile :\\%Systemroot%\ Help \ news. chm, And then press Enter to view Microsoft news (NNTP) service help.

SMTP Service

 

Use Simple Mail Transfer Protocol (SMTP) to set up the Intranet mail service that cooperates with IIS. SMTP is a TCP/IP protocol used to send emails from one computer on the network to another. This protocol is used to send emails over the Internet.

If SMTP is installed, you can enterFile :\\%Systemroot%\ Help \ mail. chm, And then press Enter to view Microsoft Mail (SMTP) Service help.

Web Publishing Service

 

IIS provides web services to the Internet and the World Wide Web. This component must be installed for IIS to run its main services. If this option is not selected, IIS is disabled.

WWW Service) includes the following sub-components:

  • About ASP: select this option to enable ASP on the server. If this option is not selected, all. asp requests will return the 404 error.
  • Internet Data Connection Program: Select this option to enable the Internet Data Connection Program on the server. If this option is not selected, all. idc requests will return the 404 error.
  • Remote Server Management in IIS 6.0: select this option to allow you to remotely manage IIS Web servers from any Web browser on Itranet. After installing IIS and viewing the website through IIS manager, IIS createsAdministration.
  • Remote Desktop Web connection: Select this option to establish a connection to the desktop from a remote location and run the application as in the console.
  • Use the server-side inclusion command: select this option to enable the server-side inclusion file on the server. If this option is not selected, all .shtm).shtml and. stm requests will return the 404 error.
  • Use WebDAV for Web creation: select this option to allow Web Distributed writing and Version Control (WebDAV) on the server ). WebDAV is similar to the file transfer protocol. The only exception is that WebDAV allows any WebDAV client to publish and change the content in the WebDAV directory using HTTP.
  • Website management: select this option to install the Web Publishing Service. If this option is not selected, IIS does not run on the server.

Original article address

View more articles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.