본문 바로가기

728x90

전체 글

윈도우 10(2004)에서 코타나 삭제 윈도우 10(2004)에서 코타나 삭제 1. Windows PowerShell(관리자) 실행 2. 코타나 삭제(코타나 이름 : Microsoft.549981C3F5F10) Get-AppxPackage | Select Name, PackageFullName Get-AppxPackage | Select Name, PackageFullName | findstr Microsoft.549981C3F5F10 > Get-AppxPackage | Select Name, PackageFullName | findstr Microsoft.549981C3F5F10 Microsoft.549981C3F5F10 Microsoft.549981C3F5F10_1.1911.21713.0_x64__8wekyb3d8bbwe 3. 코나타 삭제.. 더보기
[draft] 웹 프록시 자동 검색 프로토콜을 적용하는 방법 웹 프록시 자동 검색 프로토콜(Auto-Discovery Protocol)을 적용하는 방법1. WPAD(Web Proxy Auto-Discovery Protocol) 개요WPAD는 클라이언트 컴퓨터가 자동으로 프록시 서버의 위치를 탐지하고 설정할 수 있도록 도와주는 프로토콜입니다.2. WPAD 적용 단계WPAD 파일 생성my.pac 파일 작성my.pac 파일은 프록시 설정을 정의하는 JavaScript 파일입니다.vim my.pacfunction FindProxyForURL(url, host) { if (shExpMatch(host, "*.example.com")) { return "PROXY proxy.example.com:8080"; } return "DIRECT";}더보.. 더보기
[리눅스] elasticsearch 클러스터 구성에서 인덱스 생성 elasticsearch 클러스터 구성에서 인덱스 생성 시 프라이머리 샤드와 복제본 설정 - 프라이머리 샤드(Primary Shard)와 복제본(Replica) 설정 인덱스(aindextest) 생성 - Shard : 3, Replica : 2 (3개 노드로 구성) #curl -XPUT "http://localhost:9200/aindextest" -H 'Content-Type: application/json' -d' # { # "settings": { # "number_of_shards": 3, # "number_of_replicas": 2 # } #} #' curl -XPUT "http://elastic:elastic@localhost:9200/aindextest" -H 'Content-Type: a.. 더보기
[기타] 크롬 확장 프로그램 추천 크롬 확장 프로그램 추천 ElasticSearch Head Elasticsearch 클러스터용 웹 프런트 엔드 Chrome Web Store를 통해 설치할 수 있습니다. Elasticsearch 클러스터 모니터링 및 프라이머리 샤드(Primary Shard)와 복제본(Replica) 보기 더보기
[리눅스] HAProxy 패스워드 설정 HAProxy 패스워드 설정 haproxy.cfg 편집 $ vim /etc/haproxy/haproxy.cfg ... #--------------------------------------------------------------------- userlist basic-auth #user elastic password ZWxhc3RpYzplbGFzdGlj user elastic insecure-password elastic user guest insecure-password guest #--------------------------------------------------------------------- frontend www-lb bind *:80 mode http http-request set.. 더보기
리눅스 mkpasswd 명령어 mkpasswd 명령어 mkpasswd 명령은 사용자의 암호를 해시로 변환하는 데 사용되는 유틸리티입니다. 일반적으로 Linux 시스템에서 사용자의 비밀번호를 생성 또는 변경할 때 사용됩니다. mkpasswd 명령은 다양한 해시 알고리즘을 지원하며, 각 알고리즘에 따라 다른 형식의 해시를 생성할 수 있습니다. $ mkpasswd -bash: mkpasswd: command not found whois 패키지 설치(mkpasswd 명령) yum install -y whois $ which mkpasswd /usr/bin/mkpasswd mkpasswd 명령어 구문 $ mkpasswd --help Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]] Crypts the PASS.. 더보기
[Linux] How to build and push Docker images with GitHub Actions How to build and push Docker images with GitHub Actions Create a new repository for GitHub new repository > Actions > set up a workflow yourself Editing main.yml editing name: CI on: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - name: Check Out Repo uses: actions/checkout@v2 - name: Login to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKER_HUB_US.. 더보기
Installing a package to use the Kafka command(kafka-topics.sh) Installing a package to use the Kafka command(kafka-topics.sh) Install Azul Zulu on RPM-based Linux(CentOS 7) https://docs.azul.com/core/zulu-openjdk/install/rpm-based-linux Install from Azul RPM repository yum install -y https://cdn.azul.com/zulu/bin/zulu-repo-1.0.0-1.noarch.rpm Install the required Azul Zulu package yum install -y zulu11-jdk Check the java version /usr/lib/jvm/zulu11/bin/java .. 더보기

728x90