2. Apache 2.0.52 Apache 官方下载地址为: http://httpd.apache.org/download.cgi ,找到如下图位置,下载 For Windows 的 MSI 安装包,点击以后选择一个镜像进行下载。
3. MySQL 5.0.1 MySQL 官方下载地址为:sql.com/downloads/mysql/5.0.1-snapshot.html" target=http://dev.mysql.com/downloads/mysql/5.0.1-snapshot.html,找到 Windows downloads 部分,下载 Without installer 包并保存于本地硬盘 ,如下图所示:
打开CMD,输入java version,显示下面的内容 java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) 输入javac,显示: C:/Documents and Settings/lin>javac Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are us ed -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -help Print a synopsis of standard options 表示JAVAC也安装成功。 7.安装jakarta-tomcat-4.1.31 jakarta-tomcat不需要安装,下载压缩包以后直接解压到D:/TOMCAT目录下,设置环境变量 TOMCAT_HOME =D:/TOMCAT 打开D:/tomcat/bin目录下的startup.bat启动tomcat,如果出现下图的状态,表示启动成功。如图:
更改完毕后,保存,重启apache 执行:开始->程序->Instant ASP 2.1.01->Install iASP as NT Service 这样,iasp就被加到了win2000 server的服务中。
执行:开始->程序->Instant ASP 2.1.01->Start Instant ASP 这样,iasp就被立即打开。apache可以支持asp了!
从新启动Apache,发现如下:
这个主要是因为Iasp还不支持我们用的APACHE版本,问一个朋友要了一个支持apache_2.0.52的iasp.dll,替换d:/Instant/bin/apache/win32/2.0/iasp.dll,从新启动Apache成功,写一个ASP文件保存为index.asp. <% Response.Write "<BR><h1>Congradulations!<BR>Instant ASP has worked for you!</h1>" %> 打开网页http://127.0.0.1/index.asp 出现: