Linux installation Tomcat

Source: Internet
Author: User

The following is a personal essay.

1. Ensure that the JDK is installed

2. Download Tomcat

http://tomcat.apache.org

3. Create the installation directory and upload the installation package

/data/apptest Catalog can be customized according to your needs

4. Unzip Tomcat

Cd/data/apptest

Because I would use multiple tomcat so rename the difference.

5. Configuring the Tomcat configuration file

CD phoenixclub-rest-common/

Vim./conf/server.xml

Here, if you want to start multiple tomcat, you need to configure 4 ports, each with a different port.

1. Close the port

2, 8080 is HTTP request Port 8443 is HTTPS port

3. AJP Port

4. No project name is required to configure access to the Tomcat project

6. Start Tomcat

Viewing the boot log

Enter the address + port number in the browser after startup is complete. Seeing the Tomcat Welcome page indicates that the installation was successful.

7. Stop Tomcat

Close process

Ps-aux | grep Java uses kill-9 23293 (ID) based on ID

Linux installation Tomcat

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.