목록DevOps (183)
devops
sudo snap find : 설치할 스냅 패키지 찾아보기 sudo snap install : 스냅 패키지 설치 sudo snap list: 설치한 스냅 패키지 보기 sudo snap changes: 시스템 변경 목록 보기 sudo snap refresh : 최신 스냅패키지로 업그레이드 sudo snap remove : 스냅 패키지 제거
RUSTUP 설치는 apt-get과 같은 패키지 설침다 아래와 같이 러스트업에서 말하는 방식을 사용해야한다. $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh 추가로 환경변수 지정이 필요 $ export PATH="$HOME/.cargo/bin:$PATH"
아주 간단한 방법 설명, ssh 접속 후 아래 과정을 진행하면 됨, 기본적을 ssh가 설치되어있어야함 sudo apt install libpam-google-authenticator google-authenticator sudo nano /etc/ssh/sshd_config ChallengeResponseAuthentication no ChallengeResponseAuthentication yes 'Ctrl + x y Enter' sudo nano /etc/pam.d/sshd 아래 줄 추가 #One-time authentication via Google Authenticator auth required pam_google_authenticator.so sudo systemctl restart ssh