본문 바로가기

리눅스

우분투에 qos mod를 설치하고 설정하는 방법(mod_qos) 우분투에 qos mod를 설치하고 설정하는 방법(mod_qos) mod_qos는 Apache 웹 서버에서 품질 서비스(QoS)를 제공하는 모듈로 대역폭 제어, 연결 수 제한, 요청 속도 제한 등 다양한 기능을 제공합니다. APT 저장소 업데이트 sudo apt-get update Apache 설치 sudo apt-get install -y apache2 /usr/sbin/apache2 -v $ /usr/sbin/apache2 -v Server version: Apache/2.4.52 (Ubuntu) Server built: 2023-10-26T13:44:44 mod_qos를 컴파일하여 설치하기 더보기 --- sudo apt-get install -y apache2 apache2-dev build-esse.. 더보기
우분투에 HAProxy를 설치하는 방법 우분투에 HAProxy를 설치하는 방법 APT 패키지 목록 업데이트 sudo apt-get update APT 패키지의 세부 정보 확인 sudo apt show haproxy $ sudo apt show haproxy Package: haproxy Version: 2.4.24-0ubuntu0.22.04.1 Priority: optional Section: net Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian HAProxy Maintainers Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3,700 kB Pre-Depends: dpkg (>= 1.17... 더보기
우분투에서 Elasticsearch 8.x 설치 및 클러스터 구성 방법 우분투에서 Elasticsearch 8.x 설치 및 클러스터 구성 방법 운영 체제 환경 설정 호스트 파일에 노드 추가(/etc/hosts) cat /etc/hosts ### elasticsearch 192.168.56.71 node1 192.168.56.72 node2 192.168.56.73 node3 EOF Elasticsearch 사용자의 ulimit을 설정 cat > /etc/security/limits.conf ### elasticsearch elasticsearch hard nofile 65535 elasticsearch soft nofile 65536 elasticsearch hard nproc 65536 elasticsearch soft nproc 65536 elasticsearch har.. 더보기
Kibana를 설치하고 구성하는 방법(SSL/TLS 암호화 구성) Kibana를 설치하고 구성하는 방법(SSL/TLS 암호화 구성) 주요 단계 ElasticSearch 및 Kibana 패키지 저장소에 대한 APT 키를 추가합니다. ElasticSearch와 Kibana를 설치합니다. Kibana의 암호화 키를 생성합니다. ElasticSearch 시스템 사용자의 초기 비밀번호를 재설정합니다. SSL/TLS를 위해 필요한 인증서 및 키를 설정합니다. Kibana의 keystore를 생성하고 ElasticSearch에 대한 사용자 이름과 비밀번호를 저장합니다. Kibana 서비스를 시작하고 상태를 확인합니다. apt-transport-https 패키지 설치 sudo apt-get install -y apt-transport-https GPG 공개 키 다운로드 wget -q.. 더보기
Elasticsearch에서 SSL/TLS를 구성하는 방법 Elasticsearch에서 SSL/TLS를 구성하는 방법 Elasticsearch - node1 password : elastic CA file : /etc/elasticsearch/certs/elastic-stack-ca.p12 Certificates file : /etc/elasticsearch/certs/elastic-certificates.p12 CA(Certificate Authority) 생성 /usr/share/elasticsearch/bin/elasticsearch-certutil ca \ --out /etc/elasticsearch/certs/elastic-stack-ca.p12 \ --days 3650 $ /usr/share/elasticsearch/bin/elasticsearch-c.. 더보기
우분투에서 Elasticsearch를 설치하고 Kibana를 사용하여 클러스터 상태를 확인하는 방법 우분투에서 Elasticsearch를 설치하고 Kibana를 사용하여 클러스터 상태를 확인하는 방법(elasticsearch 8.12.1) 운영체제 환경설정 Limits 설정 File Descriptors Locked in Memory Number of Threads cat > /etc/security/limits.conf ### elasticsearch elasticsearch hard nofile 65535 elasticsearch soft nofile 65536 elasticsearch hard nproc 65536 elasticsearch soft nproc 65536 elasticsearch hard memlock unlimited elasticsearch soft memlock unlimite.. 더보기
[draft] Helm을 사용하여 Ingress Controller를 설치하는 방법 Helm을 사용하여 Ingress Controller를 설치하는 방법Nginx Ingress Controller, Traefik, HAProxy 등의 Ingress Controller 중 Nginx Ingress Controller를 사용하는 방법입니다.Nginx Ingress Controller 설치helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx$ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx"ingress-nginx" has been added to your repositorieshelm repo update$ helm repo updateHa.. 더보기
쿠버네티스 kubeadm init 오류 쿠버네티스 kubeadm init 오류 sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --apiserver-advertise-address=192.168.56.51 [preflight] Running pre-flight checks error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: time="2024-02-16T11:11:12+09:00" level=fatal msg="validate service connection: CRI v1 runtime API is not implemente.. 더보기