Here are the quick steps to install Tomcat 7 on Mac. I believe it may take few minutes to install
1. Download a Core Binary file from here. The link of the binary file looks like this
http://apache.techartifact.com/mirror/tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37.tar.gz
2.Extract the downloaded binary file tar -xzvf ~/Downloads/apache-tomcat-7.0.37.tar.gz
3.Create or make sure you have local folder.If you don't have it then create it sudo mkdir /usr/local Then move the extracted binary files to /usr/local sudo mv ~/Downloads/apache-tomcat-7.0.37 /usr/local
4.Soft link the installed folder to Mac's library folder. To maintain easily the installed application sudo ln -s /usr/local/apache-tomcat-7.0.37 /Library/Tomcat7
5. Change the ownership and executable permission to application folder sudo chown -R YOUR_MAC_USER_NAME /Library/Tomcat7 sudo chmod +x /Library/Tomcat7/bin/*.sh
6. Installation is done, now you can start/stop the Tomcat7 Service /Library/Tomcat7/bin/startup.sh /Library/Tomcat7/bin/shutdown.sh
7. Open your browser and type the URL to see welcome message of tomcat7 application server - http://localhost:8080
2.Extract the downloaded binary file tar -xzvf ~/Downloads/apache-tomcat-7.0.37.tar.gz
3.Create or make sure you have local folder.If you don't have it then create it sudo mkdir /usr/local Then move the extracted binary files to /usr/local sudo mv ~/Downloads/apache-tomcat-7.0.37 /usr/local
4.Soft link the installed folder to Mac's library folder. To maintain easily the installed application sudo ln -s /usr/local/apache-tomcat-7.0.37 /Library/Tomcat7
5. Change the ownership and executable permission to application folder sudo chown -R YOUR_MAC_USER_NAME /Library/Tomcat7 sudo chmod +x /Library/Tomcat7/bin/*.sh
6. Installation is done, now you can start/stop the Tomcat7 Service /Library/Tomcat7/bin/startup.sh /Library/Tomcat7/bin/shutdown.sh
7. Open your browser and type the URL to see welcome message of tomcat7 application server - http://localhost:8080
No comments:
Post a Comment