RecentChanges TextFormattingRules AllWikiTopics OrphanedWikiTopics ToDoWikiTopics WikiLockList RSS Export2HTML WikiSearch SetUsername StartingPoints Home |
Ubuntu:Tomcat @Oct 23, 2011 12:28:23 PM
On Ubuntu (at least with 10.04 LTS) Tomcat is very easy to install
sudo apt-get install tomcat6 It is nicely setup with CATALINA_HOME=/usr/share/tomcat5.5 andCATALINA_BASE=/var/lib/tomcat5.5 That's great - but I like my config files to live on the same NFS mount as the web sites, which gets mounted onto /usr/local/sites. The config files live in $CATALINA_BASE/conf which in Ubunto would therefore be/var/lib/tomcat5.5/conf But since that folder is actually just a sym-link to /etc/tomcat5.5 it is very easy to swap Ubuntu's default location for my preferred location...sudo /etc/init.d/tomcat5.5 stop We haven't lost anything - it's easy to put the sym link back to its default location if needed. |