ASP run environment configuration in IIS diagram of installation and basic setup of IIS _win server

Source: Internet
Author: User
Tags file transfer protocol
If for convenience and simple test can use simple ASP operating environment, can go to http://www.jb51.net/softs/28133.html download, the general site is no problem, if more complex will need to use IIS.

here the Win2003 IIS6 installation configuration is mainly
If your computer does not have IIS installed then you need to install it, and the iis6.0 installation files can be downloaded to http://www.jb51.net/softs/2176.html.

OK, let's start the first step of our ASP journey. Any dynamic language requires server support. There are two concepts involved, one is the server, and the other is the client corresponding to it. Literally we can see that the server is of course the machine that provides the service, that is, the machine that provides the ASP dynamic website service, and the client is the machine that the customer uses to browse our ASP dynamic website. Of course, in the development of ASP Web site, their own browser browsing, at this time their own machine is both server and client. (First elaboration concept, I think as long as easy to understand without misleading everyone is good, no need to drool) ASP's operating environment is simple, as long as the installation of IIS (Internet Information Service, Internet Information Services, is a component of the system, it is strongly recommended to install the CD-ROM, Some of the downloaded files will miss i386 this package, and need to reconfigure the IWAM built-in account, a bit difficult and time-consuming, will hit the enthusiasm of our study, the following are the system CD for IIS installation), a little configuration, you can run, the specific configuration diagram as follows:

1, first insert the system disk or already from the cloud Habitat Community download good IIS6 installation files, if the pop-up interface, point close interface.
2, Find open Control Panel: Start set "control surface version" Add or Remove Programs:

3, click Add/Remove program :

4, in the pop-up Add/Remove Program interface Click Add/Remove Windows Components and then the load interface appears:

5. When the load is complete, the Windows Components dialog box will pop up, select Internet Information Services (IIS), and click the details in Figure four to peek at:

6, then is Microsoft's traditional fool-like installation), is always point next, and then the installation is complete, congratulations to you ~! (if it is downloaded from the script IIS6 installation files, first decompression, and then browse to extract the directory i386 can be prompted to locate this directory can)

7, test it, find a browser, directly in the address bar to play http://localhost/or http://127.0.0.1, if the pop-up welcome interface, that means that the installation was successful ~!
(iis6.0 has added some restrictions, by default, ASP is not able to run, you need to set the Web server extension Active Server Pages to allow only, later add php,asp.net support are required)
As shown in the following figure

8, OK, IIS installed, let's do something? Find out C:\inetpub\wwwroot\ This folder (if your system disk is a D disk is d:\inetpub\wwwroot\), here is the URL you just entered the system default access to the folder ~! Where is IIS? I'll tell you what, let's write something first. Test it: Open Notepad. Notepad Open method:
1. Start Program Attachment Notepad
2, start running input notepad and then enter
3, casually open an IE window, and then click on the toolbar to view the source File Notepad toolbar point new]
Enter the following code (1-1.asp code) in Notepad, then save (quick Ctrl s), pop the Save As dialog box, click My Computer, switch to c:\inetpub\wwwroot\, and then, don't worry, first select the Save type as all files, Then enter the filename 1-1.asp, okay, it's done. Find open IE window, input URL: http://localhost/1-1.asp to visit, you can see the fruits of your labor ~!
Copy Code code as follows:

<%= "The time you visit is:" &now ()%>

9, well, the focus of this lesson is coming, play the Spirit: Our program is written out, but where is the IIS running the program? There are three ways to pull up the IIS interface:
(1) The quickest: start to run input%systemroot%\system32\inetsrv\iis.msc and return
(2) Most intuitive: start to set Control Panel performance and maintenance [Win2K does not have this step] management tools Internet Information Services
(3) My most common: Right-click My Computer Management services and applications Internet Information Services
What the? Too many options to see clearly? Then you right click on Internet Information Services, and then choose to create a window from here OK.
Small suggestion: Through the 2nd method, right-click IIS, and then point to the desktop shortcut, then do not have to run inside every time to find.
OK, found IIS, click your computer name Web site, you can see the default Web site, right click on the Default Web site, view the properties, the IIS Properties dialog box, and do not close, wait for us to use. Now pick up your pen and write down common sense:
1, Web services used by the Protocol is called HTTP protocol (full name is Hyper Text Transportation protocol).
2, Web services (that is, IIS) by default is the system of 80 ports, the system default has 65,535 statements we use, but some ports have been used by the system, such as FTP (File Transfer Protocol) By default is 21 ports, and SQL The server (Microsoft's advanced database) uses port 1433.

If the above problem is still unresolved, you can contact us QQ 461478385, at the same time to undertake 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.