Tomcat is a web server software based on Java language. This article mainly introduces how to configure Java environment and install Tomcat on CentOS 7.5. 1. Install Java environment: Visit the orcal official website to download the JDK rpm package: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html After downloading, execute: After the installation is complete, modify the /etc/profile file and add the Java environment variables:
After adding, execute: source /etc/profile to make the configuration effective Execute: 2. Install Tomcat Visit the Apache official website and download the tomcat source package: https://tomcat.apache.org/download-80.cgi When downloading, be sure to select the source package in Binary Distributions After downloading, unzip it and copy the contents of the unzipped directory to /usr/local/tomcat (the /usr/local/tomcat directory needs to be created manually) tar -xf apache-tomcat-8.5.38.tar.gz mkdir /usr/local/tomcat8 mv apache-tomcat-8.5.38/* /usr/local/tomcat8/ cd /usr/local/tomcat8/bin ./startup.sh At this point, Tomcat has been installed successfully, visit to test: Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: jQuery plugin to achieve image suspension
>>: MySql Group By implements grouping of multiple fields
(1) Experimental environment youxi1 192.168.5.101...
The development of Docker technology provides a m...
The Docker daemon uses HTTP_PROXY , HTTPS_PROXY ,...
Nginx logs can be used to analyze user address lo...
For the beginner's first installation of MySQ...
There are many tags in XHTML, but only a few are ...
chmod Command Syntax This is the correct syntax w...
Introduction MySQL should be a very common databa...
Table of contents 1. prototype (explicit prototyp...
I recently watched a video of a foreign guy using...
Without further ado, I will post the code for you...
Table of contents 1. Conditions for joint index f...
Table of contents 1. One-way value transfer betwe...
MySQL add, delete, modify and query statements 1....
Introduction MySQL achieves high availability of ...