Generally, everyone installs the win2003 system first, graphic tutorial Win2003 server system installation graphic tutorial To install it through the control panel. The specific method is as follows: 1. Go to the Control Panel. 2. Double-click "Add or Remove Programs". 3. Click on "Add/Remove Windows Components". 4. In the Components list box, double-click Application Server. 5. Double-click Internet Information Services (IIS). 6. Select "World Wide Web Services" and "File Transfer Protocol (FTP) Services" from among them. 7. Double-click "World Wide Web Services" and select "Active Server Pages" and "World Wide Web Services". After installing IIS, set up the web server, as follows: 1. In the Start menu, select Administrative Tools → Internet Information Services (IIS) Manager. 2. Double-click Local Computer in Internet Information Services (IIS) Manager. 3. Right-click on "Websites" and select "New → Website" from the pop-up menu to open the "Website Creation Wizard". 4. Fill in the "Website Description", "IP Address", "Port Number", "Path", and "Website Access Permissions". Finally, for easy access, you should also set default documents (Index.asp, Index.htm). The above settings are basically the same as those of Windows 2000 Server websites, but the Web service is still only applicable to static content, that is, static pages can be viewed normally, and the common Active Server Pages (ASP) functions are not enabled. Therefore, you should also select Allow Active Server Pages in the Web Services Extensions section of the Internet Information Services (IIS) Manager.
a. Install IIS If you have not yet installed IIS Server in your operating system, you can open the Control Panel, click Start Add/Remove Programs, select Add/Remove Windows Components in the pop-up dialog box, select Internet Information Services (IIS) in the Windows Component Wizard dialog box, and then click Next, follow the wizard instructions to complete the installation of IIS. (For example, Figure 1 and Figure 2 below are different from the installation interface of Baicha 123 because it uses Windows Server 2003 operating system, but it is generally the same) The picture related to this topic is as follows:
Figure 1—Windows Component Wizard 1 The picture related to this topic is as follows:
Figure 2—Windows Component Wizard 2 b. Start Internet Information Services (IIS) Internet Information Services (IIS) is abbreviated as IIS, and you can start the "Internet Information Services" management tool by clicking the Windows Start menu--- all programs--- management tools--- Internet Information Services (IIS) manager (as shown in Figure 3) The picture related to this topic is as follows:
Figure 3—Internet Information Services (IIS) Manager c. Configure IIS After IIS is installed, the system automatically creates a default web site, and the main directory of the site is C:\Inetpub\www.root by default. Right-click the "Default Web Site" and select "Properties" in the pop-up shortcut menu, and you can open the site property settings dialog box (as shown in Figure 4). The picture related to this topic is as follows:
Figure 4 – Default website properties Home directory with enabled parent path Click the Home Directory tab to switch to the Home Directory Settings page, which allows you to change or set the Home Directory. Note that the Enable parent path option is checked, if it is not checked, it will partially affect the future program run. (as shown in Figure 6), the Home Directory - Configuration --- option. The picture related to this topic is as follows:
Figure 5 – Default Web site home directory settings The picture related to this topic is as follows:
Figure 6 – Parent path setting is enabled by default web site Set up the home page document Click the "Document" tab to switch to the settings page for the homepage document, (as shown in Figure 7) The homepage document is the page file that the system accesses by default when the website domain name is entered in the browser and the web file to be accessed is not specified. Common homepage file names include index.htm, index.html, index.asp, index.php, index.jap, default.htm, default.html, default.asp, etc The default homepage documents in IIS are only default.htm and default.asp, and you can use the "Add" and "Delete" buttons to set the homepage documents that can be parsed for the site as needed.
Starting and stopping IIS services The Internet information service toolbar provides functions to start and stop services. Click to boot IIS server; Click to stop the IIS server. ===================================================================== 1. Enable ASP support Windows Server 2003 is installed by default, it does not install IIS6, and needs to be installed separately. After installing IIS6, you need to turn on ASP support separately.
The first step is to enable Asp and enter: Control Panel - > Management Tools - >IIS (Internet Server) - Web Service Extensions - >ActiveServerPages - > Allowed
Control Panel - > Management Tools - > IIS (Internet Server) - Web Service Extensions - > Contains Files on the Server - > Allowed
The second step is to enable parent path support. IIS-Site-Home-Configuration-Options-Enable Parent Path
The third step is to assign permissions IIS-Site-(Specific Site)-(Right-click) Permission-Users Full Control
2. Solve the limitation that windows 2003 can only upload up to 200K. First, close the iisadminservice service in the service Find the metabase.xml under windowssystem32inesrv, Open, find ASPMaxRequestEntityAllowed, and modify it to the required value. Then restart the IISADMINSERVICE service 1. The web service extension allows activeserverpages and contains files on the server side
2. Modify the attributes of each site Home directory - configuration - options - enable parent path
3. Make it possible to upload files larger than 200k (just modify it to the size you want, if you add two 0s after it, 20m is allowed) c:WINDOWSsystem32inetsrvMetaBase.xml
(Windows 2003 for enterprise edition is on line 592, the default is AspMaxRequestEntityAllowed="204800", which is 200K.)
Add two 0s to it, that is, it can be uploaded up to 20M now.
AspMaxRequestEntityAllowed="20480000" There are a few things to note when configuring IIS on WIN2003 Configure Windows Server 2003--IIS6 MicrosoftKnowledgeBaseArticle-324742 The information in this article applies to: MicrosoftWindowsServer2003,DatacenterEdition MicrosoftWindowsServer2003,EnterpriseEdition MicrosoftWindowsServer2003,StandardEdition MicrosoftWindowsServer2003,WebEdition MicrosoftWindowsServer2003,64-BitDatacenterEdition MicrosoftWindowsServer2003,64-BitEnterpriseEdition MicrosoftInternetInformationServicesversion6.0 This step-by-step guide describes how to set up a WWW server for anonymous access in a Windows Server 2003 environment. Install Internet information services Microsoft Internet Information Services (IIS) is a web service integrated with Windows Server 2003. To install IIS, add optional components, or remove optional components, follow these steps: 1. Click Start, point to Control Panel, and click Add or Remove Programs. The Add or Remove Programs tool launches. 2. Click Add/Remove Windows Components. The Windows Component Wizard is displayed. 3. In the Windows Components list, click Web Application Server. 4. Click Details, and then click Internet Information Services (IIS). 5. Click Details to view the list of IIS optional components. 6. Select the optional components you want to install. By default, the following components are selected: --- public files ---FrontPage2002ServerExtentions --- Internet information service management unit --- Internet Information Services Manager --- NNTP service --- SMTP service --- WorldWideWeb service 7. Click on "WorldWideWeb Services" and click on Details to see a list of IIS optional sub-components such as the ActiveServerPages component and the Remote Management (HTML) Tool. Select the optional subassembly you want to install. By default, the following components are selected: --- WorldWideWeb service 8. Click OK until you return to the Windows Component Wizard. 9. Click Next and complete the Windows Component Wizard. Configure anonymous authentication To configure anonymous authentication, follow these steps: 1. Click Start, point to Administrative Tools, and click Internet Information Services (IIS). 2. Expand "* Server Name" (where the server name is the name of that server), right-click on the website, and click Properties. 3. In the Website Properties dialog box, click the Directory Security tab. 4. Under Authentication and Access Control, click Edit. 5. Click the Enable Anonymous Access checkbox to select it. Note: The user account in the Username box is only used for anonymous access through the Windowsguest account. By default, the server creates and uses an account IUSR_computername. Anonymous user account passwords are only used in Windows; Anonymous users do not log in with usernames and passwords. 6. Under Access for Verified Identity, click the Integrated Windows Authentication checkbox to select it. 7. Click OK twice. Basic website configuration 1. Click Start, point to Administrative Tools, and click Internet Information Services (IIS). 2. Expand "* Server Name" (where the server name is the name of that server) and then expand the website. 3. Right-click on the default website and click on Properties. 4. Click on the Websites tab. If you have assigned multiple IP addresses to your computer, click on the IP address you want to assign to this website in the IP address box. 5. Click on the Performance tab. Use the Website Properties - Performance dialog to set properties that affect memory, bandwidth usage, and the number of web connections. By configuring network bandwidth on a specific site, you can have more control over the amount of traffic at that site. For example, by limiting bandwidth on a low-priority website, you can relax the restrictions on the amount of traffic to other sites. Similarly, when you specify the number of connections to a certain website, you can free up resources for other sites. The settings are site-specific and should be adjusted according to changes in network traffic and usage. --- click on the "Limit the bandwidth available for this website" checkbox, select it, and configure IIS to throttle the network bandwidth to the selected maximum amount of bandwidth in kilobytes per second (KB/s). --- click the Web Service Connection check box and select it to select a specific number of Web service connections or an unlimited number of Web service connections. Restricting connections allows computer resources to be used for other processes. Note: Each client browsing a website typically uses about three connections. 6. Click on the Home Directory tab. --- If you want to use web content stored on your local computer, click on "Directory on this computer" and type the path you want in the local path box. For example, the default path is C:Inetpubwwwroot. Note: For added security, please do not create a web content folder under the root directory. --- If you want to use web content stored on another computer, click on "Shared location on another computer" and type the desired location in the network directory box that appears. --- If you want to use web content stored at another web address, click Redirect to URL and type where you want it in the Redirect to box. Under Customer Delivers, click the appropriate checkbox to select it. 7. Click on the Documents tab. Note the list of documents that can be used by IIS as the default startup document. If you want to use Index.html as a starting document, you must add it. The addition method is: a. Click Add. b. In the Add Default Document dialog box, type Index.html, and then click OK. c. Click the up arrow button until Index.html appears at the top of the list. 8. Click OK to close the default website properties dialog box. 9. Right-click on the default website and click on Permissions. 10. Please note the user account with operational privileges on this website. Click Add to add additional user accounts that can operate this website. 11. Click OK to return to the Internet Information Services window. 12. Right-click on the default website and click Stop. 13. Right-click on the default website and click Start. When installing OA systems on WINDOWS2003, pay attention to: How to enable ASP support: Windows Server 2003 is installed by default, it does not install IIS6, and needs to be installed separately. After installing IIS6, you need to turn on ASP support separately. The methods are: Control Panel - > Management Tools - > Web Services Extensions - >ActiveServerPages - > Allowed. Q: How to solve the ActiveServerPages error _ASP0131_ the parent path that is not allowed when the ASP file contains a file? A: Select the Home Directory - Configuration - Application option in the site properties and check "Enable Parent Directory".
Q: How to solve the problem when logging in to the OA system that "no files required for OA are found"? A: Select Properties-Security-Select USER Group on the OASERVER folder, turn on all permissions, click "Advanced", check "Reset all object permissions and allow propagation of inheritable permissions", click "OK" twice, and log in later
4. The solution to the problem that IIS cannot download files is to enter the properties of the website. View the execution permissions in the home directory. Set to a pure script runas /profile /user:ourcomputeradministrator "mmc gpedit.msc"”
|