Install Tomcat 5.5 on Debian
October 3rd, 2007
Tags: debian, security, tomcat, ubuntu
You can install tomcat 5.5 in 4 steps, but the last one takes you a while if you are a newbie to tomcat. Also be aware of the security implications, which are there is no security check at all! I use it only locally for testing purposes, you SHOULD NOT use it in a production environment!
1. install required packages
CODE:
-
apt-get install tomcat5.5 tomcat5-5-admin tomcat5.5-manager
2. link web applications to web application directory
CODE:
-
ln -s /usr/share/tomcat5.5/server/webapps/manager /var/lib/tomcat5.5/webapps
-
ln -s /usr/share/tomcat5.5/server/webapps/admin /var/lib/tomcat5.5/webapps
3. To enable administration and management add this to /usr/share/tomcat5.5/conf/tomcat-users.xml
CODE:
-
<user username="admin" password="PASSWORD" roles="admin,manager"/>
4. disable security manager by adding the following line to /etc/default/tomcat5.5
CODE:
-
TOMCAT5_SECURITY=no
Sources: Install Tomcat 5.5 in Debian and Ubuntu by subjam







Leave a Reply