Spaces:
Build error
Build error
Update on_startup.sh
Browse files- on_startup.sh +7 -8
on_startup.sh
CHANGED
@@ -2,29 +2,28 @@
|
|
2 |
|
3 |
touch ~/tailscale.log && touch ~/clusters.log && touch ~/backup.log
|
4 |
|
5 |
-
sudo apt-get install
|
6 |
libacl1-dev libacl1 \
|
7 |
libssl-dev \
|
8 |
liblz4-dev libzstd-dev libxxhash-dev \
|
9 |
build-essential \
|
10 |
pkg-config python3-pkgconfig && \
|
11 |
-
sudo apt-get install
|
12 |
-
sudo apt-get install
|
13 |
-
sudo apt install
|
14 |
|
15 |
sudo useradd -m borg && \
|
16 |
mkdir /home/borg/.ssh && \
|
17 |
-
touch /home/borg/.ssh/authorized_keys && \
|
18 |
-
sudo chown brog:borg /home/borg/.ssh/authorized_keys &>> ~/backup.log
|
19 |
|
20 |
sudo apt-get update
|
21 |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
|
22 |
-
sudo install
|
23 |
rm minikube-linux-amd64 && \
|
24 |
minikube start &>> ~/clusters.log
|
25 |
|
26 |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null && \
|
27 |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list && \
|
28 |
-
sudo apt-get install
|
29 |
sudo systemctl start tailscaled && \
|
30 |
sudo tailscale up -ssh &>> ~/tailscale.log
|
|
|
2 |
|
3 |
touch ~/tailscale.log && touch ~/clusters.log && touch ~/backup.log
|
4 |
|
5 |
+
sudo apt-get install python3 python3-dev python3-pip python3-virtualenv \
|
6 |
libacl1-dev libacl1 \
|
7 |
libssl-dev \
|
8 |
liblz4-dev libzstd-dev libxxhash-dev \
|
9 |
build-essential \
|
10 |
pkg-config python3-pkgconfig && \
|
11 |
+
sudo apt-get install libfuse-dev fuse && \
|
12 |
+
sudo apt-get install libfuse3-dev fuse3 && \
|
13 |
+
sudo apt install borgbackup &> ~/backup.log
|
14 |
|
15 |
sudo useradd -m borg && \
|
16 |
mkdir /home/borg/.ssh && \
|
17 |
+
touch /home/borg/.ssh/authorized_keys && \
|
|
|
18 |
|
19 |
sudo apt-get update
|
20 |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
|
21 |
+
sudo install minikube-linux-amd64 /usr/local/bin/minikube && \
|
22 |
rm minikube-linux-amd64 && \
|
23 |
minikube start &>> ~/clusters.log
|
24 |
|
25 |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null && \
|
26 |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/jammy.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list && \
|
27 |
+
sudo apt-get install tailscale && \
|
28 |
sudo systemctl start tailscaled && \
|
29 |
sudo tailscale up -ssh &>> ~/tailscale.log
|