Changeset 38579 for gs3-extensions
- Timestamp:
- 2024-01-19T16:25:28+13:00 (5 months ago)
- Location:
- gs3-extensions/selfcontained-gcloud/trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/selfcontained-gcloud/trunk/README.txt
r38577 r38579 2 2 Tarball downloaded via: 3 3 4 curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-460.0.0-linux-x86_64.tar.gz 4 curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-460.0.0-linux-x86_64.tar.gz 5 6 Add google-cloud-sdk/bin to your PATH 7 8 Then need to login/authenicate with the Google cloud account you want to use: 9 10 gcloud init 11 12 If working on headless server (i.e., the web browser you access is not on the same machine as the one where you are running gcloud then ... 13 14 gcloud auth login --no-launch-browser 15 16 With some redaction to the given example, your interaction will go something like: 17 18 19 # Go to the following link in your browser: 20 # 21 # https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????&code_challenge_method=S256 22 # 23 # Enter authorization code: 24 25 And then having retrieved the code: 26 27 Enter authorization code: A6??????????????????????????????????????????????????????????????????????g 28 29 # You are now logged in as [[email protected]]. 30 # Your current project is [None]. You can change this setting by running: 31 # $ gcloud config set project PROJECT_ID 32
Note:
See TracChangeset
for help on using the changeset viewer.