Learning purpose: Install and debug the ASP environment and write the first HELLO WORLD program.
First, let's install the IIS that comes with WINSOWS2000 as the server. (The PWS of WINSOWS98 is also possible, but it is not recommended. The installation is roughly the same as that of 2000, so I won’t go into details here.)
First go to Control Panel - Add or Remove Programs.
Then add and delete windows components - select the check in front of the IIS component
After installation, open the management tools in the control panel and you will find two more icons. Open the IIS Manager.
Select the default WEB site, then right-click Properties or press the shortcut key directly
Don't worry, everyone. There are only three pages that need to be modified. The first is the WEB site. If the user has a fixed IP, you can assign an IP.
Next, select a folder on your own hard drive to store the website in the directory, and select Read and Write.
Add a default page to the document. For example, when typing www.sina.com.cn Sina calls a default document.
The next step is also the most critical: 1. Create a new file in the folder you just defined. You can use Notepad to create a TXT file and rename it to ASP. The contents are as follows
<%response.write "hello world!"%>
response.write means display. The <%%> before and after is the mark symbol of asp. The information inside is processed by the server. After saving, you can run this file in the browser. 127.0.0.1 (=localhost) is the IP of this machine. Just add the name of the created file directly afterwards. The reason why there is an example on my picture is because I created a virtual directory. I don’t know about this. It doesn't matter, let's go down and study the specific and in-depth things slowly by ourselves. Our goal is to master it quickly.