1.2 KiB
1.2 KiB
title, name, summary, description
| title | name | summary | description |
|---|---|---|---|
| Gitea Installation Guide | gitea-installation | Install Gitea on a VPS to set up a self-hosted Git service. | A step-by-step guide to installing Gitea on a VPS for a self-hosted Git service. |
Objective
Install Gitea on a VPS to set up a self-hosted Git service.
Steps
-
Install Dependencies:
sudo apt update sudo apt install -y git curl -
Download and Install Gitea:
curl -fsSL https://raw.githubusercontent.com/go-gitea/gitea/master/contrib/docker/install.sh | sudo GITEA_VERSION=latest bash -
Start and Enable Gitea Service:
sudo systemctl enable gitea sudo systemctl start gitea -
Check Gitea Service Status:
sudo systemctl status gitea -
Access Gitea: Once Gitea is running, you can access it via your browser at
http://77.93.152.242:3001.
Notes
- Ensure that port
3001is open on the VPS. - If there are any errors during installation, check the logs for more details.
Troubleshooting
- If the installation script fails, try downloading the Gitea binary manually from the official website.