otak info official Logo   
OTAK.INFO
Personal Blog

Hariyanto Lim

정길상 / 鄭吉祥
Home   Last Posts  
 
Please login to see more topics and discussion categories.
 
goto main category list >> Software programming >> Java

Title : Setup Apache Tomcat in Mac 10.10 (Yosemite)
Total Reply : 0
Total View : 1727


Harry
Harry
Total thread: 131
Total reply: 50

Post #161
Setup Apache Tomcat in Mac 10.10 (Yosemite)
In my project, I have to setup Apache Tomcat in my Mac Yosemite, I have found an easy and perfect working steps from http://wolfpaulus.com/jounal/mac/tomcat8, I am writing this blog entry to help myself about how to re-setup it again.

Steps:
  1. Install Java (I use Java 1.7)
  2. Download Apache Tomcat 8.0.21 from http://tomcat.apache.org/download-80.cgi
    * Download "apache-tomcat-8.0.21.tar.gz" file and unzip it to a folder (remember the folder for later use)
  3. Create a link (shortcut) for Apache Tomcat
    sudo rm -f /Library/Tomcat
    sudo ln -s /usr/local/apache-tomcat-8.0.21 /Library/Tomcat
    
    NOTE: remember to change the link path if we upgrade Apache Tomcat
  4. Change ownership of the /Library/Tomcat folder hierarchy:
    sudo chown -R <your_username> /Library/Tomcat
  5. Make all scripts executable:
    sudo chmod +x /Library/Tomcat/bin/*.sh
  6. To start Tomcat, use :
    /Library/Tomcat/bin/startup.sh
    To stop Tomcat, use:
    /Library/Tomcat/bin/shutdown.sh
Falling in love with the world

Write : 2015-04-08 13:35:09
Last edit : 2015-04-08 15:18:37

If you want to create a new reply then please login first.



www.OTAK.INFO
Since 19 January 2007
Page hit : 664,255

Code update 24th June 2013
Brain is a very capable to solve big problems
but requires constant reminders about how to.
peace bird