본문 바로가기

분류 전체보기

(157)
도커 컨테이너 로그 관리 시간이 지나면서 도커 컨테이너 로그는 엄청난 크기로 커지게 되는데, 사전에 로그를 관리 하도록 리눅스 logrotate를 이용하여 관할 수 있다. 도커 컨테이너 로그 파일의 위치는 /var/lib/docker/containers 에 저장된다. 도커 컨테이너 로그 관리 설정 $ sudo vi /etc/logrotate.d/docker-container /var/lib/docker/containers/*/*.log { rotate 7 daily compress size=1M missingok delaycompress copytruncate } rotate 7 : 최대 7개의 파일을 보관 ( log.1, log.2... log.2) daily : 로그회전 주기(yearly : 매년,monthly : 매월,we..
rotate 리눅스에서 서버를 운영하시다 보면 로그를 보고 서버의 상태 혹은 장애를 대비합니다 그래서 대부분의 모든로그는 남기도록 설정하는데 이러한 로그들은 시간이 점점 지나면서 엄청난 크기로 커지게 된다. 크기로 커지기 전에 로그을 관리하도록 설정하는 기능이 logrotate 입니다 Logrotate 실행순서 Logrotate 파일 구조 데몬 프로그램 : /usr/sbin/logrotate Logrotate 데몬 : /etc/logrotate.conf Logrotate 프로세스 : /etc/logrotate.d/ Logrotate 작업내역 : /etc/cron.daily/logrotate /etc/logrotate.conf 설정하기 1. 로그 회전주기 # rotate log files weekly weekly 로그..
Thank you guys for throwing me this amazing party. Well everyone's gone. Including Choloe. Let's just start cleaning up. Oh, man. I already miss Chloe so much. Yeah. It's not gona be the same around here without her. It's like I can still hear her sweet voice. Chloe? Is it really you? Yes What are you still doing here? Why aren't you with your new friends? I told them we would hang later. Plus, I wanted to help you guys clean. This place is a se..
Oracle Database Server (오라클 데이터 베이스 도커) 오라클 데이터 베이스 도커 이미지는 Oracle Database Server 12.2.0.1 Enterprise Edition 버전 입니다. 이 이미지에는 pdb가 하나 인 다중 테넌트 구성의 기본 데이터베이스가 포함되어 있습니다. Oracle Database Server 12c R2에 대한 자세한 내용은 http://docs.oracle.com/en/database/ 를 참조 하십시오. 1. Docker Store에 로그인 $ docker login Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create..
공원산책 1. 주어+일반동사+(목적어) He has a dong. He needs an exercise. 2. 주어+be동사+명사/형용사 The park is big. 3. 전치사 People are in the park. He likes to walk with his dog. He takes a walk in the morning. 4. 선택문법 go + ing go running, go jogging, go camping, go climbing, go skiing, go swimming, go rollerblading, go hiking, go boating People go jogging and running. 지각동사 see, smell, hear, feel He sees people go jogging ..
내장고 1.주어+일반동사(목적어) He opened the refrigenrator. Fruits rolled down. 2. 주어+be동사+명사/형용사 There were some fruits and vegetables. He was hungry. 3. 전치사 They were for dinner. She sotred in the refrigenrator. 4. 감정,느낌 태도에 관한 표현 - to 부정사를 뒤에 가지는 형용사 sorry to, ready to ,surprised to, glad to, happy to, prepared to careful to , stunned to, lucky to, fortunate to, sad to, willing to , afraid to He is sorry to ..
머리카락 자르기 주요 문법 1) 주어+일반동사+(목적어) The man wants a new style. He needs a haircut. 2) 주어+be동사+명사/형용사 The hair stylist is ready to cut his hair. His hair is long. 3) 전치사 A man is in the beauty shop The man has a new hair style in his mind. 선택 문법 4) too(너무) His hair is too long. It is too messy. 5) 빈도수 높은 다섯 동사 (like to, want to, need to, decide to , ask to) He decided to have a new style. The man wants to hav..
위 베어 베어스: 곰 브라더스시즌 1: 13화 특별한 손님 찰리 Oh, Elissa... 얼리사 You're such a beautiful queen. 넌 정말 아름다운 여왕이야 -What's going on? -[Grizz] Good morning. - 뭐야? - 좋은 아침 That's your new bed floor. 앞으로 거기서 자 We're gonna need this for our guest. 여기선 손님이 자야 하거든 Huh? What guest? 손님이라니? Ice Bear woke up like this. 아이스베어 일어나 보니 이렇게 돼 있었다 -But why? -Because we have lots to do! - 왜? - 할 일이 많거든! Here, take this bucket of soapy sprays and this mop 세제 든 양동..