2022-12-14 11:28:25 +03:00
|
|
|
#!/bin/bash
|
2022-12-14 11:28:25 +03:00
|
|
|
set -Eeuo pipefail
|
2022-10-05 17:20:25 +03:00
|
|
|
|
2023-04-05 12:07:50 +03:00
|
|
|
echo "----- install prerequisite packages -----"
|
|
|
|
apt-get update
|
2023-09-08 12:39:39 +03:00
|
|
|
apt-get -y install \
|
|
|
|
bash \
|
|
|
|
sudo \
|
|
|
|
curl \
|
|
|
|
g++-aarch64-linux-gnu \
|
|
|
|
libc6-dev-arm64-cross \
|
|
|
|
libxml2-dev \
|
|
|
|
pkg-config \
|
|
|
|
libcurl4-openssl-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
libxml2-dev \
|
|
|
|
libssl-dev \
|
|
|
|
python3 \
|
|
|
|
python3-pip \
|
|
|
|
python3-venv \
|
|
|
|
netcat-openbsd \
|
|
|
|
squid
|
2023-04-05 12:07:50 +03:00
|
|
|
sudo service squid stop
|
|
|
|
sudo squid -k shutdown || true
|
|
|
|
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true
|
2022-12-14 11:28:25 +03:00
|
|
|
|