Last active
September 22, 2015 02:19
-
-
Save timfallmk/0a90cae49a8c47d799fa to your computer and use it in GitHub Desktop.
Google Cloud Engine Startup Scripts
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/bash | |
sudo su # this may not be necessary, as it usually runs as root | |
yum install -y wget vim curl | |
yum update -y | |
curl -sSL https://get.docker.com/ | sh | |
systemctl start docker | |
# Possibly remove if the `nogroup` is present | |
groupadd nogroup | |
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config | |
wget http://downloads.mesosphere.io/dcos/onprem/CM.2/setup_dcos.sh -o=/tmp/setup_dcos.sh | |
chmod +x /tmp/setup_dcos.sh |
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/bash | |
sudo su # this may not be necessary, as it usually runs as root | |
apt-get update && apt-get install -y wget vim curl | |
curl -sSL https://get.docker.com/ | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment