ASP run environment configuration in IIS installation and basic settings for IIS

Source: Internet
Author: User
Tags file transfer protocol

If for convenience and simple test can use simple ASP to run the environment, the general site is no problem, if more complex will need to use IIS.

The Win2003 IIS6 installation is configured primarily
if your computer does not have IIS installed then you need to install,

OK, let's start our ASP journey first step. 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 are missing i386 this package, and need to reconfigure IWAM built-in account, a bit difficult and time-consuming, will hit the enthusiasm of our study, the following are using the System CD for IIS installation, a little configuration, you can run, the specific configuration diagram as follows:  

1, insert the system disk first or have already downloaded the IIS6 installation file from the script house, if the pop-up interface, point close the 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:inetpubwwwroot This folder (if your system disk is a D disk is D:inetpubwwwroot), 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 <span class="Apple-converted-space"></span>


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:inetpubwwwroot, 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:


&lt;%= "The time you visit is:" &amp;now ()%&gt;


9, well, the focus of this class is coming, get up: Our program is written, but where is IIS running the program? There are three ways to pull up the IIS interface <span class="Apple-converted-space"></span> :


(1) The quickest: Start running the input%systemroot%system32inetsrviis.msc and then enter <span class="Apple-converted-space"></span>


(2) Most intuitive: Start setting Control Panel performance and maintenance [Win2K] admin tools Internet Information Services


(3) My most popular: right-click My Computer Management service and application Internet Information Service


what? 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 send 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: <span class="Apple-converted-space"></span>


1, Web services use the Protocol 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, the 21 port, 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 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.