Last active
June 18, 2017 18:48
-
-
Save andrewfinnell/e600fc4348e1cb3d948b10308199e858 to your computer and use it in GitHub Desktop.
GCloud :: RedHat / CentOS :: Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# Update YUM with Cloud SDK repo information: | |
sudo tee -a /etc/yum.repos.d/google-cloud-sdk.repo << EOM | |
[google-cloud-sdk] | |
name=Google Cloud SDK | |
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64 | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg | |
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg | |
EOM | |
# The indentation for the 2nd line of <code>gpgkey</code> is important. | |
# Install the Cloud SDK | |
yum install google-cloud-sdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment