Download https://tomcat.apache.org/download-80.cgi Select Core package to download After downloading, you need to upload the file to the server, you can use xshell. I use ZMODEM and can directly drag the file to the server usr/src directory If you can't delay, you need to install the tool yum install -y lrzsz If the installation prompts you, you need root privileges to execute this command. You need to switch to the root user and grant permissions First, modify the permissions of the sudoers file so that it is not read-only Edit the sudoers file and add the lzq user to all executable permissions Then change the sudoers file permissions back to 440 Then switch back to root to start downloading yum install -y lrzsz Unzip tomcat Enter the bin/directory and execute ./startup.sh to start tomcat You can enter ps -ef | grep tomcat to check whether tomcat is started. You can also enter the logs to view the startup log I started it here but I can't access it. It should be because the firewall does not open the port Check open port numbers firewall-cmd --list-all Set the open port number sudo firewall-cmd --add-port=80/tcp --permanent Restart the firewall firewall-cmd --reload OK If you want to play with the cluster, you need to change the port number Enter the tomcat configuration file to modify the port number Two places need to be modified Modify the binding port 8090 Then exit, save and start tomcat The port is not open. Re-execute Check open port numbers firewall-cmd --list-all Set the open port number sudo firewall-cmd --add-port=80/tcp --permanent Restart the firewall firewall-cmd --reload OK Configure tomcat again This is the end of this article about the latest illustrated process of installing tomcat8 under Linux. For more relevant content about installing tomcat under Linux, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Tips for using DIV container fixed height in IE6 and IE7
>>: Perfect solution for JavaScript front-end timeout asynchronous operation
After starting Docker, let's take a look at t...
The core is mysqldump and Runtime The operation i...
Find the problem When we display the contents in ...
In fact, it is very simple to encapsulate axios i...
JSONObject is just a data structure, which can be...
When writing a Dockerfile, include an entrypoint ...
1. Flex layout .father { display: flex; justify-c...
Table of contents Step 1: Update Packages on Cent...
<br />For each of our topics, the team will ...
CSS Operations CSS $("").css(name|pro|[...
Nginx is a high-performance website server and re...
1. Download MySQL Community Server 5.6.35 Downloa...
introduction I discovered a problem before: somet...
This article uses an example to describe how to s...
All websites, whether official, e-commerce, socia...