일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Linux
- Chrome
- PostgreSQL
- C
- syslog
- Elk
- GPU
- log
- Python
- 크롬
- docker
- yum
- K8S
- Elasticsearch
- centos 7.5
- 디렉토리
- RHEL
- 빅데이터
- zabbix
- Audit Log
- rsyslog
- GNOME
- Shell
- Kubernetes
- 서울시민카드
- 파이썬
- CentOS
- bash
- JSON
- audit
- Today
- Total
목록업무/sys (56)
Sysops Notepad
fstab.conf에 잘못된 설정을 넣어서 리부팅 후 Repair Filesystem 부팅되고 / 파티션이 Read-only 상태로 마운트되었을때 조치 방법입니다. mount -o remount,rw /
사전작업 # yum install -y pcre2-devel zlib-devel openssl-devel systemd-devel compile cd /home/temp/ wget http://www.haproxy.org/download/2.4/src/haproxy-2.4.8.tar.gz tar zxvf haproxy-2.4.8.tar.gz cd haproxy-2.4.8 make TARGET=linux-glibc \ USE_OPENSSL=1 USE_ZLIB=1 USE_SYSTEMD=1 \ USE_PCRE2=1 USE_PCRE2_JIT=1 make PREFIX=/home/haproxy install ln -sf /home/haproxy/sbin/haproxy /usr/local/bin/haproxy
# lshw -short H/W path Device Class Description ========================================================== system ProLiant DL20 Gen10 (P06962-B21)
rocky linux 8에 td-agent-bit를 설치간에 아래와 같이 에러가 발생했습니다. [root@test td-agent-bit]# /opt/td-agent-bit/bin/td-agent-bit -h /opt/td-agent-bit/bin/td-agent-bit: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or director 이럴때는 아래 패키지를 설치해주시면 해결됩니다. [root@test ~]# yum install compat-openssl10 그럼 수고하세요~
CentOS6까지는 /etc/cron.daily/tmpwatch 라는 스크립트가 위 디렉터리에 있는 파일들을 삭제하는데 CentOS7과 Centos8은 systemd-tmpfiles가 /usr/lib/tmpfiles.d/tmp.conf 파일을 참고하여 돟작합니다. /tmp : 재부팅시 파일 삭제. 재부팅을 하지 않아도 정기적으로 10일마다 삭제 /var/tmp : 재부팅 파일 삭제하지 않으나 정기적으로 30일마다 삭제 [root@test-01 /]# cat /usr/lib/tmpfiles.d/tmp.conf # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under ..
설치환경 : - Centos 7 - git - nginx - php - mairadb # git clone --depth=1 https://github.com/snipe/snipe-it /var/www/snipeit # cd /var/www/snipeit # cp .env.example .env # vi .env APP_URL=https://snipeit.example.com DB_DATABASE=snipeit DB_USERNAME=snipeit DB_PASSWORD=snipeit # nginx backend 설정 # systemctl restart nginx.service 상세 설정 방법 : https://www.vultr.com/docs/how-to-install-snipe-it-on-centos-7
설치환경 : - Centos 6 - Centos 7 - Centos 8 설치방법 [root@sysops]# vi /etc/yum.repos.d/mongodb-org-4.4.repo name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.4/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc [root@sysops]# yum install -y mongodb-org [root@sysops]# systemctl start mongod.service [root@sysops]# systemctl en..
설치 환경 - CentOS 8 - CentOS 7 - CentOS 6 1. SELinux 설정 확인 [root@sysops]# sestatus [root@sysops]# sestatus | grep 'SELinux status\|Current mode' SELinux status: enabled Current mode: enforcing 2. 일시적으로 비활성화시키기 [root@sysops]# setenforce 0 [root@sysops]# sestatus | grep 'SELinux status\|Current mode' SELinux status: enabled Current mode: permissive 3. 영구적으로 비활성화시키기 [root@sysops]# vim /etc/selinux/con..
iostat명령어는 CPU 사용률과 디스크 장치 및 파티션에 대한 IO 통계 정보를 출력합니다. [root@s~]# iostat Linux 3.10.0-1160.11.1.el7.x86_64 11/09/2021 _x86_64_ (6 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 8.24 1.20 19.63 0.02 0.00 70.91 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 7.58 127.67 134.32 2374313503 2497805296 sdb 3.10 10.98 193.42 204229564 3596904712 iotop명령어는 모든 프로세스의 IO 통계를 출력합니다. [root@ ~]# io..
ifconfig 는 리눅스에서 네트워크 인터페이스 관련 정보를 조회 및 수정 할 수 있는 명령어입니다 최근에는 ip 명령어를 많이 사용합니다. eth0: flags=4163 mtu 1500 inet xxx.xxx.xxx.xxx netmask 255.255.255.128 broadcast xxx.xxx.xxx.xxx inet6 fe80::bacb:29ff:febd:1851 prefixlen 64 scopeid 0x20 ether b8:cb:29:bd:18:51 txqueuelen 1000 (Ethernet) RX packets 9545586 bytes 9971510902 (9.2 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1365721 bytes ..