Skip to content

Instantly share code, notes, and snippets.

@rnwilson
Last active May 13, 2021 18:50
Show Gist options
  • Save rnwilson/3862909c771d12978d28dac907a12941 to your computer and use it in GitHub Desktop.
Save rnwilson/3862909c771d12978d28dac907a12941 to your computer and use it in GitHub Desktop.
hull
apt-get -y update
apt-get -y upgrade
curl -fsSL get.docker.com -o /tmp/get-docker.sh && sh /tmp/get-docker.sh
wget https://dl.bintray.com/docker-compose/master/docker-compose-Linux-x86_64 -O /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
# Node.js
wget https://nodejs.org/dist/latest-v10.x/node-v10.6.0-linux-x64.tar.xz -O /tmp/node.tar.xz && tar -C /usr/local -xf /tmp/node.tar.xz --strip-components=1
# Go
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz -O /tmp/go.tar.gz && tar -C /usr/local -xzf /tmp/go.tar.gz
echo PATH=$PATH:/usr/local/go/bin >> /etc/profile.d/env_load.sh
wget -P /etc/skel/ https://rawgit.com/rnwilson/7c6f908da99d7000ccf640eea233bb23/raw/ea797e6149ff3dcb9d9d8d2fd173736173b6fc4a/.bash_aliases
wget -P /etc/skel/ https://rawgit.com/rnwilson/bab242f89dac79bac7cb0747d3cf2960/raw/b3450c6885407b1260b675ca0bde0afe99a598be/.docker_aliases
mv /etc/hosts /etc/hosts.bak && touch /etc/hosts
echo 127.0.0.1 localhost.localdomain localhost >> /etc/hosts
sed -i '1d' /etc/hostname
hostname digital
echo 'digital' >> /etc/hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment