java server开发常见几大件安装

以在阿里云ECS为例:

host address
XX.XX.XX.XX

  1. install nginx 1.16.1
  2. install mysql 5.7
  3. install openjdk 1.8
  4. install tomcat at /opt/ directory
  5. 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

你可能感兴趣的:(java server开发常见几大件安装)