Centos7 installation tomcat process introduction

Note: The premise has been installed Oracle8.0 JDK

1、 Find Tomcat8 from the official website, download the installation package;

http://tomcat.apache.org/download-80.cgi

After finding the installation package, download the corresponding version of Tomcat, this article downloads version 8.0######

tomcat official website

2、 Then enter Centos and perform the following operations:

# cd /usr/local``# wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.8/bin/apache-tomcat-8.5.8.tar.gz``# tar -zvxf apache-tomcat-8.5.8.tar.gz``# mv apache-tomcat-8.5.8 tomcat

3、 Modify /usr/local/tomcat/conf/tomcat-users.xml and add

The content is as follows:

< role rolename="manager"/><role rolename="manager-gui"/><role rolename="admin"/><user username="tomcat" password="tomcat" roles="admin,manager,manager-gui"/>

4、 At the same time, you also need to enter /usr/local/tomcat/conf/Catalina/localhost/ to check whether there is a manager.xml file, if not, create a new one and add the following content:

The content is as follows:

< Context privileged="true" antiResourceLocking="false"
  docBase="${catalina.home}/webapps/manager"><Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$"/></Context>

5、 Run Tomcat

# cd /usr/local/tomcat/bin``# ./startup.sh

The following content is displayed, indicating that the tomcat has been started;

Using CATALINA_BASE:/usr/local/tomcat
Using CATALINA_HOME:/usr/local/tomcat
Using CATALINA_TMPDIR:/usr/local/tomcat/temp
Using JRE_HOME:/usr/java/jre1.8.0_111
Using CLASSPATH:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
Or type

# . /catalina.sh run

6、 Enter IP through this machine

http://192.168.239.130:8080

You will enter the tomcat interface,

tomcat interface

7、 Click on the Manager APP, enter the user name created in step 3: tomcat and password: tomcat; if the password is entered correctly, it will enter the tomcat operation interface;

Operation interface

Recommended Posts

Centos7 installation tomcat process introduction
Introduction to CentOS7 installation process of openjdk, tomcat and mysql
Centos 7 mini installation process record
CentOS8 Linux 8.0.1905 installation process (illustration)
2019-07-09 CentOS7 installation
centos7_1708 installation
CentOS 7 Tomcat service installation and configuration
Centos5 installation guide
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
Centos7.5 configuration java environment installation tomcat explanation
Python - centos6 installation
Docker installation (CentOS7 installation)
CentOS7 docker installation
CentOS online installation RabbitMQ3.7
lamp (centos7) installation lamp environment
Ubuntu introduction and installation
CentOS system startup process
Graphical installation of CentOS8
Mysql8.0.15 installation configuration (centos7)
CentOS7 install JDK8, tomcat8
Linux notes (1): CentOS-7 installation
CentOS online installation RabbitMQ3.7
Docker CentOS installation method
Linux CentOS 7 installation tutorial
Centos system process management
Centos7 docker installation details
Python introduction and environment installation
Discourse CentOS 8 new installation manual
Centos mysql installation and configuration
Centos7.6 method to install Tomcat-8.5.39
Glusterfs cluster installation on Centos7
Anaconda introduction and Ubuntu/windows installation Anaconda
Redis cluster installation under CentOS
CentOS 7 Galera Cluster installation guide
CentOS6.5 install Java 8 and Tomcat8
CentOS 7 installation and configuration PPTP
CentOS installation and configuration cmake
Ubuntu16.04.5LTS installation process of SVN
Centos7.5 installation and configuration MongoDB4.0.4
Redis cluster installation under CentOS
CentOS 7 installation and configuration PPTP
Hyper-V + CentOS7 installation video tutorial
Centos7 silent installation of Oracle11g
CentOS 6.8 virtual machine installation details
CentOS6.5 install Java 8 and Tomcat8
CentOS6.5 install Java 8 and Tomcat8
CentOS7 postgresql installation and use
CentOS environment installation of Docker
centos6.5: gcc upgrade (5.2.0) process record
Centos7.4 environment installation lamp-php7.0 tutorial
Docker EE installation on centos7
Discourse CentOS 8 new installation manual
Centos6 system boot loading process
Linux centos system boot process
Centos7 elk7.1.1 installation and use
Analysis of Hyper-V installation CentOS 8 problem
VMware Ubuntu installation detailed process (pro-test)
Centos iso image file installation tutorial
Centos7 installation is actually very simple
Centos7 installation of Dameng database tutorial
CentOS 8 installation of MariaDB detailed tutorial