jdk共1篇
shell脚本一键安装jdk1.8和tomcat-百分数

shell脚本一键安装jdk1.8和tomcat

#!/bin/bash set -e ################定义函数 sed_sh(){ sed -i '1a export JAVA_HOME=/usr/local/jdk1.8.0_141' /usr/local/tomcat/bin/$1.sh sed -i '2a export TOMCAT_HOME=/usr/local/to...