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