Linux Tomcat installation and configuration detailed steps

Source: Internet
Author: User

1. Connect to the server, go to the folder where you want to store the files (my is cd/root/developer), download tomcat, get the apache-tomcat-9.0.4.tar.gz file.

wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-9/v9.0.4/bin/apache-tomcat-9.0.4.tar.gz

2. Unzip the apache-tomcat-9.0.4.tar.gz file using tar-zxvf

TAR-ZXVF apache-tomcat-9.0.4.tar.gz

The apache-tomcat-9.0.4 folder will be available when the decompression is complete.

3. Tomcat Configuration

CD apache-tomcat-9.0. 4 Enter the apache-tomcat-9.0.4 folder and type vim Conf/server.xml

Press i to enter edit mode, change the following section (port to 80, add uriencoding="UTF-8" ),

ESC exits edit mode, enter : Wq save to exit.

4. Tomcat Launcher

Enter the CD bin into the bin directory, and then enter the ./startup.sh BOOT.

Linux Tomcat installation and configuration detailed steps

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.