以在阿里云ECS为例:
host address
XX.XX.XX.XX
- install nginx 1.16.1
- install mysql 5.7
- install openjdk 1.8
- install tomcat at /opt/ directory
- set path append to /etc/profile
stephen add at 20141024
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/
JRE_HOME=PATH:JRE_HOME/bin
CLASSPATH=.:JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
export JAVA_HOME JRE_HOME PATH CLASSPATH
网友评论