forgot to make ufw open port 3000
This commit is contained in:
parent
8cef1a5e42
commit
b5e31430e8
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo systemctl stop gitea
|
||||
sudo ufw allow 3000
|
||||
sudo wget -O /usr/local/bin/gitea https://dl.gitea.io/gitea/1.17.3/gitea-1.17.3-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
|
||||
|
@ -10,7 +11,7 @@ sudo chmod -Rv 750 /var/lib/gitea
|
|||
sudo mkdir -v /etc/gitea
|
||||
sudo chown -Rv root:git /etc/gitea
|
||||
sudo chmod -Rv 770 /etc/gitea
|
||||
wget -O /etc/systemd/system/gitea.service https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/systemd/gitea.service
|
||||
sudo wget -O /etc/systemd/system/gitea.service https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/systemd/gitea.service
|
||||
sudo systemctl enable --now gitea
|
||||
sudo systemctl start gitea
|
||||
sleep 3s
|
||||
|
|
Reference in New Issue
Block a user