首页 | 培训 | 求学 | 参考 | 教师 | 教材 | 学校 | 招聘 | 租房 | 旅游ASKEDU.com  


培训指南—ASKEDU.com

返回 | 主页


How To for Apache2, Tomcat4.1.x, mod_jk2, JSDK1.4(1)



[摘要]
Quick and Dirty, no thinking version here for those who just want to blast it in.

Note: In an effort to reduce convoluted path names in windows try to choose install directories with short na...

Quick and Dirty, no thinking version here for those who just want to blast it in.

Note: In an effort to reduce convoluted path names in windows try to choose install directories with short names. Also try not to use spaces in the names, Apache and Tomcat and as far as I know all XML files have problems with it and require you to double quote any path name that includes spaces. Save yourself some headaches and just don’t do it.

Note: Careful planning of installation paths can be a good thing. For instance, combining the DocumentRoot of Apache and the webapp directory of Tomcat can lead to automatic application configuration by Tomcat 4.1.10. I haven’t tried it so it’s just a theory mind you, but it sounds good.

Install J2sdk1.4.x
J2sdk

(Make sure you get the windows version, of the latest available, but it should work with any 1.4 version)



No need to install src or demos. You will need to check the “JRE for windows drive only” option unless you want to edit the registry and point the key to the jvm.dll in the JDSK. It’s easier to go ahead and take the default though. No matter where you choose to install the JSDK sun’s install still puts the JRE in the “Program Files” directory. I chose an install path of c:\java. So try to keep it simple.



Set system environment variables for Java home.

JAVA_HOME=C:\java

Add JAVA_HOME and JAVA_HOME\bin directory to the system PATH variable in my case it is

C:\java;C:\java\bin

Install Apache 2.0.43
Apache2

Get the latest available. Download the correct program for your system. The one ending in .exe is for people who do not have the msi installer yet, most do, so the smaller .msi package should work for most people. Make a nice short path without any blank spaces for the installation. Mine is C:\Apache2

During installation set domain and ServerName to Your Server Name or just localhost if you’re just testing. It will only be accessible from the local machine.


其它培训参考信息:
论加强IIS布局的安全机制2
论加强IIS布局的安全机制1
ASP中常见的错误80004005信息和解决办法2
ASP中常见的错误80004005信息和解决办法1
用COM和ASP创建动态Word文档5
用COM和ASP创建动态Word文档4
用COM和ASP创建动态Word文档3
用COM和ASP创建动态Word文档2



信息来自互联网,敬请核实,谨慎使用



 




  中国 | Worldwide: United States United Kingdom Australia Canada India | Travel AgencyASKEDU.com