inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

172만명의 커뮤니티!! 함께 토론해봐요.

My-Second-Project 빌드에러

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요 강의 듣다가 에러가 나서 질문 남깁니다..😭 자바도 잘 설치되어 있습니다. java_home 경로도 제대로 해준 거 같은데 빌드가 되지 않습니다.. 도커 컨테이너 젠킨스 서버에서도 My-Second-Project 디렉토리도 잘 있습니다ㅠㅠㅠ 혹시 이 문제 아시는 분 댓글 남겨주시면 감사하겠습니다😭😭😭😭😭

  • 메이븐
  • 빌드실패
  • jenkins
  • ansible
  • kubernetes
  • cicd
  • sonarqube
nh9600 댓글 3 좋아요 0 조회수 882

sonarqube 실행 시 멈춤

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요. m1 칩을 사용하고 있는데 edowon0623/sonarqube:arm 이미지를 풀 받고 docker run --rm -p 9000:9000 --name sonarqube edowon0623/sonarqube:arm 명령어로 컨테이너를 실행하고 로그를 보면 소나큐브가 뜨는 와중에 멈추는거 같아요. 여기서 더 이상 진행되지 않습니다.

  • kubernetes
  • jenkins
  • ansible
  • cicd
  • sonarqube
이용춘 댓글 1 좋아요 1 조회수 686

500 에러가 납니다..

미해결

따라하며 배우는 도커와 CI환경 [2023.11 업데이트]

docker-compose up이후에 build는 다 되서 메인페이지는 열리지만 이렇게 에러가 납니다. 제가 한게 이상한가 싶어서 깃허브에 있는 코드로 docker-compose up해도 저런 오류가 나는데 무슨 문제인지 궁금합니다..!

  • aws
  • docker
  • github
  • cicd
  • 데이터 엔지니어링
  • travis-ci
김지수:) 댓글 1 좋아요 0 조회수 608

docker-compose.yml 수정 후

미해결

따라하며 배우는 도커와 CI환경 [2023.11 업데이트]

안녕하세요. 강의 잘 듣고 있습니다! 배포 후 AWS에서 에러난 것을 수정 해주신 코드 보며 잘 해결했습니다. 궁금한 점이 docker-compose.yml 내부 코드를 수정하고 나서 다시 터미널에 docker-compose up --build를 해서 컨테이너를 만들고 깃허브에 푸쉬를 해야 하는 지 아니면 바로 깃허브에 푸쉬하면 되는 것인지 궁금합니다. 이번에는 혹시 몰라서 빌드를 하고 푸쉬하니 배포는 잘 됐습니다!

  • aws
  • github
  • docker
  • 데이터 엔지니어링
  • cicd
  • travis-ci
김지수:) 댓글 2 좋아요 0 조회수 743

ssh 를 거치는 이유?

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

강사님 좋은 강의 정말 잘 듣고 있습니다. section2 까지 달렸는데, 그동안 모호하게 알고 있던 포트 포워딩 등 디테일한 내용까지 알려주셔서 얻어가는게 많은 강의였습니다. 질문) Jenkins 에서 Docker container 에 배포하기 위해 ssh 를 거치는 아키텍쳐를 설명해주셨습니다. 젠킨스에서 곧바로 도커로 배포하는게 아닌 ssh 를 거치는 이유가 무엇인지 알 수 있을까요? ssh 란 이름 자체로 유추해보건대 보안을 위한 과정이라 생각이 드는데, 혹시 다른 기술적 이유도 있는지 궁금합니다 :) 좋은 강의 정말 감사합니다. 얼른 마저 다 듣고싶네요

  • jenkins
  • ansible
  • kubernetes
  • sonarqube
  • cicd
sunghoo.lim 댓글 1 좋아요 0 조회수 572

/etc/sysconfig/docker, docker-storage 파일이 존재하지 않습니다.

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

Windows 첫번째, 두번째 명령어 모두 실행해도 두 파일이 존재하지 않습니다. yum install -y iptables net-tools 명령어를 실행했을 때는 already installed 라고 나오구요. Windows 2 명령어 실행하고 docker ps 확인했습니다. 최신 이미지일 경우 docker 파일 수정 없이 start 된다고 하셨지만,,,,,,,,, status inactive 확인 후, enable 해주고 start 했는데, failed 났구요,, 강의대로 docker 파일 수정하려고 했는데 파일이 없어서 해당 위치에 가서 ls 해봤더니, 두 파일 모두 없습니다. 같은 문제로 다른 학생분의 질문도 있으시던데, 질문 확인 부탁드립니다.

  • kubernetes
  • ansible
  • jenkins
  • sonarqube
  • cicd
dus0628 댓글 1 좋아요 1 조회수 770

Windows Volume 내용 변경안됨

미해결

따라하며 배우는 도커와 CI환경 [2023.11 업데이트]

안녕하세요 Windows 환경에서 Volume 적용 후 내용을 변경하였는데 반영이 안되는데 이유가 어떻게 될까요 docker build -t smileajw1004/nodejs ./ docker run -d -p 5000:8080 -v /usr/src/app/node_modules -v ${pwd}:/usr/src/app smileajw1004/nodejs 실행은 정상적으로 이루어지나 소스 수정 후 반영이 안됩니다. 아래 글에 댓글에는 볼륨에 이상이있다 라고만 써주셔서 해결책이 없는데 혹시 방법이 없는건가요

  • docker
  • github
  • aws
  • travis-ci
  • cicd
  • 데이터 엔지니어링
김윤제 댓글 3 좋아요 1 조회수 775

get_url - url 및 checksum 404 not found 발생시 해결법

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요, 질문이라기 보다는 다른 수강생들에게 정보 공유차 글 남깁니다. Tomcat 의 경우 버전 업데이트가 진행되면 과거 버전 파일을 올리지 않아서, 예제 그대로 진행하면 실제 파일 다운로드시 404 notfound 가 발생하는걸로 보여집니다. 2022/11/6 기준 제가 사용한 스크립트는 다음과 같으며 문제 발생시 https://dlcdn.apache.org/tomcat/tomcat-9/ 에서 버전 확인하여 스크립트 변경 진행해주시면 될 것 같습니다

  • jenkins
  • kubernetes
  • ansible
  • sonarqube
  • cicd
김우재 댓글 2 좋아요 1 조회수 546

ssh-copy-id 에러 문의

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

저도 밑에 있는 분과 같은 증상인데요 ansible-server에서 ssh-copy-id 명령어 입력 후 윈도우 .ssh 폴더에 가서 authorized_key를 열어보면 ECHO가 설정되어 있습니다 라는 글이 한줄 추가 되어있습니다. 같은걸 반복해서 실행 할 경우 동일하게 같은 글이 한줄더 추가가 됩니다 (수동으로 직접 값을 넣어봐도 ping 오류는 납니다) 혹시 관련 사항 해결방법이 있을까요??

  • ansible
  • jenkins
  • kubernetes
  • sonarqube
  • cicd
우주인 댓글 4 좋아요 0 조회수 1528

Ansible 서버에서 Windows 호스트 접속 문제

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

윈도우 환경이고, 도커데스크탑을 이용해서 강의 진행중입니다. Ansible에서 Kubernetes 제어하기 강의 내용에서 문제가 생겨서 문의글 남깁니다. Ansible-Server에서 ssh keygen 생성 후 ssh-copy-id 윈도우계정@윈도우호스트IP 입력. 윈도우 호스트의 C드라이브/Users/윈도우계정/.ssh 하위에 authorized_keys에 Ansible-Server의 공개키를 복사해 두었습니다. ssh 윈도우계정@윈도우아이피로 접속시에 계속해서 패스워드를 묻는 창이 뜨는데요, 해결 방법이 있는지 궁금합니다. ssh -v 윈도우계정@윈도우아이피 입력시 출력창 OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: configuration requests final Match pass debug1: re-parsing configuration debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: Connecting to 192.168.0.33 [192.168.0.33] port 22. debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type 0 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.0 debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_8.1 debug1: match: OpenSSH_for_Windows_8.1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 192.168.0.33:22 as '82102' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none debug1: kex: curve25519-sha256 need=32 dh_need=32 debug1: kex: curve25519-sha256 need=32 dh_need=32 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:aeCMaeYYVSVWrcf7SWUB7C2RRkMH3SMT0wFDi0Gl8Og debug1: Host '192.168.0.33' is known and matches the ECDSA host key. debug1: Found key in /root/.ssh/known_hosts:1 debug1: rekey out after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 4294967296 blocks debug1: Will attempt key: /root/.ssh/id_rsa RSA SHA256:P0l3EmzgWKERm6r85A/GZ1shIV61KgQqSsADDKxLOLI debug1: Will attempt key: /root/.ssh/id_dsa debug1: Will attempt key: /root/.ssh/id_ecdsa debug1: Will attempt key: /root/.ssh/id_ed25519 debug1: Will attempt key: /root/.ssh/id_xmss debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering public key: /root/.ssh/id_rsa RSA SHA256:P0l3EmzgWKERm6r85A/GZ1shIV61KgQqSsADDKxLOLI debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /root/.ssh/id_dsa debug1: Trying private key: /root/.ssh/id_ecdsa debug1: Trying private key: /root/.ssh/id_ed25519 debug1: Trying private key: /root/.ssh/id_xmss debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password 82102@192.168.0.33's password:

  • jenkins
  • kubernetes
  • ansible
  • cicd
  • sonarqube
나무돌이 댓글 1 좋아요 0 조회수 1161

SSH 접속 문제

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요 강사님! 이번 강의에서 ansible-server 이미지를 실행시키고 SSH 접속하는 과정에서 아래와 같은 에러가 발생하여 문의드립니다. kex_exchange_identification: Connection closed by remote host Connection closed by ::1 port 20022 저는 맥북 M1 을 사용하고 있습니다. 문제를 해결하기 위해 구글링을 해봤지만 원하는 답변이 나오지 않아 혼자서 이미지를 여러번 삭제도 해보고, 20022 대신 다른 포트로 실행도 시켜보고, SSH 키를 삭제하기도 하였지만 해결하지 못하였습니다. M1 환경에 맞는 이미지를 사용하였고, docker-server를 실습할 때는 SSH 접속이 정상적으로 되었습니다.

  • jenkins
  • kubernetes
  • ansible
  • sonarqube
  • cicd
Hoon 댓글 2 좋아요 0 조회수 1241

SQS로 이런것도 가능할까요?

미해결

AWS(Amazon Web Service) 중/상급자를 위한 강의

데이터 하나가 1TB정도 되는 Log 해당 데이터를 1024개의 인스턴스로 빠르게 처리하고싶음 이때 1GB씩만 사이좋게 나눠서 처리하게 가능할까요?

  • cicd
  • aws
0S 댓글 1 좋아요 0 조회수 402

kubernetes script 파일 강의 - localhost 접근 오류

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

deployment와 service를 정상적으로 배포했음에도 불구하고 다음과 같이 사이트에 연결할 수 없다고 뜹니다. 전 강의 nginx-deployment도 같은 상황이 발생했습니다. localhost도 해보고 현재쓰고 있는 ip주소도 해봤지만 해결할 수 없었습니다. 방화벽 문제도 아닌 것 같습니다. 도움 주시면 감사하겠습니다.

  • ansible
  • kubernetes
  • jenkins
  • sonarqube
  • cicd
찬수 댓글 2 좋아요 0 조회수 561

ssh-copy-id authorized_key

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

ssh-copy-id 명령어로 복사를 하는데 authorized_key를 열어보니 ECHO가 설정되어 있습니다. 라고 적혀있습니다. 당연히 ping은 안되고, 혹시 해결법이나 다른방법이 있나요

  • ansible
  • kubernetes
  • jenkins
  • sonarqube
  • cicd
Chung Kwon 댓글 1 좋아요 0 조회수 675

docker 이미지 다운로드 불가

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

[Windows환경에서 SSH+Docker 컨테이너 기동 시 발생하는 오류 해결] 관련하여 문의드립니다... Windows 1 ) docker run --privileged --name docker-server -itd -p 10022:22 -p 8081:8080 -e container=docker -v /sys/fs/cgroup:/sys/fs/cgroup edowon0623/docker:latest /usr/sbin/init 위 명령어로 컨테이너 실행 시, 이미지는 잘 다운받아지지만 ssh 접속시 아래와 같은 메시지가 나옵니다. docker run --privileged --name docker-server -itd -p 10022:22 -p 8081:8080 -e container=docker -v /sys/fs/cgroup:/sys/fs/cgroup edowon0623/docker:latest /usr/sbin/init $ ssh root@localhost -p 10022 kex_exchange_identification: Connection closed by remote host Connection closed by ::1 port 10022 도커 데스크탑에서 컨테이너 상세 내역을 보니 아래와 같이 나옵니다.. Windows 2, 위 명령어로 실행되지 않을 때 ) docker run -itd --name docker-server -p 10022:22 -e container=docker --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/run/docker.sock:/var/run/docker.sock edowon0623/docker:latest /usr/sbin/init 위 명령어 실행시, 이미지 다운로드 자체가 불가합니다. $ docker run -itd --name docker-server -p 10022:22 -e container=docker --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/run/docker.sock:/var/run/docker.sock edowon0623/docker:latest /usr/sbin/init docker: Error response from daemon: invalid mount path: 'C' mount path must be absolute. See 'docker run --help'. 윈도우 환경입니다....

  • kubernetes
  • ansible
  • jenkins
  • sonarqube
  • cicd
김성진 댓글 3 좋아요 0 조회수 1321

[IaC, Ansible 실습] ansible-server의 포트포워딩이 중복됩니다.

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 저는 현재 jenkins-server, docker-server 실습을 진행한 후, IaC 실습을 위하여 ansible-server를 만들고 실습을 진행중입니다. 실습환경: ubuntu20.04(Host PC, amd64) 포트포워딩 중복 문제 ansible-server 컨테이너 생성중 8081:8080 포트포워딩이 이전에 실습하였던 docker-server 포트포워딩과 같습니다. 내부포트는 상관없지만 외부포트는 host pc의 포트일탠대 중복되는것습니다. ansible-server를 만들고난후 docker-server 컨테이너가 중지되어있어 docker start docker-server를 실행하니 0.0.0.0:8081 failed : prot is already allocated 라는 에러가 발생하네요. ansible-server 실습 시 docker-server도 사용하는것같아서 해결이 필요해보입니다. 1-1. docker-server 혹은 ansible-server의 포트포워딩 옵션을 변경해야하는대 이 경우에는 ansible-server에 아직 작업한 내용이 없으니 ansible-server에 포트포워딩을 대략 8082:8080로 변경하면 될듯싶은대 앞은로의 실습에 문제가 없을까요? 1-2. 이미 생성된 컨테이너의 포트포워딩, 옵션등의 파라미터를 변경해야하는 경우에는 어떠한 방법이 있을까요? 컨테이너를 삭제하고 새로 실행시키기에는 이전에 작업한 내용이 아깝네요. PS. 추가로 말씀드리면 강의자료의 명령어 오타가 자주보입니다... 2번 질문에 컨테이너 실행단에서 --name ansible-server 추가 및 --itd -> -itd 로 수정하였습니다. 확인부탁드립니다. + 리눅스 환경에서의 명령어도 추가해주셨으면 좋겠어요!

  • cicd
  • sonarqube
  • jenkins
  • kubernetes
  • ansible
rabbit9070 댓글 1 좋아요 0 조회수 552

실습 이미지 (docker,ansible) 에 대한 의견(요청)드립니다

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요. 실습환경에 사용되는 이미지로 인해 저도 불편을 겪고 있고, 다른 수강자분들도 불편을 겪는 것 같습니다. DinD 방식이었다가 지금은 DooD 로 이미지가 제공되고 있습니다. 도커 강좌가 아닙니다만 실습환경을 만들려고하니 도커 명령어들을 익혀야하고, 현업에서도 도커를 사용하지 않을 수 없으므로 도커에 대해 좀 더 익숙해 질 수 있는 시간이 될 수도 있겠다는 생각입니다. 다만, 강사님께서 문제가 발생되는 상황에 대해 도커 명령어를 기존과 다른 명령어를 제공해주시는데, 그 명령에 대한 충분한 설명이 없습니다. 그 부분을 찾아서 이해하는 게 수강자의 몫이기도 한 것은 알겠지만, 강사님께서 사용하신 그 명령어가 어떤 기능을 하는 지, 어떤 경우에 사용하는 것인지 설명이 되면 좋겠습니다. #1 docker run --privileged -itd --name ansible-server -p 20022:22 -e container=docker -v /sys/fs/cgroup:/sys/fs/cgroup edowon0623/ansible:latest /usr/sbin/init #2 docker run -itd --name ansible-server -p 20022:22 -e container=docker --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/run/docker.sock:/var/run/docker.sock edowon0623/ansible:latest /usr/sbin/init 예를들면, #1, #2 두 명령어 모두 강의에서 제공받은 명령어인데, 수강자인 저도 따라서 입력을 하기만 하듯이 하고 있습니다. --privileged --tmpfs /sys/fs/cgroup 볼륨을 공유한 것 /var/run/docker.sock 볼륨공유한것(host docker socket 공유 DooD 설정용) 등의 옵션들에 대해서 설명을 해주는 챕처가 부록으로라도 있으면 좋겠습니다. 추가로, ansible:latest , docker:latest 만 제공되는데(현재는 DooD 이미지로 보입니다), DindD 로 구성되었던 이전 이미지도 태그를 추가하여 올려주셔서 받을 수 있게 해주시면 좋겠습니다. 그리고, 수강생들이 base 리눅스 이미지로 DinD 환경을 만들수 있도록 가이드도 한 번 해주시면 좋겠습니다. a) 리눅스base이미지에 ssh 설치 + 도커설치 b) 리눅스base이미지에 ssh설치 + ansible 설치 감사합니다.

  • docker
  • jenkins
  • dind
  • kubernetes
  • dood
  • ansible
  • sonarqube
  • cicd
쏭쏭 댓글 1 좋아요 0 조회수 711

ansible host 접속 관련 문의 드립니다.

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

안녕하세요. 제가 ansible 에서 kubernetes 제어하기 강의듣는중인데요. ansible 명령어 를 host 쪽에 실행하는 것을 시도하는데 에러가 발생해서요. 저는 윈도우 기반에 도커데스크탑 설치해서 수업듣고 있습니다. 윈도우의 ssh 는 openssh 인터넷 검색해서 설치하였습니다. 에러 팝업내용은 다음과 같습니다. 처음에는 ssh-copy-id 명령어도 에러나서 접속이 안되었었는데요. 그냥 윈도우 .ssh 폴더안의 authorized_keys 파일을 그냥 열구 id_rsa.pub 파일 내용을 복사 붙여넣기 해서 ssh 접속은 비번 안물어보구 되게 되었습니다. 혹시 체크할 만한 내용 있다면 조언 부탁드립니다. 감사합니다.

  • kubernetes
  • ansible
  • jenkins
  • cicd
  • sonarqube
joahe 댓글 1 좋아요 0 조회수 671

edowon0623/docker이미지에 /etc/sysconfig/docker와 docker-storage라는 파일이 없는거같아요

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

ssh로 접속해서 vi /etc/sysconfig/docker 했는데 docker라는 파일이 없어요 이건 어찌어찌 따라쳐서 저장했지만... sed -i -e 's/overlay2/vfs/g' /etc/sysconfig/docker-storage 해당명령어 실행하니 sed: can't read /etc/sysconfig/docker-storage: No such file or directory 라고 하네요..

  • ansible
  • jenkins
  • kubernetes
  • cicd
  • sonarqube
jw0111 댓글 1 좋아요 0 조회수 809

tomcat remote war 배포시 오류 문제 해결

미해결

Jenkins를 이용한 CI/CD Pipeline 구축

저도 삽질좀했는데요 tomcat 설치를 어떻게 했든지 상관없고 apache-tomcat-9.0.65/webapps/manager/META-INF/context.xml 파일을 수정하셔서 자신의 IP를 추가 시켜주어야 해결됩니다 저도 계속 apache-tomcat-9.0.65/conf/context.xml 파일을 수정했었는데요 이 파일을 수정하면 문제가 해결이 안됩니다 apache-tomcat-9.0.65/webapps/manager/META-INF/context.xml 이 파일의 설정부분에서 Valve 태그에 | 파이프 추가하고 자신의 IP를 추가 해준뒤 tomcat을 shutdown 했다가 다시 startup 해주면 해결됩니다 강사님이 설명하시는 부분은 이부분은 Skip 되어있어서 삽질을 좀했네요 ... <Context antiResourceLocking="false" privileged="true" > <CookieProcessor className="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="strict" /> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|192.168.50.*" /> <Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/> </Context>

  • cicd
  • sonarqube
  • ansible
  • kubernetes
  • jenkins
프리라이프 댓글 2 좋아요 4 조회수 1590

인기 태그

인프런 TOP Writers

주간 인기글