목록전체 글 (64)
+1-1+1-1+1-1+1-1...

구성 환경 테스트 시나리오 Gitlab (소스 형상관리) -> Zenkins (소스 Build by Maven) -> Tomcat (War 파일 배포) 1. Gitlab 소스 정보 확인 > Clone with HTTP URL 복사 2. Manage Jenkins > Manage Plugins 설치 Maven 프로젝트 Build를 위한 plugin 설치 톰캣 배포를 위한 plugin 설치 3. New Item > Maven 프로젝트 생성 4. General 설정 5. Gitlab 연동 환경 세팅 6. Maven 빌드 환경 세팅 7. Build 후 톰캣 서버 배포 설정 ! zenkins에서 tomcat으로 배포하기 위해서 톰캣 설정 파일 (tomcat-users.xml) 에 아래와 같이 접근 설정 추가 8...

Manage Jenkins > Global Tool Configuration Jenkins를 통해서 빌드 관련 툴과 jdk를 자동으로 인스톨이 가능하나, 수동 설치 후 경로를 지정함 따라서 설치 경로는 시스템 환경에 따라 상이할 수 있음 1. Jenkins 서버에 maven 빌더를 설치후 아래 settings.xml 경로를 입력 2. Jenkins 서버의 JDK 경로를 입력 3. Maven 경로 설치 경로 입력 ※ 설치 경로를 잘못 입력할 경우, Zenkins에서 아래처럼 노란색으로 안내해줌, 올바른 값을 넣었는지 바로 확인 가능
1. 젠킨스 데몬 중지 # service jenkins stop # /etc/init.d/jenkins stop 2. 젠킨스 uninstall # yum remove jenkins 3. Jenkins 관련 폴더,파일 정리 # rm /etc/init.d/jenkins # rm -rf /var/lib/jenkins # rm /etc/yum.repos.d/jenkins.repo
테스트 환경 : HA-Proxy version 2.3.4 시나리오 : TLS에서 지원하는 SNI 정보와 Map 파일을 이용한 동적 Backend Mapping 1. tcp-domain2backend-map.txt 작성 apache1.testlab.net web01 apache2.testlab.net web02 2. Haproxy.cfg 설정 내용 ... frontend TCP_Service bind 192.168.60.102:443 v4v6 #ssl crt /etc/haproxy/web01.lottelab.net.pem mode tcp acl network_allowed src -f /etc/haproxy/ip-whitelist.txt tcp-request connection reject if !netw..
테스트 환경 : Haproxy version 2.34 HTTPS (SSL) 서비스를 로드밸런싱할 경우, 통신 구간 암호화로 도메인 정보를 확인할 수 없기 때문에 이를 기반으로한 서비스 라우팅을 할 수 없음, 따라서 1개의 아이피로 1개의 서비스를 해야는 제약이 있음 대신에 과거 SSL 통신 규약에서 확장된 TLS 통신(2003, RFC 3546)에서 지원하는 SNI (Server Name Indication) 을 통해 서버 이름을 통한 라우팅이 가능함 이를 적용하기 위해서는 TCP mode를 SSL Passthrough 방식으로 로드밸런싱을 구현해야하며 IP별 접근 권한 또한 TCP mode에서 동작하는 응답 방식을 사용해야함 적용 예제 frontend TCP_Service bind 192.168.60...
https://www.haproxy.com/blog/route-ssh-connections-with-haproxy/Route SSH Connections with HAProxy - HAProxy TechnologiesIn this blog post, you will learn several ways to configure HAProxy for proxying SSH, all of which rely on the ssh command's ProxyCommand field.www.haproxy.com
https://www.haproxy.com/documentation/hapee/latest/deployment-guides/tls-infrastructure/#ssl-tls-bridging-or-re-encryptionInfrastructure Layouts Involving TLS | HAProxy Enterprise 2.2r1By design, HAProxy is a proxy, which means that it maintains two types of connections: Client HAProxy (front end) HAProxy (back end) Server With this design, HAProxy can use different protocols on each type of con..