Multiple Tomcat runs under CentOS (this installation of Tomcat is used to install the debugger)

Source: Internet
Author: User

1. Install Tomcat (the installed Tomcat is best placed under the same path)

A. Get the installation package and unzip it (get the installation package: Upload and download using Rz\sz, file sharing via mount, samba service)

The method used this time is file sharing:

[root@localhost 虚拟机共享]# unzip apache-tomcat-8.0.26.zip  -d/var (将共享文件夹中的安装包解压到/var目录下)

B. Start Tomcat and execute the following command

[root@localhost /]# /var/apache-tomcat-8.0.26/bin/startup.sh (绝对路径)

[root@localhost bin]# ./startup.sh(当前路径)C. Problems with insufficient permissions when executing./startup.sh commands [root@localhost bin]# ./startup.sh -bash: ./startup.sh: 权限不够

D. Modifying permissions for. sh files

[root@localhost bin]# chmod u+x *.sh

修改成功后再次执行./starup.sh命令启动tomcat

F. Verify that Tomcat can connect to the network

Access Address: http:ip:8080 (port default is 8080)

Multiple Tomcat runs under CentOS (this installation of Tomcat is used to install the debugger)

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.