
Installing Tomcat 6.0.18 on OS X
- Make Java 1.5 (or later) the default JRE
- Get the core distribution from http://tomcat.apache.org/ At the time of this writing that would be: apache-tomcat-6.0.18.tar.gz
- Unpacking will create a apache-tomcat-6.0.18 folder, probably on your desktop.
Move this folder into /usr/local, like this:
sudo mv ~/Desktop/apache-tomcat-6.0.18 /usr/local - To make it easy to replace this release with future releases, we are going to create a symbolic link that we are going to use when revering to Tomcat:
sudo ln -s /usr/local/apache-tomcat-6.0.18 /Library/Tomcat - Next step is making Tomcat's launch and stop scripts executable:
chmod ug+x /Library/Tomcat/bin/*.sh
Startup:
Open TextEdit and create a startTomcat.command file in your home folder ...
Shutdown:
Open TextEdit and create a stopTomcat.command file in your home folder ...
chmod ug+x ~/startTomcat.commandchmod ug+x ~/stopTomcat.command
sudo chown -R your_username /Library/TomcatTest with http://localhost:8080
Instead of using the start and stop scripts, you may also want to check out activata's Tomcat Controller a tiny freeware app, providing a UI to quickly start/stop Tomcat.
Subscribe