UP

Guide to install mod_caucho from Resin 2 for Apache 2 under Debian Etch


# as root
#
apt-get install build-essential
apt-get install apache2-dev

# create a symbolic link from apache2 to httpd2
# this is the workaround for the configure script provided by resin
# it looks for the binary "httpd2", but debian provides it as "apache2"
ln -s /usr/sbin/apache2 /usr/sbin/httpd2

# as $user
cd ~
mkdir resin
cd resin
wget http://www.caucho.com/download/resin-2.1.17.tar.gz
tar xvzf resin-2.1.17.tar.gz
ln -s resin-2.1.17 current
cd current
export JAVA_HOME=/usr/local/java2
export RESIN_HOME=/home/$user/resin/current
./configure --with-apxs=/usr/bin/apxs2
make
cd bin
./httpd.sh start

# as root
make install

# check
cat /etc/apache2/httpd.conf

LoadModule caucho_module /usr/lib/apache2/modules/mod_caucho.so
CauchoConfigFile /home/$user/resin/current/conf/resin.conf

# if ya have created a webapp with the id "/myapp", requests going to apache2 
# with this context should be forwarded to resin from now on 
# ( e.g. http://myserver/myapp )

	
Last Modified: Mi Aug 9 18:48:02 CEST 2006 Feedback: public@ecopatz.de