If
you are an Ubuntu user and a Java developer there’s a great chance that
you’d want at some point to develop web applications using Eclipse and
Tomcat. The easiest way to install Tomcat is by using the package
manager:
sudo apt-get install tomcat6 tomcat6-* |
Now
configuring Eclipse to use the instance of Tomcat you previously
installed should be straightforward. Unfortunately, because of the way
Tomcat is packaged, after you install the container there are a few
steps that should be followed in order to be able to add Tomcat 6 to
your Eclipse’s servers list:
sudo ln -s /var/lib/tomcat6/conf /usr/share/tomcat6/conf sudo ln -s /etc/tomcat6/policy .d /03catalina .policy /usr/share/tomcat6/conf/catalina .policy sudo ln -s /var/log/tomcat6 /usr/share/tomcat6/log sudo chmod -R 777 /usr/share/tomcat6/conf |