revert added pma update
This commit is contained in:
2023-01-11 17:39:22 -08:00
parent 8b65c9ae1a
commit 10d3885d28
4 changed files with 2 additions and 64 deletions

View File

@ -19,6 +19,7 @@ done
GITEA_VER="1.18.0"
sudo systemctl stop gitea
sudo apt-get install git -y
sudo ufw allow 3000
sudo wget -O /usr/local/bin/gitea https://dl.gitea.io/gitea/$GITEA_VER/gitea-"$GITEA_VER"-linux-amd64
sudo chmod +x /usr/local/bin/gitea
sudo adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git
@ -32,7 +33,6 @@ sudo wget -O /etc/systemd/system/gitea.service https://git.oldgate.org/Sophia/th
sudo systemctl daemon-reload
sudo systemctl enable --now gitea
sudo systemctl start gitea
sudo ufw allow 3000
echo -e "=================================================================="
publicipaddress=$(curl -sS --connect-timeout 10 -m 60 https://ipv4.icanhazip.com/ || curl -sS --connect-timeout 10 -m 60 https://api.ipify.org )