전체 글 썸네일형 리스트형 [draft] docker를 사용한 kafka 클러스터 설정 docker를 사용한 kafka 클러스터 설정테스트 환경호스트명아이피도커 컨테이너비고datanode1192.168.0.101zookeeper, kafka(broker) datanode2192.168.0.102zookeeper, kafka(broker) datanode3192.168.0.103zookeeper, kafka(broker) github 소스 : https://github.com/anti1346/multinode-kafka-cluster.git도커 컨테이너 실행datanode1 컨테이너$ git clone https://github.com/anti1346/multinode-kafka-cluster.git$ cd multinode-kafka-cluster/node1$ docker-compose u.. 더보기 원도우10 작업표시줄 뉴스 및 관심사(날씨) 위젯 설정 방법 원도우10 작업표시줄 뉴스 및 관심사(날씨) 위젯 설정 방법 작업표시줄 알림 영역에 갑자기 "날씨" 정보 아이콘이 나타났다. 뉴스 및 관심사 끄기 1. 작업표시줄에 오른쪽 마우스를 클릭 2. 뉴스 및 관심사 >> 끄기 더보기 JVM(JAVA) Option의 목록과 설명 JVM(JAVA) Option의 목록과 설명 테스트 환경 $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 (Ootpa) $ getconf LONG_BIT 64 $ java --version openjdk 17.0.1 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-39) OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing) 테스트 환경 메모리 사이즈(물리적 메모리=2GB) $ cat /proc/meminfo | grep MemTotal MemTotal: 2035832 kB 힙 사이즈(heap size) 초기 힙 크기 : 물리.. 더보기 [리눅스] SWAP Memory SWAP Memory SWAP - 시스템에 메모리가 부족할 경우 하드디스크의 일부 공간을 활용하여 확장된 RAM(물리 메모리)처럼 사용할 수 있는 기술. 보통의 경우 RAM(물리 메모리)이 부족해지면 버퍼/캐시 영역을 프로세스 메모리로 재할당하여 사용합니다. 그러나 버퍼/캐시 영역이 반환되지 않으면 SWAP 영역을 사용합니다. SWAP 영역 확인하는 방법 - 현재 시스템에서는 SWAP 영역을 비활성화한 상태임. - "Swap: 0B 0B 0B"으로 출력된 경우 SWAP 영역이 비활성화되어 있는 상태입니다. $ free -h total used free shared buff/cache available Mem: 3.8G 3.2G 233M 18M 403M 396M Swap: 0B 0B 0B VmSwap 값이.. 더보기 [리눅스] GitLab 컨테이너 레지스트리 사용하기 GitLab 컨테이너 레지스트리 사용하기 docker login docker login registry.binddns.com $ docker login registry.binddns.com Username: binddns Password: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded docker build $ docker build -t r.. 더보기 [리눅스] GitLab root 초기 비밀번호 GitLab root 초기 비밀번호 - GitLab Version : 14.4.2 gitlab 로그 중간에 출력 $ docker-compose logs -f ... gitlab | Notes: gitlab | Default admin account has been configured with following details: gitlab | Username: root gitlab | Password: You didn't opt-in to print initial root password to STDOUT. gitlab | Password stored to /etc/gitlab/initial_root_password. This file will be cleaned up in first reconfigure.. 더보기 NGINX 특정 파일이나 디렉토리를 제외한 모든 연결을 제한 NGINX 특정 파일이나 디렉토리를 제외한 모든 연결을 제한 모든 연결 제한(나머지 요청 301 리다이렉트) location / { return 301 https://sangchul.kr; } 특정 파일이나 디렉터리(health_check.html 파일) 접근 허용 location ~ ^/health_check.html { #access_log off; access_log /var/log/nginx/elb-healthchecker-access.log main; } default.conf 파일 $ vim /etc/nginx/conf.d/default.conf # Settings for a HTTP enabled server. server { listen 80; server_name _; root /usr/.. 더보기 Amazon Linux 2에서 goofys 설치 및 S3 마운트하기 Amazon Linux 2에서 goofys 설치 및 S3 마운트하기 Golang fuse 설치 yum install -y golang fuse $ yum install -y golang fuse ========================================================================== Package Arch Version ========================================================================== Installing: fuse x86_64 2.9.2-11.amzn2 golang x86_64 1.15.12-1.amzn2.0.1 Installing for dependencies: apr x86_64 1.6.3.. 더보기 이전 1 ··· 163 164 165 166 167 168 169 ··· 175 다음