Reputation: 13645
Well, that's should be easy, according to the document on: https://developers.google.com/compute/docs/gcutil/
BUT it's not that simple...
Upvotes: 2
Views: 933
Reputation: 618
@Aviram Netanel
What if you have:
(gcloud.components.update) Unable to fetch https://dl.google.com/dl/cloudsdk/release/components-2.json
after ./install.sh command?
Upvotes: 1
Reputation: 13645
install Cygwin (32 bit!) + the relevant libraries (packages): SSH, curl, python, g++, make, vim, etc'... as explained in this video tutorial (on minute 5)
install Python ( set ENV variable: CLOUDSDK_PYTHON to ...)
start cygwin and check if Python works: type python - you should see the version and the command line should change from $ to >>> (exit by ctrl+Z)
run curl command:
$ curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash
a.Download google-cloud-sdk.zip
b.Unzip the file by right-clicking on it and selecting Extract all.
c.copy the extracted library to: C:\cygwin\home\
d.on the cygwin console type:
cd google-cloud-sdk
and then run the install.sh:
./install.sh
after done that, you can finally write the gcutil command given from google (on the VM instances table, under the "SSH" button)
Upvotes: 1