At least even economists can do it!
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.




































