(1) Download httpd source from Apache httpd download page and unzip it
(2) Configure with --prefix option and --with-included-apr option, then make it.
./configure --prefix=/home/shankar/software/apache2/ --with-included-apr; make; make install;(3) Download Axis2/C source from Axis2/C download page and unzip it
(4) Configure with --prefix option and --with-apache2 option. After configuring, make it.
./configure --prefix=/home/shankar/software/axis2/ --with-apache2=/home/shankar/software/apache2/include; make; make install;(5) Copy /home/shankar/software/axis2/lib/libmod_axis2.so to /home/shankar/software/apache2/modules
cp /home/shankar/software/axis2/lib/libmod_axis2.so /home/shankar/software/apache2/modules(6) Edit /home/shankar/software/apache2/conf/httpd.conf and add following
LoadModule axis2_module /home/shankar/software/apache2/modules/libmod_axis2.so
Axis2RepoPath /home/shankar/software/axis2/
Axis2LogFile /tmp/axis2.log
Axis2LogLevel info
Axis2MaxLogFileSize 10
Axis2GlobalPoolSize 10
<location axis2="">
SetHandler axis2_module
</location>(7)If you are running httpd as a normal user, not as a root, have to modify "user" and "group" settings in httpd.conf(8) Access the services listing page and verify whether installation is OK.
http://localhost:8080/axis2/services
Building Axis2/C with binary release of Apache httpd
(1) Install following packages
- httpd
- httpd-devel
- apr
- apr-devel
./configure --prefix=/home/shankar/software/axis2/ --with-apache2 --with-apr(3) Other steps are similar to the way mentioned above.
0 comments:
Post a Comment