Aug 222009
 

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.

 Posted by at 8:02 am