Graphical configuration of ASP runtime environment in iis installation and basic settings of IIS

Source: Internet
Author: User
Tags file transfer protocol

If you can use a simple asp runtime environment for convenience and simple testing, you can.

Here, we use win2003 iis6 as the main installation configuration.
If iis is not installed on your computer, you need to install iis. The iis6.0 installation file can be downloaded at http://www.jb51.net/softs/2176.html.

Okay. Let's start the first step of asp journey. Any Dynamic Language requires support from the server. Two concepts are involved here. One is the server, and the other is the corresponding client. Literally, we can see that the server is of course the machine that provides services, that is, the machine that provides asp dynamic website services, and the client is the machine that customers use to browse our asp dynamic website. Of course, when developing an asp Website, you can open your browser to browse it. In this case, your machine is both a server and a client. (The first time I describe the concept, I think it is okay to understand and not mislead everyone, there is no need to pay a lot of water) asp's operating environment is very simple, as long as you install iis (internet information service, internet information service, is a system component. We strongly recommend that you use a CD to install it. Some downloaded files will miss the i386 package, and you need to reconfigure the iwam built-in account, which is a bit difficult and time-consuming, it will hit our enthusiasm for learning. We will install iis on the system disc below). We can run it with a slight configuration. The specific configuration diagram is as follows:

1. First insert the system disk or download the iis6 installation file from the home of the feet. If the page appears, click Close.
2. Open the control panel: Start, set, control panel, and add or delete programs:

3. Click Add/delete programs:

4. Click Add/delete windows components on the pop-up Add/delete programs page. Then the loading page appears:

5. After loading, the windows component dialog box is displayed. Select internet Information Service (iis) and click the details shown in Figure 4:

6. Then, the traditional installation of Microsoft is completed by following the next step. Congratulations ~! (If the iis6 installation file is downloaded from the script, decompress it first, and then browse to the decompressed directory i386. you can locate the directory as prompted)

7. Test it. Open a browser and enter http: // localhost/or http: // 127.0.0.1 in the address bar. If the welcome page is displayed, the installation is successful ~!
(Iis6.0 has added some restrictions. asp cannot run by default. You need to set the web server Extension active server pages To allow. You can add php later, asp.net support is required)
As shown in

8. Good. iis is installed. What should we do? Open the c: \ inetpub \ wwwroot \ folder (if your system disk is d: \ inetpub \ wwwroot ), here is the default folder accessed by the system after the URL you just entered ~! Where is iis? Wait a moment to tell you, let's write something to test it first :) Open notepad. How to open notepad:
1. Start the program attachment notepad
2. Run notepad and press Enter.
3. Open an ie window and click View Source file in the toolbar to create a file.]
Enter the following code (1-1.asp Code) in notepad, save it (shortcut ctrl s), pop up the Save As dialog box, click my computer, switch to c: \ inetpub \ wwwroot \, then, don't worry. First select the storage type as all files, and then input the file name 1-1.asp. Open the ie window and enter http: // localhost/1-1.asp to access the site. Then you can see the result of your work ~!Copy codeThe Code is as follows: <% = "your visit time is:" & now () %>

9. Well, the focus of this lesson is coming. Let's get started: Our programs are all written, but where is the iis running program? There are three ways to call up the iis interface:
(1) run the following command: Enter % systemroot % \ system32 \ inetsrv \ iis. msc and press Enter.
(2) Most intuitive: Start setting control panel performance and maintenance [this step is not available in win2k] management tool internet Information Service
(3) My most commonly used: Right-click my computer management service and application internet Information Service.
What? Too many options cannot be seen clearly? Right-click internet Information Service and choose to create a window from here.
TIPS: In the following 2nd ways, right-click iis and then click send to the desktop shortcut. You don't have to run it every time.
Good. Find iis, click your computer name website in turn, and you will be able to see the default website. Right-click the default website and view the properties. The iis Properties dialog box appears, do not close it first. We will use it later. Now pick up your pen and write down the common sense:
1. The website service uses the http protocol (hyper text transportation protocol ).
2. By default, WebSite Services (iis) use port 80 of the system. By default, the system has 65535 ports for use. However, some ports have been used by the system, for example, ftp (file transfer protocol) uses port 21 by default, while SQL server (Microsoft's advanced database) uses port 1433.

If the problem persists, contact QQ 461478385 and take over the server security settings.

Related Article

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.