hurl/bin/install_prerequisites_docker_fedora.sh

12 lines
372 B
Bash
Raw Normal View History

2022-12-14 11:28:25 +03:00
#!/bin/bash
set -Eeuo pipefail
2023-04-05 12:07:50 +03:00
echo "----- install prerequisite packages -----"
yum install -y sudo python38 procps gcc libxml2-devel openssl-devel libcurl-devel nc squid
2022-12-15 17:25:21 +03:00
curl https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
USER="$(whoami)"
export USER
python3 /tmp/get-pip.py
2023-04-05 12:07:50 +03:00
sudo squid -k shutdown || true
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true