almalinux 8.6安裝、設定及升級Gitea

安裝

To upgrade to the latest Gitea version, simply download and replace the binary.

  1. Stop the Gitea service:sudo systemctl stop gitea

Download the latest Gitea version and move it to the /usr/local/bin directory:

VERSION=<THE_LATEST_GITEA_VERSION>wget -O /tmp/gitea https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64sudo mv /tmp/gitea /usr/local/bin

Make the binary executable:

sudo chmod +x /usr/local/bin/gitea

Restart the Gitea service:

sudo systemctl restart gitea