리눅스 썸네일형 리스트형 unable to resolve host hostname 오류 unable to resolve host hostname 오류호스트 이름과 IP 주소를 매핑시키면 해당 오류를 해결할 수 있습니다.$ sudo su -sudo: unable to resolve host server-01: Name or service not known오류는 호스트 이름을 찾을 수 없기 때문에 발생하는 문제입니다. 보통 이 오류는 /etc/hosts 파일에 호스트 이름과 IP 주소가 매핑되어 있지 않을 때 발생합니다. 1. 호스트 이름 확인호스트 이름이 올바른지 확인합니다.vim /etc/hostnameserver-01 2. DNS 설정 확인호스트 이름을 해결하기 위해 DNS(Domain Name System) 서버가 필요합니다. DNS 서버 주소가 올바르게 설정되어 있는지 확인하십시오. .. 더보기 우분투에서 rsyslog를 사용하여 로그를 원격으로 전송하는 방법 우분투에서 rsyslog를 사용하여 로그를 원격으로 전송하는 방법 rsyslog 패키지 설치 sudo apt-get update sudo apt-get install -y rsyslog 원격 rsyslog 서버 구성(받는 서버) 원격 rsyslog 서버를 설정해야 합니다. 이 서버는 원격 로그를 수신하고 저장할 것입니다. 1. 원격 rsyslog 서버에서 rsyslog 설정 /etc/rsyslog.conf 파일을 열고 다음 줄을 추가하여 UDP 또는 TCP 포트를 설정합니다. 로그를 수신할 포트를 지정합니다. vim /etc/rsyslog.conf # Provides UDP syslog reception $ModLoad imudp $UDPServerRun 514 # Provides TCP syslog r.. 더보기 Fluentd를 사용하여 데이터를 집계하고 Elasticsearch와 AWS S3로 전달하는 방법(Aggregation and Forwarding with Fluentd) Fluentd를 사용하여 데이터를 집계하고 Elasticsearch와 AWS S3로 전달하는 방법(Aggregation and Forwarding with Fluentd)서버 구성노드(forwarder)서버(aggregator)서버(destination)서버(visualization)비고fluentdfluentdelasticsearchkibana fluentbit aws s3 td-agent td-agent-bit Log forwarders(로그 전달자)는 일반적으로 로컬 이벤트를 수신하기 위해 모든 노드에 설치됩니다. 이벤트가 수신되면 네트워크를 통해 'Log aggregators'로 전달합니다. 로그 전달자의 경우 fluent-bit도 경량 처리에 적합합니다.Log aggregators(.. 더보기 Elasticsearch REST APIs Elasticsearch REST APIscURL(command)클러스터 정보 표시(cluster info)curl -s -k -u elastic:'elastic1!' https://localhost:9200 | jq$ curl -s -k -u elastic:'elastic1!' https://localhost:9200 | jq{ "name": "node-1", "cluster_name": "my-application", "cluster_uuid": "IcZQ4wjTR1e9Hym9T8RdQg", "version": { "number": "8.6.2", "build_flavor": "default", "build_type": "deb", "build_hash": "2d58d0f.. 더보기 td-agent plugin(td-agent 플러그) td-agent plugin(td-agent 플러그)설치된 플러그인 목록 표시(로컬)td-agent-gem list --local$ td-agent-gem list --local*** LOCAL GEMS ***addressable (2.8.1)async (1.30.3)async-http (0.59.2)async-io (1.34.0)async-pool (0.3.12)aws-eventstream (1.2.0)...uri (default: 0.10.0)webhdfs (0.10.2)webrick (1.7.0, default: 1.6.1)xmlrpc (0.3.0)yajl-ruby (1.4.3)yaml (default: 0.1.0)zip-zip (0.3)zlib (default: 1.1.0)원격 플러그인 목록 표시.. 더보기 우분투에서 td-agent를 설치하는 방법 우분투에서 td-agent를 설치하는 방법 td-agent는 Treasure Data에서 제공하는 Fluentd 기반의 에이전트입니다. 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.1 LTS td-agent 설치 td-agent 패키지 저장소의 GPG 키 추가 curl https://packages.treasuredata.com/GPG-KEY-td-agent | sudo apt-key add - td-agent 패키지 저장소 추가 echo "deb [arch=amd64] http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib" | sudo tee /etc/apt/sources.list.d/treasure.. 더보기 ubuntu 환경에서 elasticsearch와 kibana를 설치하는 방법 ubuntu 환경에서 elasticsearch와 kibana를 설치하는 방법(8.x) 테스트 환경 $ lsb_release -d Description:Ubuntu 22.04.1 LTS Elasticsearch 설치하기 Elasticsearch의 공식 GPG key 다운로드하기 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - $ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d inste.. 더보기 SecureCRT 접속 시 Key exchange failed 오류 SecureCRT 접속 시 Key exchange failed 오류key exchange failed 오류No compatible key-exchange method. The server supports these methods: diffie-hellman-group14-sha256"No compatible key-exchange method. The server supports these methods: diffie-hellman-group14-sha256" 오류는 SecureCRT가 호환되는 키 교환 방법을 찾지 못하여 발생합니다. 이 오류를 해결하기 위해 다음 방법을 시도해 볼 수 있습니다. 1. SecureCRT 업데이트: SecureCRT의 최신 버전으로 업데이트하면 호환되는 키 교환 방법을 지.. 더보기 이전 1 ··· 90 91 92 93 94 95 96 ··· 200 다음