标签:安装 etc bash tomcat oca profile 安装脚本 catalina exp
#!/bin/bashecho "CATALINA_HOME=/usr/local/tomcat" >> /etc/profile
echo "CATALINA_PID=\$CATALINA_HOME/catalina.pid" >> /etc/profile
echo "export CATALINA_HOME CATALINA_PID" >> /etc/profile
source /etc/profile
echo -e "\033[32m tomcat安装完毕!!! \033[0m"
标签:安装 etc bash tomcat oca profile 安装脚本 catalina exp
原文地址:http://blog.51cto.com/zuoshou/2308166