본문 바로가기

728x90

분류 전체보기

FTPS 클라이언트인 lftp와 FileZilla를 사용하는 방법 FTPS 클라이언트인 lftp와 FileZilla를 사용하는 방법 lftp를 사용한 FTPS 접속 1. lftp 설치 lftp를 설치합니다. 대부분의 Linux 배포판에서는 패키지 관리자를 사용하여 lftp를 설치할 수 있습니다. CentOS yum install -y lftp Ubuntu sudo apt-get install lftp 2. lftp 버전 정보 확인 lftp --version $ lftp --version LFTP | Version 4.4.8 | Copyright (c) 1996-2013 Alexander V. Lukyanov LFTP is free software: you can redistribute it and/or modify it under the terms of the GNU .. 더보기
openssl 인증서 만료일 조회 openssl 인증서 만료일 조회 sangchul.kr SSL 인증서 만료일 조회 echo | openssl s_client -servername sangchul.kr -connect sangchul.kr:443 2>/dev/null | openssl x509 -noout -dates $ echo | openssl s_client -servername sangchul.kr -connect sangchul.kr:443 2>/dev/null | openssl x509 -noout -dates notBefore=Aug 24 16:40:08 2020 GMT notAfter=Nov 22 16:40:08 2020 GMT openssl s_client -connect sangchul.kr:443 | openssl x.. 더보기
윈도우 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. 코나타 삭제.. 더보기
[리눅스] 웹 프록시 자동 검색 프로토콜(Auto-Discovery Protocol) 웹 프록시 자동 검색 프로토콜(Auto-Discovery Protocol) my.pac 편집 function FindProxyForURL(url, host) { //MY PC if (isInNet(myIpAddress(), "192.168.0.21", "255.255.255.255")) {return "PROXY proxy_server:proxy_port";} //NAVER.COM if (shExpMatch(url, "http://*.naver.com*")) {return "PROXY proxy_server:proxy_port";} if (shExpMatch(url, "https://*.naver.com*")) {return "PROXY proxy_server:proxy_port";} //내부 네트워크 .. 더보기
[리눅스] 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.. 더보기

728x90