분류 전체보기 썸네일형 리스트형 What Is My IP?(myip) What Is My IP? bind utilities centos yum install -y bind-utils ubuntu apt-get install -y bind9-dnsutils Public IP Address dig @resolver1.opendns.com myip.opendns.com +short Private IP Address ip route get 1.2.3.4 | awk '{ print $7 }' | egrep -v '^$' 더보기 [draft] OpenLDAP 설치 및 구성-v2 OpenLDAP 설치 및 구성LDAP 경량 디렉터리 액세스 프로토콜(Lightweight Directory Access Protocol)은 TCP/IP 위에서 디렉터리 서비스를 조회하고 수정하는 응용 프로토콜입니다.호스트 네임아이피역할비고VIP3.3.3.3 ldap11.1.1.1Master(Active) ldap22.2.2.2Slave(Standby) rsync(rsyncd) 설치 및 설정$ yum install -y rsync$ systemctl --now enable rsyncd.service$ vim /etc/rsyncd.conf[ldap_config]path = /root/openldapcomment = openldap setup configureexclude = .ldifsuid = rootg.. 더보기 [draft] traefik을 사용하는 도커 컨테이너 리버스 프록시(docker container reverse proxy) traefik을 사용하는 도커 컨테이너 리버스 프록시(docker container reverse proxy)docker-compose.yml 기본 예제docker-compose.yml 편집vim docker-compose.ymlversion: "3.3"services: traefik: image: "traefik:v2.9" container_name: "traefik" command: #- "--log.level=DEBUG" - "--api.insecure=true" - "--providers.docker=true" - "--providers.docker.exposedbydefault=false" - "--entrypoints.web.add.. 더보기 [draft] cronolog를 컴파일하여 설치하고 로그를 설정하는 방법 cronolog를 컴파일하여 설치하고 로그를 설정하는 방법Cronolog를 컴파일하여 설치하고 Apache 로그를 설정하는 방법을 안내드리겠습니다. 이 방법은 소스 코드를 직접 다운로드하여 컴파일하고 설치하는 과정을 포함합니다. 아래 단계를 따라 진행하시면 됩니다.1. 필요한 패키지 설치먼저, Cronolog를 컴파일하는 데 필요한 일부 개발 도구와 라이브러리를 설치합니다.sudo yum install -y gcc make2. Cronolog 다운로드 및 설치Cronolog의 공식 웹 사이트(http://cronolog.org/)에서 최신 소스 코드를 다운로드합니다. 아래 예시에서는 버전 1.7을 사용합니다. 그러나 현재 시점에서는 이 버전보다 더 높은 버전이 나올 수도 있으므로 공식 웹 사이트에서 확인.. 더보기 도커 컴포즈 설치(docker-compose install) 도커 컴포즈 설치(docker-compose install) 도커 컴포즈 최신 버전 확인 : https://github.com/docker/compose/releases $ curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4 v2.15.1 도커 컴포트 v2 최신 버전 설치 sudo curl -sSL "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4).. 더보기 [draft] td-agent-bit 설치 td-agent-bit 설치td-agent-bit.repo 저장소 등록 - centos7cat /etc/yum.repos.d/td-agent-bit.repo[td-agent-bit]name = TD Agent Bitbaseurl = http://packages.fluentbit.io/centos/7gpgcheck=1gpgkey=http://packages.fluentbit.io/fluentbit.keyenabled=1EOFtd-agent-bit 설치yum install -y td-agent-bittd-agent-bit 서비스 등록 및 시작systemctl --now enable td-agent-bittd-agent-bit 서비스 시작 상태 확인systemctl status td-agent-bit(or).. 더보기 [draft] systemctl status 명령어 systemctl status 명령어systemctl status 명령어 구문- systemctl status { service-name }- systemctl status { unit-name } -l, --fullDo not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.systemctl status vault --full --no-pagerDo not pipe output into a pager.systemctl status vault --no-pagersystemctl 사.. 더보기 [draft] Consul 클러스터를 구성하는 방법 Consul 클러스터를 구성하는 방법테스트 환경호스트 이름서버 아이피Type비고node211192.168.0.211server node212192.168.0.212server node213192.168.0.213server node214192.168.0.214client 1. 각 서버 노드에 Consul 설치consul 설치 : https://sangchul.kr/6322. Consul 클러스터를 구성호스트 파일 설정sudo tee -a /etc/hosts > /dev/null Consul 설정 파일 작성consul.hcl 설정(/etc/consul.d/consul.hcl)각 서버 노드에 대해 설정 파일을 작성합니다.vim /etc/consul.d/consul.hclnode211sudo tee /etc/.. 더보기 이전 1 ··· 95 96 97 98 99 100 101 ··· 175 다음