본문 바로가기

728x90

리눅스

[VPN] Linux에서 SoftEther VPN 클라이언트 설치 SoftEther VPN 클라이언트 설치 softether-vpnclient 설치 $ cd /usr/local/src/ $ wget https://www.softether-download.com/files/softether/v4.34-9745-rtm-2020.04.05-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz $ tar xvfz softether-vpnclient-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz $ make --------------------------------.. 더보기
[draft] lftp와 FileZilla를 사용한 FTPS 클라이언트 설정 방법 lftp와 FileZilla를 사용한 FTPS 클라이언트 설정 방법lftp를 사용한 FTPS 접속1. lftp 설치lftp를 설치합니다. 대부분의 Linux 배포판에서는 패키지 관리자를 사용하여 lftp를 설치할 수 있습니다.CentOSyum install -y lftpUbuntusudo apt-get install lftplftp 버전 정보 확인lftp --version$ lftp --versionLFTP | Version 4.4.8 | Copyright (c) 1996-2013 Alexander V. LukyanovLFTP is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public .. 더보기
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.. 더보기
[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.. 더보기
[리눅스] 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.. 더보기

728x90