作者:手机用户2502899537 | 来源:互联网 | 2017-11-05 23:11
#tar-zxvfapache-tomcat-5.5.29.tar.gz#mvapache-tomcat-5.5.29usrlocaltomcat5.5#cdusrlocaltomcat5.5bin#vietcprofileexportCATALINA_BASEusrlocaltomcat5.5exportCATALINA_HOMEusrlocaltomcat5.5exportCATALINA_T
# tar -zxvf apache-tomcat-5.5.29.tar.gz
# mv apache-tomcat-5.5.29 /usr/local/tomcat5.5
# cd /usr/local/tomcat5.5/bin
# vi /etc/profile
export CATALINA_BASE=/usr/local/tomcat5.5
export CATALINA_HOME=/usr/local/tomcat5.5
export CATALINA_TMPDIR=/usr/local/tomcat5.5/temp
export PATH=$PATH:$CATALINA_HOME/bin
|
# . /etc/profile
# cd $CATALINA_HOME/bin
# ./shutdown.sh