Apache 5

GitLab Docker 설치하고 Apache 리버스 프록시로 HTTPS 적용하기

GitLab Docker 설치하고 Apache 리버스 프록시로 HTTPS 적용하기 (feat. ModSecurity 403 에러 해결)GitLab 서버를 구축하면서 삽질했던 내용을 정리합니다. 공유기 아래, 서버가 2대 있는데, 서버1에서 기존 웹 서비스를 운영하다가 gitlab을 설치하려고 보니 메모리를 4GB~8GB 먹어서 메모리가 부족해서 서버2로 gitlab 을 설치하려는 상황인데, 서버2에는 이미 80 서비스를 하고 있었습니다. 그래서 gitlab 이 서버2의 8080 포트를 쓰게된 상황입니다. 이때, git.example.com 도메인 인증서가 서버1에서 통합되서 관리되고 있고 80포트가 서버1로 가게 되어 있었기에, 공유기에서 바로 서버2로 오지 않고, 서버1로 간 후 Apache로 Rese..

EC2 redhat 9 에서 Java 개발 환경 구성

EC2 redhat 9 에서 Java 개발 환경 구성 [Linux 명령어 설치] # yum install wget # yum install vim # yum install epel-release [WAS 계정 추가] # useradd -m -U -d /opt/wasadmin -s /bin/false wasadmin # groupadd wasgrp # usermod -a -G wasgrp wasadmin [Java 설치] # yum install java-11-openjdk # java -version openjdk version "11.0.19" 2023-04-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS) ..

Linux 2023.07.20

Apache 2.4 - Tomcat Connectors 1.2.48 - workers.properties

필요한 내용은 계속 업데이트 할 예정입니다. The Apache Tomcat Connectors - Reference Guide (1.2.48) - workers.properties configuration The Apache Tomcat Connectors - Reference Guide (1.2.48) - workers.properties configuration This table lists more advanced configuration options. Most of them only apply to some types of workers. We use the abbreviations AJP for ajp13/ajp14 workers used directly via the workers.list..

Linux Centos Stream 9 - Apache Tomcat 연동 (mod_jk) - Selinux 문제해결

이 글에서는 Apache (Web Server) - Tomcat (Web Application Server = WAS) 를 연동하는 방법을 알아보겠다. 이 글은 앞의 글의 방법대로 Apache 와 Tomcat 을 설치하고 와야 합니다. 그 연장선 상에 있는 연동 방법입니다. 버전 참고 바랍니다. # httpd -version Server version: Apache/2.4.53 (CentOS Stream) Server built: Jan 30 2023 00:00:00 # ./version.sh Server version: Apache Tomcat/8.5.85 Server built: Jan 11 2023 00:09:15 UTC Server number: 8.5.85.0 JVM Version: 11.0.1..

Linux CentOS Stream 9 - Apache (httpd) 설치

CentOS 8 부터 yum 대신 dnf 가 도입되었다. Dandified YUM (멋부린 YUM) 의 약자라고 하는걸 보면 YUM 을 기반으로 확장된 설치 명령어인 듯하다. 추후 설치는 dnf 로 한다. # dnf -y install httpd # httpd -version Server version: Apache/2.4.53 (CentOS Stream) Server built: Jan 24 2023 00:00:00 # vi /etc/httpd/conf/httpd.conf 필요한 환경 설정 내용을 편집한다 # systemctl enable --now httpd # firewall-cmd --add-service=http # firewall-cmd --add-service=https # firewall-..