리눅스 썸네일형 리스트형 [draft] 우분투에서 Filebeat를 설치하는 방법 우분투에서 Filebeat를 설치하는 방법1. Filebeat 설치Elasticsearch GPG 키 추가curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --batch --yes --dearmor -o /usr/share/keyrings/elastic-archive-keyring.gpgAPT 저장소 추가echo "deb [signed-by=/usr/share/keyrings/elastic-archive-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list패키.. 더보기 [리눅스] Ubuntu 환경에서 Metricbeat 설치하는 방법 Ubuntu 환경에서 Metricbeat 설치하는 방법 Metricbeat 설치하기 로컬 저장소 업데이트 sudo apt-get update Metricbeat 패키지 설치 sudo apt-get install -y metricbeat 구성 파일(metricbeat.yml) 편집 vim /etc/metricbeat/metricbeat.yml Metricbeat 서비스 시작 systemctl --now enable metricbeat.service Metricbeat 서비스 상태 확인 systemctl status metricbeat.service 메트릭 수집 모듈 활성화 및 구성 metricbeat modules list $ metricbeat modules list Enabled: system Disa.. 더보기 [리눅스] Ubuntu 환경에서 Elasticsearch와 Kibana를 설치하고 연동하는 방법(single node) Ubuntu 환경에서 Elasticsearch와 Kibana를 설치하고 연동하는 방법(single node) apt 저장소 업데이트 sudo apt-get update apt-transport-https 패키지 설치 sudo apt-get install -y apt-transport-https Elasticsearch 공식 GPG 키 추가 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg Elasticsearch 저장소 추가 echo "deb [signed-by=/usr/share/keyrings/elasticsearch.. 더보기 [draft] PHP의 설정 파일인 php.ini 파일의 위치를 찾는 방법 PHP의 설정 파일인 php.ini 파일의 위치를 찾는 방법1. 명령줄을 사용하여 찾기php -i | grep "Configuration File"$ php -i | grep "Configuration File"Configuration File (php.ini) Path: /etc/php.ini또는php --ini | grep php.ini$ php --ini | grep php.ini Configuration File (php.ini) Path: /usr/local/apache2/confLoaded Configuration File: /usr/local/apache2/conf/php.ini2. phpinfo() 함수를 사용하여 찾기PHP 스크립트를 작성하고 ph.. 더보기 [리눅스] Fleet Server 호스트 추가 Fleet Server 호스트 추가 다이어그램(diagram) Elasticsearch에서 보안 및 API 키 인증 기능을 활성화 elasticsearch 구성 파일 편집 xpack.security.authc.api_key.enabled: true 추가 vim /etc/elasticsearch/elasticsearch.yml ... # Enable security features xpack.security.enabled: true xpack.security.enrollment.enabled: true xpack.security.authc.api_key.enabled: true # Enable encryption for HTTP API client connections, such as Kibana, Log.. 더보기 [리눅스] Metricbeat 설치하는 방법 Metricbeat 설치하는 방법 Metricbeat 패키지 설치 yum install --enablerepo=elasticsearch -y metricbeat Metricbeat(metricbeat.yml) 설정 확인 cat /etc/metricbeat/metricbeat.yml | egrep -v '^$|^#|#' $ cat /etc/metricbeat/metricbeat.yml | egrep -v '^$|^#|#' metricbeat.config.modules: path: ${path.config}/modules.d/*.yml reload.enabled: false setup.template.settings: index.number_of_shards: 1 index.codec: best_compre.. 더보기 [리눅스] Elasticsearch와 Kibana를 설치하고 연동하는 방법(single node) Elasticsearch와 Kibana를 설치하고 연동하는 방법(single node) 테스트 환경 $ cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" Elasticsearch 설치 Elasticsearch 다운로드 페이지 https://www.elastic.co/downloads/elasticsearch https://www.elastic.c.. 더보기 [리눅스] Elastic Stack 설치 Elastic Stack 설치 설치 순서 다음 순서대로 사용하려는 Elastic Stack 제품을 설치하세요. Elasticsearch(설치 지침) Kibana(설치) Logstash(설치) Beats(설치 지침) APM(설치 지침) Elasticsearch Hadoop(설치 지침) Logstash 설치 Logstash 패키지 설치 yum install --enablerepo=elasticsearch -y logstash 참고URL - Elasticsearch와 Kibana를 설치하고 연동하는 방법(single node) : https://scbyun.com/1571 - installing the elastic stack : https://www.elastic.co/guide/en/elastic-stac.. 더보기 이전 1 ··· 69 70 71 72 73 74 75 ··· 133 다음