sudo tar zxvf apache-tomcat-6.0.26.tar.gz -C /opt
sudo mv /opt/apache-tomcat-6.0.26.tar.gz /opt/tomcat
export CLASSPATH=.:/usr/lib/jvm/java/jdk1.6.0_20/lib
export JAVAHOME=/usr/lib/jvm/java/jdk1.6.0_20
退出重新登陆或 运行 source /etc/profile
sudo /opt/apache-tomcat-6.0.26/bin/startup.sh
安装Tomcat
最新推荐文章于 2022-08-28 09:09:18 发布