2014년 5월 6일 화요일

Installing Tomcat on Mac OS

Step 1: Download a binary distribution of the core module: apache-tomcat-7.0.53.tar.gz (or apache-tomcat-7.0.53.zip) from here.

Step 2: Opening or Unarchiving the tar.gz (or zip) file will create a folder something like this in your Downloads folder ~/Downloads/apache-tomcat-7.0.53

Step 3: Move the unarchived distribution to /usr/local:
sudo mkdir /usr/local sudo mv ~/Downloads/apache-tomcat-7.0.53  /usr/local

Step 4: 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 referring to Tomcat:
sudo ln -s /usr/local/apache-tomcat-7.0.53  /Library/Tomcat

Step 5: Change ownership of the /Library/Tomcat folder hierarchy:
sudo chown -R /Library/Tomcat

Step 6: Make all scripts executable:
sudo chmod +x /Library/Tomcat/bin/*.sh

Step 7: Now executes the startup.sh and open your Web Browser and goto http://localhost:8080. You should see the following window.

You can use the very simple app Tomcat Controller.


댓글 없음:

댓글 쓰기