标签:.sh The pre 修改 lin fir linux 配置 增加
##########first tomcat########### CATALINA_BASE=/usr/apache-tomcat-8.0.53-fore CATALINA_HOME=/usr/apache-tomcat-8.0.53-fore TOMCAT_HOME=/usr/apache-tomcat-8.0.53-fore export CATALINA_BASE CATALINA_HOME TOMCAT_HOME ##########first tomcat############
##########second tomcat########## CATALINA_2_BASE=/usr/apache-tomcat-8.0.53-mgr CATALINA_2_HOME=/usr/apache-tomcat-8.0.53-mgr TOMCAT_2_HOME=/usr/apache-tomcat-8.0.53-mgr export CATALINA_2_BASE CATALINA_2_HOME TOMCAT_2_HOME ##########second tomcat########## ##########third tomcat########## CATALINA_3_BASE=/usr/apache-tomcat-8.0.53-aoji CATALINA_3_HOME=/usr/apache-tomcat-8.0.53-aoji TOMCAT_3_HOME=/usr/apache-tomcat-8.0.53-aoji export CATALINA_3_BASE CATALINA_3_HOME TOMCAT_3_HOME ##########third tomcat##########
source /etc/profile
(1) 查找#OS specific support. $var _must_ be set to either true or false.
(2)在下面增加如下代码(对应123)
export CATALINA_BASE=$CATALINA_2_BASE
export CATALINA_HOME=$CATALINA_2_HOME
标签:.sh The pre 修改 lin fir linux 配置 增加
原文地址:https://www.cnblogs.com/dehigher/p/10185479.html