일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- syslog
- PostgreSQL
- rsyslog
- 빅데이터
- JSON
- GPU
- GNOME
- Elk
- Chrome
- CentOS
- yum
- K8S
- zabbix
- centos 7.5
- RHEL
- log
- Linux
- Python
- Elasticsearch
- Shell
- audit
- Audit Log
- docker
- C
- 디렉토리
- 크롬
- bash
- 파이썬
- Kubernetes
- 서울시민카드
- Today
- Total
목록업무 (176)
Sysops Notepad
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
# yum install git # git --version git 2.x 버전이 설치가 필요하면 https://sysops.tistory.com/157 참고 하세요
설치 환경 : - Centos 7 - Centos 8 # yum groupinstall 'development tools' -y # yum install wget openssl-devel bzip2-devel libffi-devel xz-devel -y # wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz # tar xvf Python-3.9.6.tgz # cd Python-3.9.6 && ./configure --enable-optimizations # make altinstall # alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.9 1 # alternatives..
설치환경 : - Centos 7 - Centos 8 * python 3 이 설치되어있어야 합니다. python 3 설치 방법 : https://sysops.tistory.com/192 1. 설치방법 # pip3 install streamlit # firewall-cmd --permanent --add-port 8501/tcp # firewall-cmd --reload # tmux new -s StreamlitSession # streamlit run main.py 2. http://server_ipaddress:8501 접속
설치환경 : - 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..