yum安装java
yum install -y java-1.8.0-openjdk yum install -y java-1.8.0-openjdk-devel.x86_64 ls -lrt /usr/bin/java cat <<EOF > /etc/profile.d/jdk export JAVA_HOME=/usr/local/java export JRE_HOME=/usr/local/java/jre export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:/usr/local/java/lib/tools.jar:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$PATH EOF source /etc/profile wget http://central.maven.org/maven2/mysql/mysql-connector-java/8.0.16/mysql-connector-java-8.0.16.jar mkdir -pv /usr/share/java mv mysql-connector-java-8.0.16.jar /usr/share/java/mysql-connector-java.jar
相关推荐
flycappuccino 2020-09-27
xiemanR 2020-09-21
数据人 2020-10-26
张立军的架构之路 2020-09-28
xiaohai 2020-09-16
87901735 2020-08-19
zhangll00 2020-07-29
ningningmingming 2020-07-26
young依然 2020-07-19
VFCSDN 2020-07-05
87447007 2020-07-04
kuailexiaochuan 2020-07-04
atb 2020-06-28
87447007 2020-06-26