In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail the installation process of asp+php+mysql+jsp+xsl+xml under win2. The content of the article is of high quality, so Xiaobian shares it with you as a reference. I hope you have a certain understanding of related knowledge after reading this article.
Operating System: Windosws 2000 Pro
Software required:
1、IIS 5.0
2、jdk-1_2_2-win.exe
3、jakarta-tomcat.zip
4. php-4.0.0-Win32
5. mysql-3.23.36-win
6. DBTools-Manager-1.0.8
7. gyxml
8. Java API for XML Parsing 1.0.1
9. mm.mysql.jdbc-2.0pre5.tar
Installation method:
(First install IIS 5.0 in Windosws 2000 Pro)
First, install JDK
①, double-click jdk-1_2_2-win.exe file to install, use default configuration to install,JDK default installation directory is D:jdk1.2.2, JRE default installation directory is D:Program FilesJavaSoftJRE1.2;
Update environmental variables
Start-> Settings-> Control Panel-> Systems-> Advanced-> Environment Variables-> System Variables
Add CLASSPATH: d:jdk1.2.2lib ools.jar;d:jdk1.2.2libdt.jar;c:mm.mysql.jdbc-2.0pre5; cmm. mysql. jdbc-2.0pre5mysql_1_comp.jar;
PATH added: d:jdk1.2.2;d:jdk1.2.2in;
II. Installation of Tomcat
①, unzip jakarta-tomcat.zip to D:jakarta-tomcat directory with WinZIP
②, enter the D:jakarta-tomcatin directory, find the startup.bat batch file, open the edit
Add the following four lines after line:start:
SET TOMCAT_HOME=d:jakarta-tomcat
SET JAVA_HOME=d:jdk1.2.2
SET CLASSPATH=d:jdk1.2.2libdt.jar
SET CLASSPATH=d:jakarta-tomcatlibservlet.jar
③ Double-click startup.bat to start tomcat server
At this point, a dos window appears on the screen, stops moving, and has some successful tomcat and initialization information,
Proof that tomcat runs successfully.
④ Enter http://localhost:8080/in your browser
If you can see Tomcat Version 3.1 page, Tomcat installation is successful.
There are some examples of jsp and servlet above, so the jsp environment is completed.
Note: The DOS window above that stops moving cannot be closed, otherwise tomcat server stops serving (JSP file runs slowly for the first time)
The first JSP example
Name this program test.jsp and place it in d:jakarta-tomcatwebappsexamples
Enter http://localhost:8080/examples/test.jsp in your browser
So the JSP environment is ready.
III. Install Php4.0
① Unzip php-4.0.0-Win32 to D:php4, copy php4isapi.dll and php4ts.dll in its directory to D:winntsystem32.
② Go to Control Panel => Administrative Tools =>Internet Service Manager, right-click Default Web Site Select Properties, select "ISAPI Filter" first, click "Add..." " :
Filter Name: php
Executable:d:winntsystem32php4isapi.dll
After clicking OK, PHP4 filters are added to IIS.
Then open the Home property page and select Configure... "Then pop up the" Application Configuration "dialog box, then select" Add ", pop up the" Add/Edit Application Extension Mapping "dialog box, fill in"D:php4php.exe %s"in the" executable file ", fill in".php"in the" extension ", note that the above"%s %s"is required, otherwise PHP4 will not work properly. (php4,php3 can be added again as needed)
The PHP environment is now ready. Next up is MySQL.
4. Install MySQL
Run mysql-3.23.36-win and install it directly on disk c. Copy the my-example file under its directory to disk c and modify it to my.
②, then directly install DBTools-Manager-1.0.8, you can connect to mysql database, and can manage, create tables and so on.
5. Install gyxml
Unzip gyxml to d:gyxml, modify catalina.bat file under gyxmlin directory, modify JAVA_HOME and CATALINA_HOME two system variables as:
SET CATALINA_HOME=D:GYXml
SET JAVA_HOME=d:jdk1.2.2
Start the server:
For Windows:
Go to c:gyxmlin directory at DOS prompt, run catalina start, stop command is:catalina stop;
The system will start, default listening port is 80, after the system starts, you can use IE to access:
http://localhost/** **/index.xml
Install Java API for XML Parsing 1.0.1 to enable Java to support XML
7. Install mm.mysql.jdbc-2.0pre5.tar, which is the driver of Jsp and mysql.
Finally, add the line set path=d:jdk1.2.2;%path% to c:AUTOEXEC.bat
[@more@]
About win2 asp+php+mysql+jsp+xsl+xml installation process to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.