일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- yum
- Shell
- K8S
- Elasticsearch
- PostgreSQL
- 디렉토리
- audit
- Kubernetes
- zabbix
- C
- GNOME
- 파이썬
- Chrome
- rsyslog
- docker
- Linux
- RHEL
- JSON
- log
- CentOS
- 크롬
- Python
- GPU
- bash
- syslog
- Audit Log
- Elk
- 서울시민카드
- centos 7.5
- 빅데이터
- Today
- Total
목록업무/sys (56)
Sysops Notepad
리눅스 파일시스템 감시를 통한 변경,생성,삭제,위치변경 알림 inotify 사용법OS : centos 7.5 # yum install inotify-tools # inotifywait -e create,delete,modify,move -mrq /test & # touch /etc/test.txt/etc/ CREATE test.txt# detected # vi /etc/inotifywait.conf # create config file LOGFILE=/var/log/inotify.log MONITOR=/test EVENT=create,delete,modify,move # vi /etc/rc.d/init.d/inotifywait -------------------------------------------..
GPU 스케쥴링을 위한 GPU 스케쥴러 Slurm 명령어 정리 # smap -> 작업 상태 및 노드 상태 확인 # sinfo [option] -N -I-> 노드 or 파티션 정보 확인 # squeue -> 작업 상태 확인 - R : RUNNING - PD : PENDING - S : SUSPENDED - ST : STOP - CD : COMPLETED - CA : CANCELLED - F : FAILED - NF : NODE_FAIL # sbatch [option] scriptfile-> 작업 제출 -n 필요 프로세스 수-N 필요 컴퓨트 노드 수-o stdout filename-e stderr filename-t 최대 작업 시간 지정 format> 02:00:00--gres=gpu gpu 사용 옵션-p ..
zabbix visible name에 Hostname 자동으로 넣기 git clone https://github.com/q1x/zabbix-gnomes.git zabbix-gnomes # Update the visible name of the host web001 to 'primary webserver' vi $HOME/.zbx.conf [Zabbix API]username=johndoepassword=verysecretpasswordapi=https://zabbix.mycompany.com/path/to/zabbix/frontend/no_verify=true ./zhostupdater.py web001 -V 'primary webserver' 참고 : https://github.com/q1x/zabbi..
linux dd명령어를 이용한 disk 복제 및 초기화 방법 디스크 복제 # 목적지 디스크를 umount # dd if=/dev/sda of=/dev/sdb bs=512 디스크 초기화# dd if=/dev/zero of=/dev/sda 디스크 파티션 삭제# dd if=/dev/zero of=/dev/sda count=1 bs=512 진행 상황 체크# iostat -d 2 10
1. pg_num 정보 보기 # ceph pg dump | awk 'BEGIN { IGNORECASE = 1 } /^PG_STAT/ { col=1; while($col!="UP") {col++}; col++ } /^[0-9a-f]+\.[0-9a-f]+/ { match($0,/^[0-9a-f]+/); pool=substr($0, RSTART, RLENGTH); poollist[pool]=0; up=$col; i=0; RSTART=0; RLENGTH=0; delete osds; while(match(up,/[0-9]+/)>0) { osds[++i]=substr(up,RSTART,RLENGTH); up = substr(up, RSTART+RLENGTH) } for(i in osds) {array[osds[i]..
Redhat , Centos Audit log 설정하기 # yum install auditd # vi /etc/audisp/plugins.d/syslog.conf ....active = no # active = yes 로 변경direction = out... # service rsyslog restart ; service auditd restart
linux (centos 7 , redhat 7 ) Zabbix Server 4.0 설치 / 구축 / 업데이트 하기 설치 환경 OS : centos 7.4 zabbix ver :3.4.x -> 4.0 1. systemctl stop zabbix-server2. systemctl stop zabbix-proxy3. mkdir /opt/zabbix-backup/4. cp /etc/zabbix/zabbix_server.conf /opt/zabbix-backup/5. cp /etc/httpd/conf.d/zabbix.conf /opt/zabbix-backup/6. cp /etc/httpd/conf.d/ssl.conf /opt/zabbix-backup/7. cp -R /usr/share/zabbix/ /opt/z..
Katello::Resources::Candlepin::OwnerInfo: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (GET /candlepin/owners/acme/info) cd /etc/foreman cp proxy_ca.pem proxy_ca_bkp.pem cp /root/ssl-build/katello-default-ca.crt ./proxy_ca.pem cp /root/ssl-build/katello-default-ca.crt /etc/pki/ca-trust/source/anchors/cp /root/ssl-build/katello-default-ca.crt pro..
Centos 7.5 기준 grafana server install 빅데이터 가시화를 위한 그라파나 서버 구축하기1. vi /etc/yum.repos.d/grafana.repo // 아래 내용 붙여 넣기[grafana]name=grafanabaseurl=https://packagecloud.io/grafana/stable/el/7/$basearchrepo_gpgcheck=1enabled=1gpgcheck=1gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafanasslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crt 2. yum install grafana..