Spaces:
Build error
Build error
File size: 1,244 Bytes
1c3b29b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
#!/bin/bash
touch ~/tailscale.log && touch ~/clusters.log && touch ~/backup.log
sudo apt-get install -y python3 python3-dev python3-pip python3-virtualenv \
libacl1-dev libacl1 \
libssl-dev \
liblz4-dev libzstd-dev libxxhash-dev \
build-essential \
pkg-config python3-pkgconfig && \
sudo apt-get install -y libfuse-dev fuse && \ # needed for llfuse
sudo apt-get install -y libfuse3-dev fuse3 && \ # needed for pyfuse3
sudo apt install -y borgbackup &> ~/backup.log
sudo useradd -m borg && \
sudo -i -u borg && \
mkdir .ssh && \
touch .ssh/authorized_keys &>> ~/backup.log
sudo apt-get update
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
sudo install -y minikube-linux-amd64 /usr/local/bin/minikube && \
rm minikube-linux-amd64 && \
minikube start &>> ~/clusters.log
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
sudo apt-get install -y tailscale &> ~/tailscale.log
sudo systemctl start tailscaled &>> ~/tailscale.log
sudo tailscale up -ssh &>> ~/tailscale.log
|