Chicken Donut

I'll Have An Order Of General Tso's Chicken And Pork Flied Lice

Installing Tomcat as a Linux Service

Turns out setting Tomcat (6 in this case) up as a service on Ubuntu (Debian) is drop dead simple.  It boils down to just a few commands:

sudo chmod +x /usr/lib/apache-tomcat-6.0.18/bin/catalina.sh
sudo ln -s /usr/lib/apache-tomcat-6.0.18/bin/catalina.sh /etc/init.d/tomcat
sudo update-rc.d tomcat defaults

For more information:

Category: Yes, I'm a Geek

Tagged:

Leave a Reply