본문 바로가기

728x90

리눅스

[리눅스] Elasticsearch REST APIs Elasticsearch REST APIs cURL(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": "2d58d0f136141f0323.. 더보기
[리눅스] 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: .. 더보기
우분투에서 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의 최신 버전으로 업데이트하면 호환되는 키 교환 방법.. 더보기
shasum 명령어 shasum 명령어 shasum은 파일의 SHA (Secure Hash Algorithm) 체크섬을 계산하는 명령어입니다. 파일이나 데이터의 무결성을 검증하거나 파일이 변경되지 않았는지 확인하는 데 사용됩니다. perl-Digest, perl-Digest-SHA 패키지 Description $ yum info perl-Digest Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Installed Packages Name : perl-Digest Arch : noarch Version : 1.17 Release : 245.amzn2 Size : 28 k Repo : installed From repo : amzn2-core Su.. 더보기
HAProxy 컴파일을 통해 설치하는 방법(source compile) HAProxy 컴파일을 통해 설치하는 방법(source compile) 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 의존성 패키지 설치 yum install -y make gcc perl pcre-devel zlib-devel openssl-devel lua-devel systemd-devel $ lua -v Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio lua 5.3 업그레이드(lua-5.3.0) wget http://www.nosuchhost.net/~cheese/fedora/packages/epel-7/x86_64/cheese-release-7-1.noarch.rpm yum .. 더보기
[리눅스] consul-template 파일 생성 consul-template 파일 생성 데이터 추가(키 등록) consul kv put web/server/config/webserv1-hostname webserv1 consul kv put web/server/config/webserv1-ip 1.1.1.1 webconfig.json.tmpl 파일 생성 vim webconfig.json.tmpl server_hostname: {{ key "web/server/config/webserv1-hostname" }} server_ip: {{ key "web/server/config/webserv1-ip" }} consul-template 명령 실행 consul-template -template "webconfig.json.tmpl:webconfig.json".. 더보기

728x90
반응형