Last active
August 29, 2015 14:22
-
-
Save mortenbra/1a3bc8c432a0c476da61 to your computer and use it in GitHub Desktop.
Clean up Tomcat after installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove Tomcat default apps/pages | |
cd /usr/share/tomcat7/latest/webapps | |
rm -rf docs/* | |
rmdir docs | |
rm -rf examples/* | |
rmdir examples | |
rm -rf host-manager/* | |
rmdir host-manager | |
rm -rf manager/* | |
rmdir manager | |
rm -rf ROOT/* | |
# now put your own content in a ROOT/index.html file | |
# see http://wiki.apache.org/tomcat/HowTo#How_do_I_override_the_default_home_page_loaded_by_Tomcat.3F | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment