본문 바로가기

분류 전체보기

C276x260.fwebp.q85 [draft] 우분투 24.04에서 Vault CLI를 설치하는 방법 우분투 24.04에서 Vault CLI를 설치하는 방법테스트 환경운영체제 정보$ lsb_release -dDescription: Ubuntu 24.04.2 LTS필수 패키지 설치sudo apt-get install -y \ jq \ curl \ unzipVault CLI 설치VAULT_VERSION="1.21.1"VAULT_VERSION=$(curl -fsSL https://api.github.com/repos/hashicorp/vault/releases/latest | jq -r .tag_name | sed 's/^v//')curl -fsSL https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_l.. 더보기
C276x260.fwebp.q85 [draft] Windows 11에서 검색 웹 결과를 비활성화하는 방법 Windows 11에서 검색 웹 결과를 비활성화하는 방법로컬 그룹 정책 편집으로 끄기[원도우 키(Win) + R] > gpedit.msc로컬 컴퓨터 정책 > 사용자 구성 > 관리 템플릿 > Windows 구성 요소 > 파일 탐색기Turn off display of recent search entries in the File Explorer search box(파일 탐색기 검색 상자에 최근 검색 항목 표시 안함_ > 사용(E)컴퓨터 재부팅레지스트리 값을 추가하여 끄기[원도우 키(Win) + R] > regedit레지스트리 편집기 > 컴퓨터 > HKEY_CURRENT_USER > SOFTWARE > Policies > Microsoft > Windows > Explorer새로 만들기새로 만들기(N) > DW.. 더보기
C276x260.fwebp.q85 [draft] CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법 CentOS 8에서 기본 리포지토리를 미러 서버로 변경하는 방법CentOS 8에서 미러 서버를 사용하여 패키지를 설치하거나 업데이트하려면 /etc/yum.repos.d/ 디렉토리에 새로운 리포지토리 파일을 추가하거나 기존 리포지토리 파일을 편집해야 합니다.1. 리포지토리 파일 생성CentOS-Base.repo 편집vim /etc/yum.repos.d/CentOS-Base.repo# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close t.. 더보기
C276x260.fwebp.q85 [draft] kcat(kafkacat) 명령어 kcat(kafkacat) 명령어kcat - Apache Kafka 생산자(producer) 및 소비자(consumer) 도구테스트 환경운영체제 정보$ cat /etc/redhat-releaseCentOS Linux release 7.9.2009 (Core)$ getconf LONG_BIT64kafkacat 설치gcc-c++, git, librdkafka-devel 설치yum install -y gcc-c++ git librdkafka-develkafkacat 다운로드(git clone), 컴파일 및 설치git clone https://github.com/edenhill/kafkacatcd kafkacat./configuremakemake installkcat 버전 정보 확인kcat -Vkcat - Ap.. 더보기
C276x260.fwebp.q85 [draft] nGrinder를 사용하여 성능 테스트를 수행하는 방법 nGrinder를 사용하여 성능 테스트를 수행하는 방법nGrinder는 분산된 부하 테스트를 수행할 수 있는 오픈 소스 성능 테스트 도구입니다. nGrinder는 컨트롤러(Controller)와 에이전트(Agent)로 구성되어 있습니다. 컨트롤러는 테스트를 계획하고 모니터링하는 역할을 하며 에이전트는 테스트를 실행하는 데 사용됩니다.1. Java 설치nGrinder는 Java로 작성되어 있으므로 Java를 설치해야 합니다.2. nGrinder 컨트롤러 설치2.1 nGrinder 컨트롤러 다운로드nGrinder 컨트롤러를 다운로드하고 원하는 디렉토리에 압축을 해제합니다.mkdir -pv ~/ngrinder/ngrinder-controllercd ~/ngrinder/ngrinder-controllerwget.. 더보기
C276x260.fwebp.q85 [draft] docker-compose를 사용하여 ngrinder 컨트롤러 및 에이전트를 설정하는 방법 docker-compose를 사용하여 ngrinder 컨트롤러 및 에이전트를 설정하는 방법1. Docker 및 Docker Compose 설치2. Docker Compose 파일 생성vim docker-compose.ymlversion: '3.8'services: controller: image: ngrinder/controller:latest restart: always container_name: controller hostname: controller sysctls: - net.core.somaxconn=65000 ports: - 8888:80 - 16001:16001 - 12000-12009:12000-12009 volum.. 더보기
C276x260.fwebp.q85 [draft] GitLab을 Docker Compose를 사용하여 올리는 방법 GitLab을 Docker Compose를 사용하여 올리는 방법gitlab 디렉토리 생성mkdir -p gitlabgitlab 디렉토리 소유자 설정chown -R 999:999 gitlabgitlab 디렉토리 권한 설정chmod -R 755 gitlabDocker Compose 파일 작성vim docker-compose.ymlversion: '3.8'services: ### 16.10.1-ee.0 gitlab: image: gitlab/gitlab-ee:latest container_name: gitlab restart: always hostname: gitlab.sangchul.kr #env_file: .env environment: GITLAB_OMNIBU.. 더보기
C276x260.fwebp.q85 [draft] 우분투에서 NFS서버와 클라이언트를 설정하는 방법 우분투에서 NFS(Network File System) 서버와 클라이언트를 설정하는 방법테스트 환경호스트 이름아이피 주소역할비고node1192.168.0.112NFS 서버 node2192.168.0.121NFS 클라이언트 node3192.168.0.141NFS 클라이언트 호스트 파일 편집sudo tee -a /etc/hosts 1. NFS 서버 설정(node1)NFS 서버 패키지 설치sudo apt-get updatesudo apt-get install -y nfs-kernel-server공유 디렉토리 생성NFS를 통해 공유할 디렉토리를 만듭니다.예를 들어, /srv/nfs_share라는 디렉토리를 생성합니다.sudo mkdir -p /srv/nfs_sharesudo chown nobody:nogroup.. 더보기