전체 서버의 GPU 사용량
c.f. 좀 더 상세한 수치들은 http://davinci.snu.vision:3000
에서 확인이 가능하다. 접속 계정은 snuvl / EYFHA}r.Cwog3Gc2
GPU 명령어
sbatch 명령어
+) conda 가상 환경에서 debugging
VS Code 설치
VS Code 왼쪽 bar에 Extensions (Ctrl + Shift + X) > Remote Development install (Remote - WSL, Remote - SSH, Remote - Containers 등이 일괄 설치됨)
왼쪽 아래 ><
(Open a Remote Window) 버튼 클릭
$\large \rightarrow$
Config file 생성된 본인 계정에 맞게 수정
Connect to Host로 server 접속 (platform : Linux)
/gallery_[storage]/[username]
비밀번호 변경
첫 접속을 하고 난 후에는 계정 비밀번호 변경을 해주어야 한다. 쉬운 비밀번호를 사용할 경우 순식간에 계정이 뚫리고 비트코인 채굴 코드가 돌 수 있으니 반드시 복잡한 (최소 10자이상 + 영문/숫자/특수문자 조합 + 단순한 패턴 지양) 패스워드를 사용하도록 하자.
LDAP으로 계정이 관리되고 있기에 비밀번호 변경은 passwd
가 아닌 아래 커맨드를 사용하여야 한다. 처음에 새 비밀번호 두 번 입력 후 기존 비밀번호 한 번 입력하면 된다.
ldappasswd -H ldap://manet.snu.vision -x -D "uid=$USER,ou=People,dc=snu,dc=vision" -W -S "uid=$USER,ou=People,dc=snu,dc=vision"
server에 Anaconda 설치
~~dotfiles 설치~~
curl -fsSL [<https://dotfiles.wook.kr/etc/install>](<https://dotfiles.wook.kr/etc/install>) | bash
chsh -s $(which zsh)
wget [<https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh>](<https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh>) && sh Anaconda*
./anaconda3/bin/conda init zsh && exec zsh
cd .dotfiles && python install.py
→ 오류떠서 https://github.com/holman/dotfiles로 설치
나머지는 mannual 참고
함수 정의 이동 안될 때 market place에서 언어에 맞는 extension pack 설치 서버에 다시 깔아야 함(Python 깔았더니 잘됨)
tmux
server 접속 안될 때 → ctrl+shift+p
> remote-ssh: uninstall vscode server on remote
안되면 putty로 접속 (147.46.215.228
| 23791
| jaekyung.hwang
)
vscode commit id : 6a995c4f4cc2ced6e3237749973982e751cb0bf9
rm /gallery_louvre/jaekyung.hwang/.vscode-server/bin/6a995c4f4cc2ced6e3237749973982e751cb0bf9/vscode-remote-lock.jaekyung.hwang.6a995c4f4cc2ced6e3237749973982e751cb0bf9
wget [<https://update.code.visualstudio.com/commit:6a995c4f4cc2ced6e3237749973982e751cb0bf9/server-linux-x64/stable>](<https://update.code.visualstudio.com/commit:6a995c4f4cc2ced6e3237749973982e751cb0bf9/server-linux-x64/stable>) --no-check-certificate
mv stable /gallery_louvre/jaekyung.hwang/.vscode-server/bin/6a995c4f4cc2ced6e3237749973982e751cb0bf9/vscode.tar.gz
tar xzf /gallery_louvre/jaekyung.hwang/.vscode-server/bin/6a995c4f4cc2ced6e3237749973982e751cb0bf9/vscode.tar.gz --strip-components 1
Download google drive files using wget command