At least even economists can do it!

Posted in open source by Francisco Marco-Serrano @ Jul 28, 2005
Or, how I managed to set up my personal web server.

Do you remember “I told you i’m not a geek!!!”?. Well, I’m the following stage, installing Hipergate. In the meantime, find how I’ve set up the web server in Debian Sarge (note: as I’m just a newbie I don’t think I’m capable of giving the exact procedures, Google a little bit; this is not a HOWTO).

1) Apache 2.0.54: use “aptitude”.

2) Java 1.5: debianise with “java-package”/”fakeroot make-jpkg”/”dpkg” [Check The Crazy Squirrel website]. My JAVA_HOME is /usr/lib/java.

3) Tomcat 5.5.9: download to your drive (i.e. /usr/local/tomcat) and include the line “export JAVA_HOME=/usr/lib/java” in the “startup.sh” file.

4) Integrate Apache and Tomcat: I’ve found a lot of sites recommending this, since Apache is efficient for static pages while Tomcat is the best for dynamic contents.
What I’ve done is install the libapache2-mod-jk2 with “aptitude” and follow the instruccions in the file /etc/apache2/mods-enabled/jk2.conf; after messing around with the proposed example file workers2.properties I’ve been able to connect both servers (HTTP and JSP). Restart both servers.

And it’s working! …at the moment.

Oops! It seems we have found nothing related.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a