본문
[2019.01.23] 02. Mac에 Tomcat 설치
컴퓨터/이론: 개발 2019. 1. 23. 20:04
도입
이번 포스팅에서는 Mac 로컬에 Tomcat 설치를 정리할 예정이다.
설치
Step1. Tomcat 설치 확인
1 2 | -> brew ls tomcat Error: No such keg: /usr/local/Cellar/tomcat | cs |
Step2. Tomcat 설치
1 2 | -> brew install tomcat # ... installing | cs |
Step3. Tomcat 설치 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | -> brew ls tomcat /usr/local/Cellar/tomcat/9.0.14/bin/catalina /usr/local/Cellar/tomcat/9.0.14/homebrew.mxcl.tomcat.plist /usr/local/Cellar/tomcat/9.0.14/libexec/bin/ (17 files) /usr/local/Cellar/tomcat/9.0.14/libexec/conf/ (10 files) /usr/local/Cellar/tomcat/9.0.14/libexec/lib/ (30 files) /usr/local/Cellar/tomcat/9.0.14/libexec/temp/safeToDelete.tmp /usr/local/Cellar/tomcat/9.0.14/libexec/webapps/ (571 files) /usr/local/Cellar/tomcat/9.0.14/libexec/ (2 files) /usr/local/Cellar/tomcat/9.0.14/RELEASE-NOTES /usr/local/Cellar/tomcat/9.0.14/RUNNING.txt # 설치 폴더로 이동 -> cd /usr/local/Cellar/tomcat/9.0.14/bin | cs |
Step4. 명령어 확인 및 실행
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | -> ./catalina --help # ... commands: debug Start Catalina in a debugger debug -security Debug Catalina with a security manager jpda start Start Catalina under JPDA debugger run Start Catalina in the current window run -security Start in the current window with security manager start Start Catalina in a separate window start -security Start in a separate window with security manager stop Stop Catalina, waiting up to 5 seconds for the process to end stop n Stop Catalina, waiting up to n seconds for the process to end stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still running configtest Run a basic syntax check on server.xml - check exit code for result version What version of tomcat are you running? # ... | cs |
스크린샷
start |
stop |
#tomcat 설치 #install tomcat #톰캣 설치
'컴퓨터 > 이론: 개발' 카테고리의 다른 글
Git 라이센스 개념 및 주의할 점 (0) | 2019.03.17 |
---|---|
[2019.01.23] 03. Mac에 Jenkins 설치 (0) | 2019.01.23 |
[2019.01.02] 32. TPS 용어 정리 (0) | 2019.01.02 |
[2019.01.02] 31. SPDY 용어 정리 (0) | 2019.01.02 |
[2019.01.02] 30. TLS 용어 정리 (0) | 2019.01.02 |
댓글