For Apache Tomcat estimates a lot of children's shoes will, so today simply say on the MAC for Tomcat installation;
First step: Download Tomcat
Here himi download the Tomcat version:7.0.27
Directly on: http://tomcat.apache.org/download-70.cgi
Directly download the following check:
The second step: After the download is complete, then free to put the catalogue, here Himi into/usr/local/
Right-click your Mac's finder-> to the folder->/usr/local the entire directory of the Tomcat folder you just unzipped, as shown in:
(convenient) Of course, to make it easier for you to work with Tomcat later, we can put the Tomcat bin path into the environment variable:
1. Open your terminal: then enter Pico. Bash_profile return
2. Then add the path to your tomcat-placed paths, as shown in:
After editing, control+x (save) Continue: Y (agree) carriage return;
Step three: Start Tamcat;
1) If you have configured (convenient) This step, you can enter the startup.sh directly in the terminal
2) If you do not configure (convenient) This step, first CD xxxx (XXX Indicates the path you tomcat put to), and then enter startup.sh
Attention:
If the word "Permission denied" appears after startup.sh, you will need to set permissions on this directory:
Start Terminal: Enter sudo chmod 755 xxx/bin/*.sh (XXX Indicates the path you tomcat put to) enter;
OK, start Tomcat again at the terminal input startup.sh;
If it appears as follows:
Ok,comcat start complete, we monitor the following:
Open your Safari, then enter the URL http://localhost:8080/
If you can open the Tomcat home page correctly, the Tomcat configuration starts successfully:
Note: The tomcat8.0.9 version was originally installed and the browser was unable to display the home page after startup. Read the readme, require Java version 7.0 or more, the 6.0 version of the machine, does not meet the requirements, so installed the tomcat7.0.55 version, can be used normally
Detailed steps to install Apache Tomcat on Mac system [go]