https://gitee.com/xiweicheng/tms

  • jdk8
  • tomcat8
  • mysql(>=5.6)

安装包下载:
tomcat
下载链接
jdk8
下载链接
maven
下载链接
Nginx 下载
下载链接
Mysql下载
下载链接

jdk mvn 部署

  1. cd /tmp
  2. tar xf jdk-8u191-linux-x64.tar.gz -C /usr/local
  3. ln -s /usr/local/jdk1.8.0_191/ /usr/local/jdk
  4. rm -rf /usr/bin/java
  5. ln -s /usr/local/jdk/bin/java /usr/bin/java
  6. cat >> /etc/profile << EOF
  7. export JAVA_HOME=/usr/local/jdk
  8. export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
  9. export PATH=$JAVA_HOME/bin:$PATH
  10. EOF
  11. source /etc/profile
  12. tar xf apache-maven-3.5.3-bin.tar.gz -C /usr/local
  13. mv /usr/local/apache-maven-3.5.3 maven-3.5.3
  14. ln -s /usr/local/maven-3.5.3/ /usr/local/maven
  15. sudo tee /etc/profile <<-'EOF'
  16. export JAVA_HOME=/usr/local/jdk
  17. export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
  18. export PATH=$JAVA_HOME/bin:$PATH
  19. MAVEN_HOME=/usr/local/maven
  20. export MAVEN_HOME
  21. export PATH=${PATH}:${MAVEN_HOME}/bin
  22. EOF
  23. source /etc/profile
  24. mvn -v
  25. java -version

Tomcat部署

MySQL部署

Nginx部署