标签:pre res password bat ase 解压 ice 变量 base
1.解压安装包
2.添加环境变量
CATALINA_BASE CATALINA_HOME -> 修改 Path环境变量,添加 %CATALINA_HOME%\lib;%CATALINA_HOME%\bin;
3.tomcat服务安装
service.bat install/remove [服务名]
4.tomcat优化配置
-XX:PermSize=256M
-XX:MaxPermSize=256M
-XX:ReservedCodeCacheSize=128M
-Duser.timezone=GMT+08
5.tomcat Manager
tomcat-users.xml
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="root" password="------" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
标签:pre res password bat ase 解压 ice 变量 base
原文地址:http://www.cnblogs.com/begin-zero/p/6756707.html