본문 바로가기

개발/서버4

WAS - WEB 연결하기 (with. mod_proxy) WAS - WEB 연결을 위한 작업 - apache 사용https://tomcat.apache.org/download-connectors.cgi Apache Tomcat® - Tomcat Connectors (mod_jk) DownloadsYou must verify the integrity of the downloaded files. We provide OpenPGP signatures for every release file. This signature should be matched against the KEYS file which contains the OpenPGP keys of Tomcat's Release Managers. We also provide SHA512 checksutomcat.a.. 2024. 5. 12.
Linux Apache Tomcat 연동 (동일 서버 설정) httpd.confcd /etc/httpd/confServerName 127.0.0.1:8080 AllowOverride none # Require all denied Require all granted  proxy.confcd /etc/httpd/conf.d ServerName localhost ErrorLog logs/http-error_log CustomLog logs/http-access_log common ProxyRequests Off ProxyPreserveHost On Order deny,allow Allow from all ProxyPass / http:.. 2024. 5. 11.
[Linux] tomcat shutdown.sh중 오류 서버 shutdow.sh진행하면 protocol이 제대로 종료되지 않는 상황을 확인 server.xml에서 연결된 Connector가 두개가 존재하고 있다는 사실을 파악 후 웹서버를 사용하고 있지 않기에 AJP를 주석으로 처리했다. 위의 작업을 진행하면서 확인한 사항들이다. 1. tomcat에서 확인된 문구 ❓ multi service on tomcat protocol handler initialization failed tomcat 원인은 AJP Connector 취약점 문제로 AJP Connector 속성의 secretRequired 설정이 필요해졌다. 해결 방안 1 : server.xml 에서 secretRequired를 false로 변경. https://tomcat.apache.org/tomcat.. 2023. 8. 6.
[Linux] 서버 로그 관리해보자! 해당 작업은 프로젝트의 관리를 점검하는 과정에서 작성 된 작업 물입니다. 본래 서버에서 이루어지는 행동은 로그로 보관 되어있어야 합니다. 이는 서버로 접근하는 이상 징후에 대비하여 분석 할 수 있기에도 용이합니다. 또한 실제 운영 하는 서비스라면 정책을 정하고 서버 보관 - 하드웨어 보관을 해야합니다. 하지만 우리의 VM은 저장 공간이 제한 되어있습니다. 그럼 우리가 해야하는 작업은 무엇인가…! 실시간, 또는 매일 정리하는 우리들의 로그를 압축 그리고 일정 기간 이후 주기적인 삭제를 진행해야합니다. 아래의 작업은 위의 일을 자동화 처리하기 위해 진행되었습니다. 우선 위의 작업을 진행하는 이유가 메모리와 용량을 위해서인만큼 복사 -> 압축이 진행되는 만큼 작업 시작하기 전에 해당 작업이 이뤄지는 디렉토리의.. 2022. 7. 16.