Permalink
Browse files

Download binaries instead of keeping them in repo.

  • Loading branch information...
dzimine committed Dec 12, 2018
1 parent d91cb05 commit f0debb2e45cf9574787d5a150819d3917e50792b
Showing with 6 additions and 2 deletions.
  1. BIN downloads/greengrass-ubuntu-x86-64-1.6.0.tar.gz
  2. +6 −2 scripts/install.sh
Binary file not shown.
@@ -6,15 +6,19 @@ sudo groupadd --system ggc_group
sudo apt-get update
sudo apt-get install -y sqlite3 python2.7 binutils curl

wget -O /vagrant/downloads/root.ca.pem http://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem
# Download Greengrass binaries
wget -P /vagrant/downloads https://d1onfpft10uf5o.cloudfront.net/greengrass-core/downloads/1.7.0/greengrass-linux-x86-64-1.7.0.tar.gz

# Copy greengrass binaries
sudo tar -xzf /vagrant/downloads/greengrass-linux-x86-64-1.7.0.tar.gz -C /

# Download root certificate
wget -O /vagrant/certs/root.ca.pem http://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem

# Copy certificates and configurations
sudo cp /vagrant/certs/* /greengrass/certs
sudo cp /vagrant/config/* /greengrass/config
sudo cp /vagrant/downloads/root.ca.pem /greengrass/certs
sudo cp /vagrant/certs/root.ca.pem /greengrass/certs

# Back up group.json - you'll thank me later
sudo cp /greengrass/ggc/deployment/group/group.json /greengrass/ggc/deployment/group/group.json.orig

0 comments on commit f0debb2

Please sign in to comment.