http://www.it365cn.com/show.asp?id=965
IIS installation configuration Raiders (1) Author: kill Source: windy day Design Forum Views: 727 Date: 2003-10-8 12:27:21 WEB articles Windows 2000 Server, Windows 2000 Advanced Server and Windows 2000 Professional The default installation has IIS, or IIS can be installed after Windows 2000 installation. IIS is a set of integrated software for Microsoft's erasing web, FTP, SMTP servers, bundle in Windows2000 / NT, select Add IIS service in the Add / Remove program of the control panel. As shown below:
========== Web server ============ IIS default web (home page) file is stored in% system% / inetpub / wwwroot in the system root area, the home page Put in this directory; for security reasons, Microsoft recommends formatting all drives of IIS with NTFS. Quickly configure the default Web site Open IIS Manager, select Internet Information Services in the management tool of the Start menu or enter% systemroot% / system32 / inetsrv / Iis.msc
After installation, IIS has automatically established management and default two sites, where administrative Web site is used for site remote management, which can temporarily stop running, but it is best not to delete, otherwise it will be troublesome. Import this address immediately, Microsoft has pre-put the detailed help information in the IIS: http://localhost/iishelp/iis/misc/default.asp configuration Right-click the existing "default Web site", Select Properties and now configure IIS's Web site. Each Web site has unique, identified by three parts, is used to receive and respond requests, respectively, port numbers, IP addresses, and host names, respectively. When the browser accesses IIS: IP -> Port -> Host Head -> The site main directory -> The default document for this site. So the entire configuration process of IIS should be set in the order of access: the first step, configure IP and host header
Here you can specify the IP of the Web site. If there is no special need, you can choose all unallocated. If you specify a plurality of host heads, IP must be selected as all unallocated, otherwise the visitors will not be accessed.
If IIS has only one site, there is no need to write to the hosthead identity. Then configure the port, the default access port of the web site is TCP 80. If the site port is modified, the visitor needs to enter http: // Yourip: Port to perform normal access. Step 2, specify the main directory of the site. The main directory is used to store the location of the site file, the default is% system% / inetpub / wwwroot
You can choose another directory as the location where the site file is stored. After clicking the browsing, you can choose the road. Here you can also give some permissions, such as directory browsing, and the like. Based on security reasons, Microsoft recommends using IIS in NTFS disk format. Step 3: Set the default document. Each website will have a default document. The default document is the file you want to access when the visitor accesses the site; for example, INDEX.HTM INDEX.ASP DEFAULT.ASP, etc. Here you need to specify the default document name and order. Note that the default document here is read in order from top to bottom. The last step: set access.
Generally gives the visitor's permissions with anonymous access, in fact IIS defaults, IUSR_ machine names have been created in the system. An anonymous user. Follow the wizard to establish a new site If you want to create a new site, you can set it according to the IIS's wizard:
You can select your web server IP in this drop-down menu, which should be selected by default (all unallocated). [TIPS: You can view this drop-down menu to see if you have a public IP] TCP default port is 80, if you modify the port, you need to browse this format with http: // ip: port. The site host header This site specifies a domain name, such as http://abc.vicp.net. Multiple host headers can be specified under one of the same IP. The default is "no".
You can choose the web site main directory, which is used to store home files; select Allow anonymous access to this site, anyone can access your Web site via the network.
Access permission for the Web site can set permission settings that allow or disable read, run scripts. The general settings of the web site check the just established site, right click to select Properties, and the site setting interface appears:
1. Description: Site instructions, this will appear in the site name of the IIS management interface 2. IP address: All unallocated in general cases. The high-level options can be set to set settings such as horsepower advanced Web site identity. 3. TCP port: Specify the access port of the site, the browser accessed the default port of the Web is 80. 4. Connection: Select Unlimited Options Allows the number of connections that occur simultaneously unrestricted. Select Limits Simultaneously connect to the number of connections to the site. In this dialog box, type the maximum number of allowed connections. Set the connection timeout; if you choose unlimited, the accessient's connection is not disconnected. 5. HTTP Activation: Allows customers to keep the open connection with the server, rather than reopen the client one by one with the new request. Disabling keeping HTTP activation reduces server performance. Keep HTTP activation is enabled by default. 6. Logging: Select log format: IIS, ODBC or W3C expansion format, and define record options such as visitor IP, connection time, etc. Operator: Set the user who operates IIS management, only allows administrator privileges to operate and manage IIS by default. You can also add multiple users or user groups to participate in the management and operation of IIS.
The main directory is used to set the file directory of the site, you can select a local directory or another computer sharing location. You can set the storage location of the site directory in your local path, make sure you have the control management permission for this directory. In the access settings, you can specify those resources to access those resources that are not accessible. To pay attention to directory browsing and log access; select log access, IIS will record the access record of the site, you can choose to record those materials, such as: Accessor IP time and many more. Configuring the visitor can execute the program and perform those programs in the application settings.
Main document: Set the home file name of the site, visit the site to access the site in order of the default document. To provide a default document at any time when the browser requests a specified document name, select the check box. The default document can be the home page of the directory or an index page containing the site document directory list. To add a new default document, click Add. You can use this feature to specify multiple default documents. Provide the default document in the name sequence appearing in the list. The server will return the first document found. To change the search order, select a document and click the arrow button. To remove the default document from the list, click Delete. Note: If there is no new page file in the home directory, please establish or perform related settings. To automatically attach a footer in an HTML format to each document sent by the web server, select this option. Footer files should not be a complete HTML document. Should only include an HTML tag that needs to be used to format the appearance and function of the page foot. To specify the full path and file name of the footer file, click Browse. Directory Security Anonymous Access and Verification Control: To configure the Web Server Verification and Anonymous Access, click Edit. Use this feature to configure the Web server to confirm the identity of the user before authorizing the restricted content. However, you must first create a valid Windows user account, and then configure these accounts for Windows File System (NTFS) directory and file access, the server can verify the user's identity. Please open [Computer Management] to view. IP addresses and domain name restrictions (this feature is only available in devices with Windows 2000 Server.): To allow or block specific users, computers, computer groups, or domains from accessing the web site, directory, or file, click Edit. . ==== Use IIS to establish multiple sites =========== Host head use new two web sites, specify two different domain names in the host header: TEST-USER1.VICP.NET And test-user2.vicp.net can modify the host header in the Web Site -> Web Site Identity -> IP Address -> IP Address -> Advanced of the site attribute.
Use the nslookup command to specify the default DNS server with Guangzhou Telecom ADSL to detect: Tset-user1.vicp.net and test-user2.vicp.net IP are the same. But it is indeed two different pages when browsing.
Note: When using the host header to establish multiple different domain names, you also need to pay attention to the main documentation. Establish multiple sites using port configuration
You can use different ports to set multiple sites, but the default access port of the visitor's browser is 80, so you must tell the visitor what the TCP port used in your site is. Access format: http: // URL: port
Windows 2000 IIS Installation, Configuration, Advanced Management Settings WWW and FTP Services Key-clicking on the server, selecting properties, the primary attributes of WWW or FTP, including the entire site cache, etc.
You can enable bandwidth limit function to limit the bandwidth of IIS occupation
Let WWW Service Support Dynamic Program 1. Installing the author of the Perl language interpreter in IIS is the Larry Wall. Practical Extraction and Report Language is a full name of this language, its original design is to replace UNIX SED / AWK and the combination of Shell Script. To allow IIS to support this language, you need to install the Perl language interpreter. The official download of Perl interpreter: http://www.perl.com/pub/a/language/info/software.htmlhtp://download.pchome.net/development/sever/perl/730.html (pchome.net http://www8.pconline.com.cn/download/swdetail.phtml?id=4379 (PCONLINE.COM.CN) After downloading Perl directly in a directory, you can also run the installation wizard to install files In the corresponding directory; here is installed under D: / Perl (Perl.exe in the bin directory). Configure IIS: Select the properties of the site, select the application point selection configuration in the primary directory: (Note: Need to add "%%" after Perl).
Select Add: IIS inquire about the location of the application, the file name interpreted by the program, where CGI and PL files are required, and PLX.
(Write the extension). * Or directly write *, IIS will automatically identify) Finally, set the IIS's execution license to a script and executable.
Now IIS can support Perl. 2. Let IIS support PHP PHP is an abbreviation of Personal Home Page Tools. PHP download address: http://www.php.net/downloads.php (Official Site Download) http://download.pchome.net/development/sever/php/7884.html (PCHOME.NET) http: / / www8.pconline.com.cn/download/swdetail.phtml?id=645 (PCONLINE.COM.CN) Like Perl, here is selected under D: / PHP. Configure the IIS, process, and configure the PERL:
At this point, IIS has supported the current mainstream dynamic language.
Windows 2000 IIS installation, configuring FTP WINDOWS 2000 Server, Windows 2000 Advanced Server, and Windows 2000 Professional default installation with IIS, you can also install IIS after Windows 2000 installation. IIS is a set of integrated software for Microsoft's erasing web, FTP, SMTP servers, bundle in Windows2000 / NT, select Add IIS service in the Add / Remove program of the control panel. As shown below:
The FTP server uses IIS to create multiple different FTP servers, and some column functions such as restricting users, locking directories, lock permissions, blocking accessers, FTP servers. First, establish a guide to use IIS to simply establish an FTP server.
Right-click on the computer icon of the IIS console (local computer name), create a new FTP site.
Like the IP address, etc., the setting of the web mode, the dynamic IP can choose all unallocated, the default port of FTP is 21
Specify the main directory path of the FTP site
Set the user's access, if you need to give the accesser's upload, you should also select "Write". Second, setting the FTP site after the establishment of the FTP site is also required, right-click the FTP site in the IIS console to select the property. If you select only anonymous connection, FTP is only open to anonymous users.
Setting up server reply information three, monitoring if you want to monitor the FTP server, you can monitor it as shown below, and can disconnect the access connection.
Monitor FTP Server Windows 2000 IIS installation, configuring SMTP artifacts, the establishment of the SMTP service IIS provides SMTP virtual servers, and users can send emails outward through the local SMTP service.
Right key to SMTP server selection properties for SMTP-related settings.
Second, SMTP Applications You can now send emails using your own machine, no longer need SMTP provided by the service provider. Mail account in Outlook
Change the SMTP in your account into your own IP, you can use your own machine's SMTP service.