Skip to content

Instantly share code, notes, and snippets.

@cjellick
Last active August 7, 2022 16:31
Show Gist options
  • Save cjellick/28ee41b94ceec360eb936ad0a165e734 to your computer and use it in GitHub Desktop.
Save cjellick/28ee41b94ceec360eb936ad0a165e734 to your computer and use it in GitHub Desktop.
DO-ubuntu-acorn-dev-up-and-running
node-ip: public 4, public 6
cluster-cidr: 10.42.0.0/16,2001:cafe:42:0::/56
service-cidr: 10.43.0.0/16,2001:cafe:42:1::/112
# Install make
sudo apt install build-essential
# Install go
wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz
# Install docker
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt install docker-ce
sudo systemctl status docker
# Get k3s
curl -sfL https://get.k3s.io | sh -
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
# Clone acorn
git clone https://github.com/acorn-io/acorn.git
git remote add cjellick https://github.com/cjellick/acorn.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment