본문 바로가기

728x90

전체 글

GitHub 개인 액세스 토큰을 사용하는 방법 GitHub 개인 액세스 토큰을 사용하는 방법 비밀번호로 접근 시 에러 Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. $ git push -u origin main Username for 'https://github.com': admin@sangchul.kr Password for 'https://admin@sangchul.kr@github.co.. 더보기
[기타] 크롬 확장 프로그램 추천 크롬 확장 프로그램 추천 Auto Refresh Plus | Page Monitor 강력한 페이지 모니터 기능으로 자동으로 페이지를 새로고침합니다 Chrome Web Store를 통해 설치할 수 있습니다. Auto Refresh Plus 설치 후 설정 화면(시간 간격 설정) https://autorefresh.io 더보기
CentOS 8 Stream 설치(CentOS 8 스트림 설치) CentOS 8 Stream 설치(CentOS 8 스트림 설치) iso 다운로드 download URL : https://www.centos.org/download ISO Download URL http://mirror.kakao.com/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20210120-dvd1.iso Oracle VirtualBox에 VM 생성 download URL : https://www.virtualbox.org CentOS Stream 설치 - Keyboard : 한국어 - 언어 지원 : 한국어, English - 시간 및 날짜 : 아시아/서울 - 소프트웨어 선택 : 최소 설치(표준, 레거시 UNIX 호환성, 개발용 툴) - 설치 대상 :.. 더보기
iperf3를 설치하고 사용하는 방법 iperf3를 설치하고 사용하는 방법 TCP/UDP 대역폭 성능 측정 도구 iperf3는 네트워크 대역폭을 측정하기 위한 도구로 서버와 클라이언트 간의 대역폭 및 성능을 테스트하는 데 사용됩니다. 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 1. iperf3 패키지 설치 서버, 클라이언트 패키지 설치 CentOS 시스템 yum install -y iperf3 Ubuntu 시스템 sudo apt-get update sudo apt-get install iperf3 iperf3 버전 정보 iperf3 --version $ iperf3 --version iperf 3.1.7 Linux master 3.10.0-1160.36.2.e.. 더보기
리눅스에서 HTTP Proxy Server 설정하기 리눅스에서 HTTP Proxy Server 설정하기 1. 로그인 세션 동안만 유지되는 방법 export http_proxy=[proxy서버]:[proxy포트] export https_proxy=[proxy서버]:[proxy포트] unset http_proxy unset https_proxy 2. 로그인 세션이 종료된 후에도 프록시를 유지시키는 방법 *** .bashrc, .bash_profile, /etc/profile vim ~/.bashrc export http_proxy=[proxy서버]:[proxy포트] export https_proxy=[proxy서버]:[proxy포트] source ~/.bashrc 3. Proxy 설정 적용 확인 env | grep -i proxy http_proxy 및 ht.. 더보기
CentOS 7에서 KVM 하이퍼바이저를 설치하는 방법 CentOS 7에서 KVM(Kernel-based Virtual Machine) 하이퍼바이저를 설치하는 방법 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) $ getconf LONG_BIT 64 $ uname -a Linux ntvm-peer01 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux KVM 호스트 확인 시스템이 KVM을 지원하는지 확인해야 합니다. grep -E '(vmx|svm)' /proc/cpuinfo 출력이 0이 아니라면, CPU에서 가상화 확장이 지원됩니다. KVM 모듈 로드 KVM 모듈.. 더보기
[AWS] ALB를 사용하여 소스 IP를 제한하는 방법(IP Blocking) ALB를 사용하여 소스 IP를 제한하는 방법(IP Blocking) ALB 고정 응답 반환 설정 [로드 밸런싱] > [로드밸런서] > 로드 밸런서 선택 > [리스너] > 리스너 선택 > [규칙 보기/편집] 규칙 추가 > [규칙 삽입] 고정 응답 반환 응답 코드 : 599 콘텐츠 유형 : text/plain 응답 본문 : 페이지 차단(PAGE BLOCK) 접속 차단 - 웹 보안 정책 보안(Blocked - Violation of Web Security Policy) 접속 테스트 https://sangchul.kr curl -I https://sangchul.kr HTTP/2 599 server: awselb/2.0 date: Fri, 30 Jul 2021 07:09:01 GMT content-type: t.. 더보기
[AWS] AWS CloudWatch 경보를 Slack으로 보내는 방법_ver2 AWS CloudWatch 경보를 Slack으로 보내는 방법 시스템 구성 이미지 출처 : https://medium.com/analytics-vidhya/generate-slack-notifications-for-aws-cloudwatch-alarms-e46b68540133 1. Amazon SNS 1-1. 주제 생성 - 이름 : cloudwatch-notification 1-2 구독 메일 확인 1-3 메시지 게시(메시지 발송 테스트) 2. Slack webhooks url 생성 slack webhooks(incoming webhooks) 생성 방법 - https://sangchul.kr/784 #cluodwatchalert https://hooks.slack.com/services/T018562TM6A.. 더보기

728x90