CentOS 8.2安装MySQL5.7和JDK和Tomcat

MySQL5.7

结合两篇文章

阿里云服务器CentOS8.2安装MySQL5.7_多学习,多总结-CSDN博客
Mysql安装失败-GPG验证不通过_yaoyaozaiye的博客-CSDN博客

JDK

Linux CentOS 8 安装与配置 JDK - 随风秋叶 - 博客园


# set java environment JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64 PATH=$PATH:$JAVA_HOME/bin CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME CLASSPATH PATH

改为
# set java environment JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk PATH=$PATH:$JAVA_HOME/bin CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME CLASSPATH PATH

TOMCAT

百度云下载链接:https://pan.baidu.com/s/1z09zZJJ34Ei3X__cfiOgvQ 
提取码:jaof

mkdir /usr/local/java
vim /etc/profile
source /etc/profile
#TOMCAT
CATALINA_BASE=/usr/local/java/apache-tomcat-8.5.59
PATH=$PATH:$CATALINA_BASE/bin
#export 使上述配置⽣效
export CATALINA_BASE PATH

你可能感兴趣的:(CentOS7,数据库,Linux,centos,linux,运维)