gcloud - k821209/pipelines GitHub Wiki
GPU
https://cloud.google.com/compute/docs/gpus/add-gpus#host-maintenance
putty connection
- putty keygen ์ผ๋ก pub key, private key ๋ง๋ ๋ค.
- pub key๋ ๊ตฌ๊ธ ํด๋ผ์ฐ๋์ meta data์ ssh ๋์ ์ ๋ก๋. ์ฌ์ฉ์๋ putty๋ก๊ทธ์ธ ์์ด๋๋ก ํด์ผํจ. pub key ์ ๋ง์ง๋ง๋ถ๋ถ์ด ์์ด๋๋ถ๋ถ
- putty์ private key๋ฅผ ์ฅ์ฐฉํ๊ณ ๋ก๊ทธ์ธ.
# https://cloud.google.com/sdk/downloads
gcloud auth login --no-launch-browser # ์ํค๋๋๋ก ํ๋ฉด ํด๋น VM์ ๋ก๊ธด๋ ์ํ๊ฐ ๋์ด ๋์ ๋ฒํท์ ์ฌ์ฉํ ์ ์์ ๊ฒ์ด๋ค. ์
๋ก๋๊ฐ๋ฅ.
gcloud config set project droughtnet-1470*** # ํ๋ก์ ํธ๋ฅผ ๋ฑ๋กํด์ค์ผํจ.
# download speed up (crcmod install)
apt-get install gcc python-dev python-setuptools
apt-get install python-pip
pip install -U crcmod
gsutil cp -r ./References/Creinhardtii/ gs://references/ # ์ด๋ฐ์์ผ๋ก VM์ ํ์ผ์ ๋ฒํท์ผ๋ก ์ฌ๋ฆด ์ ์๋ค.