Last active
February 20, 2020 01:48
-
-
Save jacopen/c7a510fe15fbb90c8bb4f16169ddcaf0 to your computer and use it in GitHub Desktop.
Setup om/pivnet/bosh cli
This file contains 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/bash | |
set -xe | |
cd /tmp | |
wget https://github.com/cloudfoundry/bosh-cli/releases/download/v6.2.1/bosh-cli-6.2.1-linux-amd64 | |
sudo mv bosh-cli-* /usr/local/bin/bosh | |
wget https://github.com/pivotal-cf/om/releases/download/4.5.0/om-linux-4.5.0 | |
sudo mv om-linux-* /usr/local/bin/om | |
wget https://github.com/pivotal-cf/pivnet-cli/releases/download/v1.0.0/pivnet-linux-amd64-1.0.0 | |
sudo mv pivnet-linux* /usr/local/bin/pivnet | |
wget https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/2.6.2/credhub-linux-2.6.2.tgz | |
sudo tar xvf credhub-linux-2.6.2.tgz | |
sudo mv credhub /usr/local/bin/credhub | |
sudo chmod +x /usr/local/bin/bosh | |
sudo chmod +x /usr/local/bin/om | |
sudo chmod +x /usr/local/bin/pivnet | |
sudo chmod +x /usr/local/bin/credhub | |
sudo apt update | |
sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline7 libreadline-dev libyaml-dev libsqlite3-dev sqlite3 jq | |
sudo gem install cf-uaac |
This file contains 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/bash | |
set -xe | |
cd /tmp | |
wget https://github.com/cloudfoundry/bosh-cli/releases/download/v6.2.1/bosh-cli-6.2.1-linux-amd64 | |
sudo mv bosh-cli-* /usr/local/bin/bosh | |
wget https://github.com/pivotal-cf/om/releases/download/4.5.0/om-linux-4.5.0 | |
sudo mv om-linux-* /usr/local/bin/om | |
wget https://github.com/pivotal-cf/pivnet-cli/releases/download/v1.0.0/pivnet-linux-amd64-1.0.0 | |
sudo mv pivnet-linux* /usr/local/bin/pivnet | |
wget https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/2.6.2/credhub-linux-2.6.2.tgz | |
sudo tar xvf credhub-linux-2.6.2.tgz | |
sudo mv credhub /usr/local/bin/credhub | |
sudo chmod +x /usr/local/bin/bosh | |
sudo chmod +x /usr/local/bin/om | |
sudo chmod +x /usr/local/bin/pivnet | |
sudo chmod +x /usr/local/bin/credhub |
This file contains 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/bash | |
set -xe | |
cd /tmp | |
wget https://github.com/cloudfoundry/bosh-cli/releases/download/v6.2.1/bosh-cli-6.2.1-linux-amd64 | |
sudo mv bosh-cli-* /usr/local/bin/bosh | |
wget https://github.com/pivotal-cf/om/releases/download/4.5.0/om-linux-4.5.0 | |
sudo mv om-linux-* /usr/local/bin/om | |
wget https://github.com/pivotal-cf/pivnet-cli/releases/download/v1.0.0/pivnet-linux-amd64-1.0.0 | |
sudo mv pivnet-linux* /usr/local/bin/pivnet | |
wget https://github.com/cloudfoundry-incubator/credhub-cli/releases/download/2.6.2/credhub-linux-2.6.2.tgz | |
sudo tar xvf credhub-linux-2.6.2.tgz | |
sudo mv credhub /usr/local/bin/credhub | |
sudo chmod +x /usr/local/bin/bosh | |
sudo chmod +x /usr/local/bin/om | |
sudo chmod +x /usr/local/bin/pivnet | |
sudo chmod +x /usr/local/bin/credhub | |
sudo apt update | |
sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt-dev libxml2-dev libssl-dev libreadline6 libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 jq | |
sudo gem install cf-uaac |
This file contains 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/bash | |
set -xe | |
cd /tmp | |
wget https://releases.hashicorp.com/terraform/0.11.14/terraform_0.11.14_linux_amd64.zip | |
unzip terraform_0.11.14_linux_amd64.zip | |
sudo install terraform /usr/local/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment