Skip to content

khumbuai/google_vm

Repository files navigation

genesis vm

  1. setup a. create ssh key b. create instance c. login using username ubuntu

  2. install miniconda wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh enter - yes - no

#add in .bashrc export PATH="/home/ubuntu/miniconda3/bin:$PATH" do source .bashrc check python: which python pyhton --version

google_vm

Using google cloud platform

  1. Start an instance and open ssh cmd line in your browser.
  2. git clone https://github.com/khumbuai/google_vm.git
  3. cd google_vm
  4. sudo bash install_miniconda.sh
  5. sudo bash install_cuda.sh
  6. sudo bash install_cudnn.sh
  7. sudo bash install_tf_gpu.sh
  8. sudo bash install_vnc.sh
  9. vncserver
  10. Create password
  11. cp xstartup ~/.vnc/
  12. vncserver -kill :1
  13. vncserver -geometry 1920x1600
  14. gcloud compute firewall-rules create vnc1 --allow=tcp:5901
  15. Go to google compute engine and look up the ip address (e.g. 35.197.114.26)
  16. open xx.xxx.xxx.xx:5901 in VNC Viewer

tips and tricks

Using GCP Buckets

https://blog.kovalevskyi.com/deep-learning-images-for-google-cloud-engine-the-definitive-guide-bc74f5fb02bc

https://cloud.google.com/storage/docs/quickstart-gsutil

gsutil cp 3_hypercol.zip gs://tgs-salt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages