i have a ubuntu 8.04 lamp setup and has been working well now for nearly a year.... i have been learning about java servlets , my understanding is that i have to set up tomcat to be able to use this...... my lamp is a standard lamp.... apache2, php, mysql..... what do i need to do to get tomcat working and were can i find info on how to config and use.... thanks in advance mike.... also, if i install tomcat how will it effect my system, i currently house several sites on this machine......
You can install Tomcat through aptitude or manually. Considering you have some sites on your machine I would sugest you install it manually because this way you will know where everything is. In order for Tomcat to work you will need Java SDK and Java JRE - DSK usually includes JRE. These are 2 nice how-to's: 1. manually: http://ubuntuforums.org/showthread.php?p=226828 2. apt-get: http://www.mkyong.com/tomcat/how-to-install-tomcat-in-ubuntu/ You will find lots of help on their site (http://tomcat.apache.org/tomcat-5.5-doc/index.html) and on the internet. Hope this helps.
Good howto on doing tomcat in debian lenny (which should be very similar to ubuntu for your purposes) at http://library.linode.com