测试
shell>javac
如果不出command not found说明java安装ok
tomcat的安装
本安装采用版本tomcat5.5.9
shell>cd /usr
shell>tar zxvf tomcat5.5.9.tar.gz
shell>ln -s /usr/tomcat5.5.9 tomcat5
shell>vi /usr/tomcat5/bin/catalina.sh
添加
JAVA_HOME=/usr/jdk1.5.0
shell>/usr/tomcat5/bin/start.sh起动服务
jk的安装
本安装采用版本1.2.14src
至此,整个配置过程完成,一套LAMPJT系统就出来了
注意:在linux fed core 4,所以如果你想不修改tomcat 的启动脚本catalina.sh中的JAVA_OPTS变量,请采用jdk1.5。
jk的安装
本安装采用版本1.2.14src
shell>tar xvf XXXXXX1.2.14.src.tar.gz shell>cd XXXXX1.2.14 shell>chmod 755 buildconf.sh shell>./buildconf.sh shell>./configure --with-apxs=/usr/apache/bin/apxs shell>make shell>make install shell>vi /usr/apache/conf/httpd.conf 在文档后加入 LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug JkMount /*.jsp worker1 编写workers.properties文档(conf下) ps=/ worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1
至此,整个配置过程完成,一套LAMPJT系统就出来了
注意:在linux fed core 4,所以如果你想不修改tomcat 的启动脚本catalina.sh中的JAVA_OPTS变量,请采用jdk1.5。
| 对此文章发表了评论 |
