安裝
升級
1.停止gitea
#sudo systemctl stop gitea
2.下載到 /tmp
#wget -O /tmp/gitea https://dl.gitea.com/gitea/1.20.2/gitea-1.20.2-linux-amd64
3.將下載檔案遷移到所在資料匣
#sudo mv /tmp/gitea /usr/local/bin
4.變更gitea執行權限
#sudo chmod +x /usr/local/bin/gitea
5.啟動gitea
#sudo systemctl restart gitea