리눅스 썸네일형 리스트형 [draft] HPuTTY(putty) 치명적인 오류 HPuTTY 치명적인 오류HPuTTY를 통해 최신 버전(우분투 22.04)에 접속 시 아래와 같은 에러가 발생합니다.오류Couldn't agree a key exchange algorithm (available: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519)이 오류는 SSH 연결 시 클라이언트와 서버 간의 키 교환 알고리즘을 협상하지 못해서 발생하는 것으로 보입니다. 이러한 문제를 해결하기 위해 다음과 같은 단계를 시도해볼 수 있습니다. 1. SSH 클라이언트 버전 업데이트: SSH 클라이언트가 오래된 버전일 경우 최신 버전으로 업데이트하십시오. 최신 버전의 SSH 클라이언트는 보다 안정적이며 다양한 키 교환 알고리즘을.. 더보기 우분투에서 apt 저장소를 변경하는 방법 우분투(Ubuntu)에서 apt 저장소(repository)를 변경하는 방법1. apt 저장소 확인현재 사용 중인 저장소 목록을 확인합니다.vim /etc/apt/sources.listsources.list더보기---cat /etc/apt/sources.list# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://archive.ubuntu.com/ubuntu/ jammy main restricted# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted## Major bug fix u.. 더보기 Ubuntu Server 22.04 LTS를 설치하는 방법 Ubuntu Server 22.04 LTS를 설치하는 방법(Jammy Jellyfish) Ubuntu 서버 설치 언어 설정 설치 프로그램 업데이트 사용 가능 키보드 설정 설치 유형 선택 네트워크 설정 프록시 설정 Ubuntu 아카이브 미러 구성 kr.archive.ubuntu.com/mirror.kakao.com 가이드 스토리지 구성 스토리지 구성 스토리지 구성 프로파일 설정 SSH 설정 타사(third-party) 드라이버 주요 서버 스냅 설치 시스템 설치 완료 로그인 로그인(시스템 정보 출력) 운영체제 정보 더보기 [draft] 우분투 기본 설정 우분투 기본 설정테스트 환경$ cat /etc/os-releaseNAME="Ubuntu"VERSION="20.04 LTS (Focal Fossa)"ID=ubuntuID_LIKE=debianPRETTY_NAME="Ubuntu 20.04 LTS"VERSION_ID="20.04"HOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"VERSION_CODENAME=focalUBUNTU_CODENAME=f.. 더보기 [draft] gitlab runner 설치 및 실행하기 gitlab runner 설치 및 실행하기gitlab runner 설치$ mkdir gitlab-runner$ cd gitlab-runnerdocker-compose.yml 편집cat docker-compose.ymlversion: '3.8'services: gitlab-runner: image: gitlab/gitlab-runner:latest restart: unless-stopped container_name: gitlab-runner hostname: gitlab-runner volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock - ./c.. 더보기 [draft] CentOS 7에서 Google OTP를 설치하고 설정하는 방법 CentOS 7에서 Google OTP(Google Authenticator)를 설치하고 설정하는 방법Google Authenticator는 이중 인증(2FA)을 위한 OTP(일회용 비밀번호) 솔루션입니다.1. Google Authenticator 패키지 설치sudo yum install -y google-authenticator2. Google Authenticator 설정Google Authenticator 인증 파일 생성(QR Code 생성)google-authenticator -s ~/.ssh/google_authenticatorDo you want me to update your "/home/ec2-user/.ssh/google_authenticator" file? (y/n) yDo you wa.. 더보기 [draft] 서비스(데몬) 등록 방법 리눅스 서비스(데몬) 등록 방법chkconfig --add [서비스 명]chkconfig --level [서비스 명]chkconfig --del [서비스 명]chkconfig --list [서비스 명]CentOS 6 chkconfig 명령으로 서비스 관리zabbix-agent 서비스 등록chkconfig --add zabbix-agentzabbix-agent 서비스 확인$ chkconfig --list | egrep zabbixzabbix-agent 0:off 1:off 2:off 3:off 4:off 5:off 6:offlevel 3, 5 일 경우 zabbix-agent 서비스 부팅chkconfig --level 35 zabbix-agent onzabbix-agent 서비스 확인$ chkconfi.. 더보기 로컬 IP 및 공개 IP 찾는 방법(myip) 로컬 IP 및 공개 IP 찾는 방법(myip) vim ~/.bashrc myip() { externalip=`curl -SsfL ifconfig.co` localip=`ip route get 1.2.3.4 2>/dev/null | grep -Eo 'src [0-9.]+' | grep -Eo '[0-9.]+'` echo "Local IPADDR : $localip" echo "External IPADDR : $externalip" } source ~/.bashrc $ myip Local IPADDR : 10.100.3.188 External IPADDR : 3.14.11.88 더보기 이전 1 ··· 108 109 110 111 112 113 114 ··· 134 다음