리눅스 썸네일형 리스트형 리눅스 glances 명령어 glances 명령어 Glances는 리눅스 시스템 모니터링 도구로, 시스템의 리소스 사용률, 네트워크 활동, 디스크 상태 등을 실시간으로 모니터링할 수 있습니다. 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) Glances를 설치하고 사용하는 방법은 다음과 같습니다. glances 설치 sudo yum install epel-release sudo yum install -y glances glances 실행하기 터미널에서 glances 명령을 실행합니다. Glances는 기본적으로 터미널 환경에서 실행되며, 실시간으로 시스템의 상태를 모니터링합니다. Glances는 키보드에서 다양한 명령을 사용할 수 있습니다. 아래는 일부 .. 더보기 우분투에서 Telegraf를 설치하는 방법 우분투에서 Telegraf를 설치하는 방법 Telegraf는 인플럭스 데이터베이스와 함께 사용되는 데이터 수집 도구로서, 시스템 및 서비스에서 메트릭을 수집하고 이를 인플럭스 데이터베이스로 전송하는 역할을 합니다. 테스트 환경 $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04 (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs... 더보기 우분투에 Grafana를 설치하는 방법 우분투에 Grafana를 설치하는 방법테스트 환경$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04 LTS"NAME="Ubuntu"VERSION_ID="22.04"VERSION="22.04 (Jammy Jellyfish)"VERSION_CODENAME=jammyID=ubuntuID_LIKE=debianHOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"UBUN.. 더보기 우분투에서 influxdb를 설치하는 방법 우분투에서 influxdb(influxdb 2.x)를 설치하는 방법 테스트 환경 $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-po.. 더보기 [리눅스] Elasticsearch 업그레이드(Elasticsearche rpm install on CentOS 7) Elasticsearch 업그레이드(Elasticsearche rpm install on CentOS 7) 테스트 환경 - CentOS 7 - elasticsearch 7.10.2 목표 - Upgrade Elasticsearche : https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html - elasticsearch 8.3.1로 업그레이드 - 7.10에서 7.17로 업그레이드, 7.17에서 8.3으로 업그레이드 elasticsearch 패키지 다운로드 rpm 다운로드 - https://www.elastic.co/guide/en/elasticsearch/reference/8.3/rpm.html#rpm-repo 인증.. 더보기 docker efk stack(elasticsearch cluster) docker efk stack(elasticsearch cluster) EFK 간략한 소개 EFK Stack / Dcoker and OpenSSL [node1, node2, node3] github : https://github.com/anti1346/docker-efkstack git clone https://github.com/anti1346/docker-efkstack.git alias 등록 echo "alias efk='cd /docker-container/docker-efkstack/node1'" >> ~/.bashrc echo "alias efk='cd /docker-container/docker-efkstack/node2'" >> ~/.bashrc echo "alias efk='cd /doc.. 더보기 ubuntu "Could not get lock" APT 오류 ubuntu "Could not get lock" APT 오류 apt 패키지 설치 시 에러 Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 14185 (apt) 이 오류는 다른 APT(Advanced Package Tool) 프로세스가 이미 /var/lib/dpkg/lock-frontend 파일을 잠근 상태로 인해 발생합니다. 1. 기존 APT 프로세스 종료 먼저, 이미 실행 중인 APT 프로세스를 확인하고 종료합니다. ps aux | grep -i apt 위 명령으로 실행 중인 APT 프로세스와 해당 PID를 확인합니다. sudo kill 위에서 확인한 PID를 사용하여 해당 APT .. 더보기 MongoDB PHP Driver를 설치하는 방법 MongoDB PHP Driver를 설치하는 방법PECL 모듈 다운로드 : https://pecl.php.net/package/mongodb소스 컴파일하여 설치하는 방법패키지 다운로드wget https://pecl.php.net/get/mongodb-1.13.0.tgztar xfz mongodb-1.13.0.tgz소스 코드 컴파일cd mongodb-1.13.0/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-configmake -j$(nproc) && make install -j$(nproc)/usr/local/php/bin/php -i | grep "Loaded Configuration File"php 확장 모듈 .. 더보기 이전 1 ··· 94 95 96 97 98 99 100 ··· 191 다음