linux下安装tomcat方法

cd /home/kylin

wget http://www.fayea.com/apache-mirror/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz

tar zxvf apache-tomcat-6.0.36.tar.gz 

cd /usr/local/

mv /home/kylin/apache-tomcat-6.0.36 .

vi /etc/profile

 

将下面语句加到最后一行

export TOMCAT_HOME=/usr/local/apache-tomcat-6.0.36

 

搞定!

posted @ 2013-03-31 18:50  jiang nan  阅读(267)  评论(0编辑  收藏  举报