1.下载tomcat手动安装版(.zip)文件,如apache-tomcat-6.0.51-windows-x86.zip
2.解压缩到D:\
3.配置环境变量
(1) JAVA_HOME
(2)CLASSPATH=.;%JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/lib/dt.jar
(3)TOMCAT_HOME=D:\apache-tomcat-6.0.51-windows-x86\apache-tomcat-6.0.51
(4)CATALINA_HOME=D:\apache-tomcat-6.0.51-windows-x86\apache-tomcat-6.0.51
(4)Path=%JAVA_HOME%/bin;%CATALINA_HOME%\bin;%CATALINA_HOME%\lib
4.添加服务
在DOS界面下,进入Tomcat解压目录的bin目录,输入命令:service remove tomcat6
service.bat install
最后,在 控制面板-系统和安全-管理工具上找到 服务,启动Tomcat