Note: The premise has been installed Oracle8.0 JDK
http://tomcat.apache.org/download-80.cgi
tomcat official website
# 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
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"/>
The content is as follows:
< Context privileged="true" antiResourceLocking="false"
docBase="${catalina.home}/webapps/manager"><Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$"/></Context>
# 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.
# . /catalina.sh run
http://192.168.239.130:8080
tomcat interface
Operation interface
Recommended Posts