목록centos (25)
변군이글루

chrony 설치 및 설정 chrony 설치 $ yum install -y chrony chrony 서비스 활성화 및 서비스 기동 ###서비스 활성화(enable) 및 서비스 시작(start) $ systemctl --now enable chronyd ###서비스 활성화(enable) 및 서비스 시작(start) $ systemctl enable chronyd $ systemctl start chronyd chrony.conf 편집 - time.bora.net 추가 - times.postech.ac.kr 추가 $ vim /etc/chrony.conf # Use public servers from the pool.ntp.org project. # Please consider joining the pool ..

CentOS 8에 zabbix-agent를 설치 ###zabbix-agent 5.2 $ rpm -Uvh https://repo.zabbix.com/zabbix/5.2/rhel/8/x86_64/zabbix-release-5.2-1.el8.noarch.rpm $ dnf install -y zabbix-agent

yum 업데이트 시 kernel 제외 /etc/yum.conf $ vim /etc/yum.conf [main] cachedir=/var/cache/yum/$basearch/$releasever ###업데이트 시 kernel 이 포함된 패키지 제외 exclude=kernel* keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3 distroverpkg=system-release timeout=5 retries=7 # This is the default, if you make this bigger yum won't see if the metadata # is..

AWS EC2(Amazon Linux) 인스턴스에서 /etc/rc.local 기능 활성화 rc.local 퍼미션 확인 ls -l /etc/rc.local lrwxrwxrwx 1 root root 13 Jun 23 04:50 /etc/rc.local -> rc.d/rc.local ls -l /etc/rc.d/rc.local -rw-r--r-- 1 root root 581 Aug 28 09:57 /etc/rc.d/rc.local rc.local 퍼미션 변경 chmod +x /etc/rc.d/rc.local ls -l /etc/rc.d/rc.local -rwxr-xr-x 1 root root 581 Aug 28 09:57 /etc/rc.d/rc.local 리부팅 reboot