728x90
/conf/server.xml
## 포트변경 ##
<Server port="18005" shutdown="SHUTDOWN">
..
<Connector port="18080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
/>
..
<Connector protocol="AJP/1.3"
address="0.0.0.0"
port="18009"
redirectPort="8443"
secretRequired="false"
/>
/bin/catalina.sh
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
## 추가 (톰캣경로)##
export CATALINA_HOME=/home/test/apache-tomcat-8.5.93
export TOMCAT_HOME=/home/test/apache-tomcat-8.5.93
export CATALINA_BASE=/home/test/apache-tomcat-8.5.93
CATALINA_PID=/home/test/apache-tomcat-8.5.93/bin/tomcat.pid
##########
# Get standard environment variables
PRGDIR=`dirname "$PRG"`
728x90
'OS (Operating System) > Linux' 카테고리의 다른 글
리눅스 포트죽이기[펌] (0) | 2024.02.01 |
---|---|
wsl2에 mysql설치하기[펌] (0) | 2023.10.25 |
db백업 mysql 자동 백업 설정 방법 (ubuntu server) [펌] (0) | 2023.07.17 |
리눅스(Linux) JAR 빌드 및 리눅스서버 배포 (0) | 2023.04.04 |
(scp) SecureCopy윈도우 리눅스 파일전송, Window Linux File Transfer (0) | 2022.08.12 |