Uninstall / Remove Tomcat from Linux server

Uninstall / Remove Tomcat from Linux server

rm -Rf /usr/local/jakarta

service chkservd stop

cd /etc/chkserv.d
rm -Rf tomcat

cd /var/run/chkservd
rm -Rf Tomcat_JSP

service chkservd start

rm -f /usr/sbin/starttomcat
rm -f /usr/sbin/stoptomcat

echo “You must now remove the following lines (if they exist) form httpd.conf and restart apache”
echo “## LoadModule jk_module libexec/mod_jk.so ##”
echo “## AddModule mod_jk.c ##”
echo “## Include=”/usr/local/jakarta/tomcat/conf/mod_jk.conf” ##”
echo “## Now exexute restart apache ##”
echo “## DONE! ##”

——————————————–

Or uninstall via easyapache.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.