centos 썸네일형 리스트형 [리눅스] nomad 설치(install nomad) nomad 설치(install nomad) - install nomad server on ubuntu sudo apt-get update && sudo apt-get install -y wget gpg coreutils wget -q -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | su.. 더보기 [리눅스] consul 서비스 등록 consul 서비스 등록 consul agent 환경 설정(consul.hcl) vim /etc/consul.d/consul.hcl datacenter = "my-dc-1" data_dir = "/opt/consul" bind_addr = "0.0.0.0" # Listen on all IPv4 advertise_addr = "192.168.0.63" retry_join = ["control1", "node1", "node2"] /etc/consul.d /opt/consul/services/ web-service.hcl 편집 cd /etc/consul.d $ ls consul.env consul.hcl web-service.hcl vim web-service.hcl service { name = "web .. 더보기 systemctl status 명령어 systemctl status 명령어systemctl status 명령어 구문- systemctl status { service-name }- systemctl status { unit-name } -l, --fullDo not ellipsize unit names, process tree entries, journal output, or truncate unit descriptions in the output of status, list-units, list-jobs, and list-timers.systemctl status vault --full --no-pagerDo not pipe output into a pager.systemctl status vault --no-pagersystemctl 사.. 더보기 Consul 클러스터를 구성하는 방법 Consul 클러스터를 구성하는 방법테스트 환경호스트 이름서버 아이피Type비고node111192.168.10.111server node112192.168.10.112server node113192.168.10.113server haproxy100192.168.10.110client 1. 각 서버 노드에 Consul 설치consul 설치 : https://scbyun.com/14902. Consul 클러스터를 구성호스트 파일 설정sudo tee -a /etc/hosts > /dev/null Consul 설정 파일 작성consul.hcl 설정(/etc/consul.d/consul.hcl)각 서버 노드에 대해 설정 파일을 작성합니다.vim /etc/consul.d/consul.hclnode111sudo te.. 더보기 우분투에 Consul을 설치하고 설정하는 방법 우분투에 Consul을 설치하고 설정하는 방법(install consul)consul ports tableUseDefault PortsDNS: The DNS server (TCP and UDP)8600HTTP: The HTTP API (TCP Only)8500HTTPS: The HTTPs APIdisabled (8501)*gRPC: The gRPC APIdisabled (8502)*LAN Serf: The Serf LAN port (TCP and UDP)8301Wan Serf: The Serf WAN port (TCP and UDP)8302server: Server RPC address (TCP Only)8300Sidecar Proxy Min: 자동으로 할당된 사이드카 서비스 등록에 사용할 포함된 최소 .. 더보기 SSH 인증을 위한 SSH 인증서를 구성하고 설정하는 방법 SSH 인증을 위한 SSH 인증서를 구성하고 설정하는 방법(Certificate Authority)SSH 키를 사용하는 인증 시스템을 더욱 효율적이고 안전하게 관리할 수 있게 해줍니다. SSH 인증서 기반 인증은 SSH 키 기반 인증과 유사하지만 중앙의 인증 기관(CA)에서 서명된 인증서를 사용하여 사용자 및 호스트를 인증합니다. 이 방법을 통해 SSH 키의 관리를 간소화하고 특정 키의 수명을 제한하는 등의 작업이 용이해집니다.테스트 환경$ cat /etc/redhat-releaseCentOS Linux release 8.4.2105$ yum info openssh-serverFailed to set locale, defaulting to C.UTF-8Last metadata expiration chec.. 더보기 HashiCorp Vault SSH Client-Signer Secrets Engine을 통한 SSH 인증 구성 방법 HashiCorp Vault SSH Client-Signer Secrets Engine을 통한 SSH 인증 구성 방법Vault 서버에서 SSH 인증을 위한 CA(Certificate Authority) 역할을 수행하게 하며 각 SSH 서버와 클라이언트는 Vault에서 생성된 CA를 신뢰하도록 설정됩니다.테스트 환경호스트 이름아이피역할운영체제비고node1192.168.10.111vault serverubuntu 22.04 node2192.168.10.112ssh serverubuntu 22.04 node3192.168.10.113ssh clientubuntu 22.04 1. Vault 데이터 디렉터리 초기화 및 서버 재시작sudo systemctl stop vaultsudo rm -rf /opt/vault.. 더보기 systemctl 명령을 찾을 수 없음 systemctl 명령을 찾을 수 없음systemctl은 시스템의 서비스를 관리하는 명령어 중 하나입니다. 사용 중인 리눅스 배포판이 systemd를 사용하고 있는지 확인해야 합니다. 대부분의 현대적인 리눅스 배포판(Ubuntu 15.04 이후, CentOS 7 이상, Fedora 15 이상 등)은 systemd를 사용하지만 일부 오래된 배포판이나 특수한 경량화 배포판은 systemd를 사용하지 않을 수 있습니다.에러systemctl 명령이 없다는 오류 메시지는 일반적으로 시스템 관리자가 아닌 사용자 계정에서 발생합니다.systemctl: command not found 1. systemctl이 포함된 패키지를 확인합니다.대부분의 리눅스 배포판에서는 systemd 패키지에 systemctl이 포함되어 있.. 더보기 이전 1 2 3 4 5 6 7 8 ··· 22 다음