Openguys.org | Open your hands to world
December 03, 2008, 02:43:07 PM *
Installing mod_jk to Apache web Server.
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New Users Welcome !!!

Installing mod_jk to Apache web Server

Pages: [1]
Add bookmark Print
Author Topic: Installing mod_jk to Apache web Server  (Read 595 times)
Romio
Global Moderator
Full Member
*****
Posts: 226



WWW
« on: August 01, 2007, 12:30:39 PM »

# go to opt folder and download mod_jk source, url might be different. get from site ..

You can Download it from http://tomcat.apache.org/download-connectors.cgi

To download file by using Proz Use this command
wget "http://apache.siamwebhosting.com/tomcat/tomcat-connectors/jk/source/jk-1.2.22/tomcat-connectors-1.2.22-src.tar.gz"

# untar and unzip
tar xzvf tomcat-connectors-1.2.22-src.tar.gz
cd tomcat-connectors-1.2.22-src

# take backup of current mod_jk module for safety
cp /data/apache2/modules/mod_jk.so /data/apache2/modules/mod_jk.so.1.2.20

# change to native folder and start compiling...DO NOT INSTALL... Will Crash Apache

cd native/
./configure --with-apxs=/data/apache2/bin/apxs
make

# take copy of old workers.pro as for backup...
cp /data/apache2/conf/workers.properties /data/apache2/conf/workers.properties.1.2.20

# change parameters if required....
vi /data/apache2/conf/workers.properties

# stop apache before installing new module...
/data/apache2/bin/apachectl stop
/data/apache2/bin/apachectl stop

# now delete old module
rm -f /data/apache2/modules/mod_jk.so

# install new mod_jk modules....
make install


# start apachge..
/data/apache2/bin/apachectl startssl
Logged

W w W . o P e n g U y s . o R g
Openguys.org | Open your hands to world
« on: August 01, 2007, 12:30:39 PM »

 Logged
Pages: [1]
Add bookmark Print

Jump to:  

All rights reserved by © 2007, Openguys.org




Google visited last this page December 02, 2008, 06:12:12 AM