added pma update

This commit is contained in:
2023-01-02 13:22:31 -08:00
parent 151880e03c
commit 81c1ce08a9
4 changed files with 64 additions and 2 deletions

View File

@ -19,7 +19,6 @@ 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
@ -33,6 +32,7 @@ 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 )