반응형
yum install httpd-devel
wget http://apache.tt.co.kr/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.40-src.tar.gz
tar xvf tomcat-connectors-1.2.40-src.tar.gz
cd tomcat-connectors-1.2.40-src
cd native
./configure --with-apxs=/usr/local/apache/bin/apxs
make
make install
vi /etc/httpd/conf.d/workers.properties
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
vi /etc/httpd/conf.d/mod_jk.conf
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkMount /*.jsp woker1
JkMount /*.do woker1
JkMount /example/* woker1
반응형
'dev > linux' 카테고리의 다른 글
tomcat manager 사용 (0) | 2015.08.08 |
---|---|
[centos] Install Apache Tomcat (0) | 2015.08.08 |
[centos] squirrelmail 설치 (0) | 2015.07.21 |
[centos] postfix/dovecot 설치 (0) | 2015.07.21 |
[centos] sendmail 설치(SMTP) (2) | 2015.07.16 |