重启Tomcat脚本 #! /bin/bash #这里配置tomcat的根路径 tomcat_home=/usr/local/apache-tomcat-7.0.81 SHUTDOWN=$tomcat_home/bin/shutdown.sh START=$tomcat_home/bin/startup.sh echo "Use shutdown.…
1.查看系统已经安装的JDK rpm -qa|grep openjdk 2.卸载默认安装的JDK rpm -e --nodeps java-1.7.0-openjdk-headless-1.7.0.141-2.6.10.5.el7.x86_64 3.安装自己上传的JDK rpm -ihv jdk-8u131-linux-x64.rpm 4.配置环境…