I simply copy "ant" and "tomcat" into /usr/local/
then add this lines to /etc/profile
:
我只需将“ant”和“tomcat”复制到/ usr / local /然后将这些行添加到/ etc / profile:
export JAVA_HOME=/usr/java/latest
export JRE_HOME=/usr/java/latest/jre
export ANT_HOME=/usr/local/ant
export CATALINA_HOME=/usr/local/tomcat
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
#ant -version return:
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Apache web server works well, http://localhost/ is ok
Apache Web服务器运行良好,http:// localhost /没问题
in http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s7 says that startup.sh
with option jkconf
will generate a file in:
在http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s7中,带有选项jkconf的startup.sh将生成一个文件:
Include TOMCAT_HOME/conf/auto/mod_jk.conf
but its not there
但它不在那里
I run this command:
我运行这个命令:
[root@localhost tomcat]# sh startup.sh -jkconf
1 个解决方案
#1
0
I got it. I cant understand why, but after reboot everything works great
我知道了。我不明白为什么,但重启后一切都很好
#1
0
I got it. I cant understand why, but after reboot everything works great
我知道了。我不明白为什么,但重启后一切都很好