본문 바로가기 메뉴 바로가기

ithappens

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ithappens

검색하기 폼
  • This is all I can show you (66)
    • certificate (11)
      • ccna (1)
      • ccnp (4)
      • cka (6)
    • self training (41)
      • nw (11)
      • win (3)
      • lin (23)
      • fw (0)
      • sql (3)
      • notion (1)
    • referance (2)
    • just notepad (10)
  • 방명록

yum update 시 failed

환경 : vmware nat networkdhclient 명령어 입력 후 yum update -y

self training/lin 2024. 4. 25. 11:12
rocky 8 nagios server setup

sed -i 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config yum update -y yum install -y gcc glibc glibc-common wget unzip httpd php gd gd-devel perl postfix cd /usr/src/ sudo wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.5.tar.gz sudo tar xzf nagioscore.tar.gz cd nagioscore-nagios-*/ ./configure sudo make all sudo make install-groups-users sudo us..

self training/lin 2024. 1. 11. 14:54
vi, vim 문자열 일괄 변경

vi, vim 편집기에서 :%s/변경시킬문자/변경될문자/g

self training/lin 2024. 1. 11. 14:44
Lsync + Rsync 데이터 실시간 동기화

lsyncd(Live Syncing Daemon) 원리 : 리눅스 커널의 inotify로 파일시스템의 변경사항을 체크 inotify(Linux Kernel 2.6.13 이상)는 리눅스 커널에 포함된 기능으로, 파일시스템에 변경사항이 발생할 때 이벤트를 통보 변경사항은 rsync를 호출하여 상대 서버로 싱크 원본데이터 서버와 동기화 대상서버 간의 SSH rsa key 교환등의 과정은 필요하지 않음 lsyncd가 파일 변화를 모니터링할 수 있는 디렉토리 갯수는 최대 8192개 - 구조 원본 데이터 서버 : lsyncd 데몬 + rsync 클라이언트 동기화 대상 서버 : rsyncd 데몬 - 설정 ::설치 공통 : yum install -y epel-release 원본 데이터 서버 : yum install -..

self training/lin 2024. 1. 10. 11:43
nagios check_disk

check_disk v2.3.3.git (nagios-plugins 2.3.3) Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2014 Nagios Plugin Development Team This plugin checks the amount of used disk space on a mounted file system and generates an alert if free space is less than one of the threshold values Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | -x device} [-C] [-E] [-e] [-f] [-g group ] [..

카테고리 없음 2022. 12. 1. 21:51
이전 1 2 다음
이전 다음
TAG
  • CentOS7
  • CentOS
  • 로드벨런서
  • Linux
  • VLAN
  • Kubernetes
  • cisco
  • FNAT
  • chap
  • 네트워크
more
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바