본문 바로가기

반응형

hacking or software engineering skills/linux

(16)
[linux] nvidia-docker 설치 1. docker를 설치한 후 2. nvidia docker를 설치한다. docker 설치는 간단하다. curl https://get.docker.com | sh \ && sudo systemctl --now enable docker distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \ && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-..
[ubuntu 20.04] nvidia-smi 안되는 문제. 뜻밖의 해결 방법 에러 증상 nvidia-smi 치면 failed to initialize nvml: driver/library version mismatch nvcc -V 는 정상 작동 이외에도 pytorch 실행시 extension error 발생 File "/home/gerald/miniconda3/envs/maskrcnn_benchmark/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension pytorch gcc compile runtime error compute 7..
linux, terminal에서 구글 드라이브 대용량 파일 다운 받기 medium.com/@acpanjan/download-google-drive-files-using-wget-3c2c025a8b99 Download Google Drive Files using wget Files can be downloaded from google drive using wget. Before that you need to know that files are small and large sized in google drive. medium.com 완전 꿀팁 공유를 누르고 링크를 복사하고 id를 확인해야한다!!
[linux] ls로 파일 용량 보기 ls로 파일 용량 보기 ls -alSh 이렇게 용량이 나온다. faq.hostway.co.kr/Linux_ETC/3799 Linux ETC - ls 명령어의 파일 사이즈 쉽게 확인하기 ls 명령어의 파일 사이즈 쉽게 확인하기ls 의 스위치 옵션 -h (--human-readable) 를 이용하면 KB/MB/GB 단위로 쉽게 파일 사이즈 확인이 가능하다.[HOSTWAY] /home > # ls -alhtotal 312Gdrwxr-xr-x. 6 root root 4.0K Oct 22 23 faq.hostway.co.kr
google drive big file download 가장 쉬운 방법 stackoverflow.com/questions/25010369/wget-curl-large-file-from-google-drive wget/curl large file from google drive I'm trying to download a file from google drive in a script, and I'm having a little trouble doing so. The files I'm trying to download are here. I've looked online extensively and I finally manag... stackoverflow.com FILEID에 아래 부분을 복사하기 pip install gdown gdown --id 라는 메시지가 나오면 goog..
[linux] gdrive id가 없을때, 폴더째로 받아야할때 위와 같이 id가 아니라 folders 다음에 뭔가가 놓여있을 경우 어떡하지??? linux에서 gdrive를 다운 받아야한다. 이 gdrive는 go라는 언어로 동작하는데, go라는 언어도 다운 받아야 할 수도 있다. 우선 gdrive-linux-x64를 다운받아주자. wget https://raw.githubusercontent.com/AnimMouse/gdrive-binaries/master/linux/gdrive-linux-x64 mv gdrive-linux-x64 gdrive chmod +x gdrive ./gdrive about gdrive란 명령어가 안통하면 go 언어를 설치해야 한다. http://golang.org/dl 다운로드 사이트에서 Linux용 압축파일(go*.tar.gz) 파일의..
[etc] 터미널에서 구글 드라이브 파일 다운로드하기 (용량 큰 거) FILEID에 아래 부분을 복사하기 FILENAME에 저장할 데이터 이름을 넣는다. curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=FILEID" > /dev/null curl -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=FILEID" -o FILENAME ex) curl -c ./cookie -s -L "https://drive.google.com/uc?export=download&id=1IRnr2KHv0Cu_F1pFN6ec7N7OdF9_WR5F" > /dev/null curl..
[gcp] su passwd, 관리자 비밀 번호? sudo passwd 입력 비밀번호를 설정해준다. 로그인 완료! nvidia-smi 등이 먹는다.

728x90
반응형