Installing Tomcat on Mac(OS X)
Step 1. Download Tomcat7 Binary Distributions from Tomcat homepage.
Step 2. Move the downloaded directory to /usr/local
:1
sudo mv ~/Downloads/Apache-tomcat-7.0.24 /usr/local
Step 3. Create a symbolic link in /Library
:1
sudo ln -s /usr/local/Apache-tomcat-7.0.24 /Library/Tomcat
Step 4. Change ownership of /Library/Tomcat
:1
sudo chown -R <user_name> /Library/Tomcat
Step 5. Make all scripts executable:1
sudo chmod +x /Library/Tomcat/bin/*.sh
Step 6. Use command /Library/Tomcat/bin/startup.sh
to start tomcat, then brower http://localhost:8080
.