linux tomcat installation configuration download

1. Download and install Tomcat ( http://tomcat.apache.org/ ) of their choice with their own version of jdk match

There are multiple versions, I was under the tar.gz package

2. Upload decompression
mkdir / usr / local / tomcat (create a new folder, upload to that location)
decompression

[liuwei@VM_0_7_centos tomcat]$ tar -zxvf apache-tomcat-9.0.31.tar.gz

 

 

3. Start tomcat
into the tomcat bin directory and start installation

./start.sh

Catalina logs directory to install. *. Out View Log

 

 Successful start

Browser HTTP: // IP: 8080 /   IP installed tomcat machine IP address for you

 

 

That starts successfully

 

problem:

java.net.BindException: Address already in use: JVM_Bind

Error in the installation can be catalina logs directory. *. Out to see

Solution:

1. Application stopped occupied port 8080, and then execute bin directory ./shutdown.sh,/start.sh

8080 port is installed server.xml in conf directory 2. Modify the 8090, execution ./shutdown.sh,/start.sh

Then again, the browser http: // IP: 8090 / to see the success of page

 

Guess you like

Origin www.cnblogs.com/liuwei00125/p/12554941.html