본문 바로가기

반응형

hacking or software engineering skills

(64)
postgre sql 설치 및 버튼 (콘솔 나가기) E: Unable to locate package python-pip 이런 에러가 나면서 설치가 안된다.. python-pip is in the universe repositories, therefore use the steps below: sudo apt-get install software-properties-common sudo apt-add-repository universe sudo apt-get update sudo apt-get install python-pip exit, exit(), 컨트롤 + c 다 안 먹힘. \q이다!! post gre sql 나가기 : \q 입력 docs.cloudera.com/documentation/enterprise/latest/topics/cm_ig_extrn..
gcp, ssh로 jupyter lab 안전하게 접속 study-grow.tistory.com/entry/gcp-gcp-jupyter-lab-%EC%97%B0%EA%B2%B0-%EB%B0%A9%EB%B2%95 [gcp] gcp jupyter lab 연결 방법 1. gcp 외부 ip를 고정 ip로 바꿔준다. 인스턴스 생성 후 네트워크 세부 정보 보기로 간다 유형을 고정으로 바꿔준다. 2. 방화벽 규칙을 추가한다. 잘 만들었으면 아래와 같이 뜬다. 다음 Jupyter lab을 study-grow.tistory.com 위 방법으로 jupyter lab을 사용하고 있는데, gcp 측에서 아래와 같이 자꾸 학습을 방해했다. 이러기를 수차례. 나중엔 메시지를 적어주더라 외부 ip만 알기만 하면 접속을 누구나가 할 수 있으니, 위험하다고 빨리 꺼라고 한다. 그래서 ss..
[mac] local에서 gcp, aws instance에 파일 업로드/다운로드 mac이나 ubuntu에서! instance 접속 전, local terminal에서 입력합니다. local server remote server (cloud instance) 업로드 scp -i @: 주의할 점 퍼블릭 주소말고 프라이빗 주소를 줘야한다.
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 등이 먹는다.
[mac os] tmux와 헷갈리는 mac 터미널 명령어 정리 유용한 명령어 터미널 서체 크기 늘리기 cmd + '+' cmd + 'd' -> 창 하나 더 복제 cmd + shift +'d' -> 복제한 창 닫기 (tmux에서 crtl + b + d로 빠져나오는 게 안 먹힐 경우) cmd + tap -> 새로운 탭

728x90
반응형