|
@@ -3,13 +3,15 @@ apt update |
|
|
# install ops tools |
|
|
# install ops tools |
|
|
apt install sudo nmon tmux tcpdump nano -y |
|
|
apt install sudo nmon tmux tcpdump nano -y |
|
|
|
|
|
|
|
|
# install Docker |
|
|
|
|
|
|
|
|
# install Docker + docker-compose |
|
|
apt install ca-certificates curl gnupg lsb-release -y |
|
|
apt install ca-certificates curl gnupg lsb-release -y |
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null |
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null |
|
|
apt update |
|
|
apt update |
|
|
apt install docker-ce docker-ce-cli containerd.io -y |
|
|
apt install docker-ce docker-ce-cli containerd.io -y |
|
|
service docker start |
|
|
|
|
|
|
|
|
systemctl start docker |
|
|
|
|
|
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
|
|
|
|
|
chmod +x /usr/local/bin/docker-compose |
|
|
|
|
|
|
|
|
# set TF users |
|
|
# set TF users |
|
|
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh |
|
|
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh |
|
|