CentOS Linux-Record Contos 7 build Tomcat 9 environment + Tomcat self-boot

Source: Internet
Author: User

System environment: CentOS Linux 7 x64

Current User: Normal user

Installing the Tomcat version: apache-tomcat-9.0.8.tar.gz

: https://tomcat.apache.org/download-90.cgi

1. Drag the Tomcat 9 that you downloaded from the physical machine to the virtual machine. (can also be downloaded directly from your own browser)

Because you are currently a normal user, you can only drag to the directory under the current user, or you may not have sufficient permissions.

2. Unzip. There are two ways: one is directly extracted by the self-brought program, and one is extracted by the command line method. (This is extracted using the own program)

Double-click to open the package, and in the upper-right corner Extract (extract), click Extract (extract) in the upper-left corner.

2. Right-click the open in Terminal (open terminal) directly in the current directory and move to the appropriate directory. (Need to get root privileges)

mkdir/app/tomcatmv Apache-tomcat-9.0. 8 /app/tomcat

3. Enter the Tomcat execution directory. (Need to get root privileges)

cd/app/tomcat/apache-tomcat-9.0. 8/bin

4. Start Tomcat and detect if the boot was successful. (Need to get root privileges)

To start Tomcat:

./startup.sh

To detect whether the startup was successful:

Ps-ef | grep Tomcat

, the startup succeeds.

CentOS Linux-Record Contos 7 build Tomcat 9 environment + Tomcat self-boot

Related Article

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.