일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 서울시민카드
- centos 7.5
- syslog
- 크롬
- rsyslog
- yum
- Kubernetes
- Python
- C
- PostgreSQL
- Audit Log
- 파이썬
- Chrome
- docker
- log
- Elk
- Linux
- JSON
- GPU
- K8S
- audit
- Elasticsearch
- GNOME
- bash
- Shell
- 빅데이터
- 디렉토리
- RHEL
- zabbix
- CentOS
- Today
- Total
목록업무 (169)
Sysops Notepad
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 ..
2021년 12월 10일 Java 기반 로깅 라이브러리인 Apache Log4j2에서 이 로깅 기능으로 원격 코드 실행을 트리거하는 취약점이 발견되었습니다. 취약점을 가진 버전은 Apache Log4j 2.x
1. 임시로 설정하기 vi 명령어 입력 후 아래 명령어 입력 :set encoding=utf-8 or :set encoding=euc-kr 2. 영구적으로 설정하기 # vi ~/.profile export LANG=ko_KR.euckr
warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory 위 에러가 발생할 경우 아래 명령어를 쉘에 입력해준다. export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8
pdns 셋팅 중 아래 메세지가 발생했다. configure: error: Could not find yaml-cpp yaml-cpp 라이브러리를 컴파일해서 설치해주자 cd /root git clone https://github.com/jbeder/yaml-cpp.git cd yaml-cpp mkdir build cd build cmake -DBUILD_SHARED_LIBS=ON .. make make install cp -a /usr/local/share/pkgconfig/yaml-cpp.pc /usr/lib64/pkgconfig/ cp /usr/local/lib64/libyaml-cpp.so.0.7 /usr/lib64
현재 centos 저장소에 curl 버전은 7.29.0 버전이다. [root@sysops ]# yum list curl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * centos-sclo-rh: mirror.navercorp.com * centos-sclo-sclo: mirror.navercorp.com * epel: ftp.riken.jp * extras: mirror.navercorp.com * updates: mirror.navercorp.com * webtatic: us-east.repo.webtatic.com Installed Packages curl.x86..
Centos 7환경에서 pdns 컴파일 중 에러가 발생했다. [root@sysops pdns-4.5.2]# ./configure checking whether g++ supports C++17 features with -std=c++17... no checking whether g++ supports C++17 features with +std=c++17... no checking whether g++ supports C++17 features with -h std=c++17... no checking whether g++ supports C++17 features with -std=c++1z... no checking whether g++ supports C++17 features with +std=c..
압축 파일을 다운 받아서 압축해제를 하려는데 에러가 발생한다. [root@sysops build]# tar -xvf pdns-4.5.2.tar.bz2 tar (child): cannot run bzip2: No such file or directory tar (child): trying lbzip2 tar (child): lbzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now . bzip2를 설치해주자 [root@sysops build]# yum install..
설치환경 : - 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