본문 바로가기

서버

(16)
tee logging https://stackoverflow.com/questions/11337041/force-line-buffering-of-stdout-in-a-pipeline Force line-buffering of stdout in a pipeline Usually, stdout is line-buffered. In other words, as long as your printf argument ends with a newline, you can expect the line to be printed instantly. This does not appear to hold when using a pip... stackoverflow.com 1. tee 명령어 입력한 내용을 화면에 출력하는 동시에 파일에 저장하도록 하는..
[Docker] root 실행 -> 일반사용자 변경 하기 # usermod -a -G docker $user docker 그룹 부여(secondary group, -G) + docker 보안설정 - https://hello-sec.tistory.com/266
DOCKER VOLUME mount/bind 도커 볼륨 생성 및 바인드를 하지 않고 도커 재시작을 한다면.. 그동안의 데이터가 모두 사라지는 재앙을 경험하게 될 것이다. docker volume? DOCKER BIND? elastalert dockerfile FROM alpine:latest as py-ea ARG ELASTALERT_VERSION=v0.2.0b2 ENV ELASTALERT_VERSION=${ELASTALERT_VERSION} # URL from which to download Elastalert. ARG ELASTALERT_URL=https://github.com/Yelp/elastalert/archive/$ELASTALERT_VERSION.zip ENV ELASTALERT_URL=${ELASTALERT_URL} # Elastal..
[Docker]Published ports are discarded when using host network mode 보호되어 있는 글입니다.
[Docker]dangling image(none image)정리 Dangling image 란? $docker images REPOSITORY TAG IMAGE ID CREATED SIZE -- -- --
telnet smtp test (+ tcpdump) 1. 메일 테스트 #telnet localhost 25 Trying 127.0.0.1... Connected to localhost Escape character is '^]'. 220 localhost ESMTP Sendmail 8.14.4/8.14.4; Tue, 11 May 2021 10:18:21 +0900 helo localhost 250 localhost Hello localhost [127.0.01], pleased to meet you mail from : test@test.com #보내는 사람 250 2.1.0 test@test.com... Sender ok rcpt to : test@test.com #받는 사람 250 2.1.5 test@test.com... Recipient ok (wi..
2021-12 Centos 8 지원 종료/ 2024-07 Centos7 지원 종료 와 대응책 2020년 12월 갑자기 들려온 CentOS 8 지원 중단 소식... 지원 이후에도 그 이하 버전을 설치하여 사용할 수는 있지만, OS, 패키지에 대하여 업데이트를 하지 않겠다는 소식이다. 그대로 사용한다면 보안에 아주 취약하겠지요? 20년 12월 9일에 발표된 Red Hat 의 정책 변경에 따르면 CentOS 8 은 21년에 지원이 끝나고 22년부터는 CentOS Stream 이라는 운영체제로 변경될 예정이다. 물론 RHEL 8 은 상용이므로 구독한 고객들에게는 29년까지 제품 지원 및 업데이트가 계속될 예정입니다. CentOS 버전별 Life Cycle CentOS 8: 2021년 12월 31일까지만 지원되고 종료, 이후는 CentOS Stream 으로 전환 CentOS 7: 2024년 6월 30일까..
scouter 사용법 psnote.tistory.com/256 [scouter] 스카우터 클라이언트 xLog 살펴보기 (scouter client xLog)1. xLog 는 각각의 트랜잭션을 분석하고 시스템 전반적 상황을 한눈에 볼수 있는 산포도(sxatter chart)를 제공 2. x축 : 시간 , y축 : 응답속도 의미 3. 해당 점들은 사용자에게 응답을 완료하였을 때 찍psnote.tistory.comincheol-jung.gitbook.io/docs/study/with-scouter/chap-05.-scouter-xlog CHAP 05. scouter XLog자바 트러블슈팅: scouter를 활용한 시스템 장애 진단 및 해결 노하우를 챕터 5을 요약한 내용입니다.incheol-jung.gitbook.io1. xlog..