-
setup a. create ssh key b. create instance c. login using username ubuntu
-
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
- Start an instance and open ssh cmd line in your browser.
- git clone https://github.com/khumbuai/google_vm.git
- cd google_vm
- sudo bash install_miniconda.sh
- sudo bash install_cuda.sh
- sudo bash install_cudnn.sh
- sudo bash install_tf_gpu.sh
- sudo bash install_vnc.sh
- vncserver
- Create password
- cp xstartup ~/.vnc/
- vncserver -kill :1
- vncserver -geometry 1920x1600
- gcloud compute firewall-rules create vnc1 --allow=tcp:5901
- Go to google compute engine and look up the ip address (e.g. 35.197.114.26)
- open xx.xxx.xxx.xx:5901 in VNC Viewer
https://cloud.google.com/storage/docs/quickstart-gsutil
gsutil cp 3_hypercol.zip gs://tgs-salt