MAC OX Configuration Tomcat Description

Source: Internet
Author: User

1: First download Tomcat on official website (I chose the newest 9.0), http://tomcat.apache.org/

2: After the download is complete, unzip the package under/library/to use the shortcut key control+ space input/library

3: Open the Mac terminal program, modify the/library/tomcat user rights

Terminal operations

Input:sudo chmod 755/library/tomcat/bin/*.sh

Then you will be prompted to enter the password verification, enter the local password return

4: Find the/library/tomcat/conf/tomcat-users.xml file, open the code below to edit it inside

<role rolename= "Manager"/>

<user username= "Tomcat" password= "xxxx" roles= "manager"/>

5: Also in terminal program input: sudo sh/library/tomcat/bin/startup.sh

If the returned result is:

Using catalina_base:/library/tomcat

Using Catalina_home:/library/tomcat

Using Catalina_tmpdir:/library/tomcat/temp

Using Jre_home:/library/java/javavirtualmachines/jdk1.8.0_65.jdk/contents/home

Using CLASSPATH:/library/tomcat/bin/bootstrap.jar:/library/tomcat/bin/tomcat-juli.jar

The boot is successful, we enter it in the browser: http://localhost:8080 will pop up the following interface

MAC OX Configuration Tomcat Description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.