java-web environment to build

java-web environment structures (jdk + tomcat)

First, the installation package Download

  jdk Download: https: //www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html

 

 

  tomcat-7.0.96 Download: http: //mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.96/bin/apache-tomcat-7.0.96.tar.gz

 

 Second, install jdk and tomcat

  2.1, the installation JDK (Java interpreter)

  2.1.1, first install gcc

  #apt-get install gcc gcc-c++

  2.1.2, the package upload, extract, and move to the designated installation directory

 

   2.1.3 JDK configuration environment variable

 

   2.1.4 to see if the installation was successful java

 

2.2, install tomcat 

  2.2.1, the package upload, extract, and move to the designated installation directory

 

   2.2.2, tomcat configuration environment variable

 

 #source / etc / profile after profile configuration environment variable to reload the file

2.2.3, start tomcat, and test the tomcat is available on the web.

#/usr/loca/tomcat/bin/catalina.sh start

 

 

 

 java-web between the completion of a single environment

 

 

 

 

  

 

 

Guess you like

Origin www.cnblogs.com/mython/p/11612078.html