capsula-gemini/source/notes/gitea.gmi

52 lines
925 B
Plaintext

## Gitea
Gitea es una servidor git.
### Descargar
```
```
git --version
git version 2.34.1
sudo apt install postgresql
sudo vim /etc/postgresql/14/main/pg_hba.conf
local all postgres trust
local all all scram-sha-256
sudo systemctl restart postgresql
psql -U postgres
create role gitea with login encrypted password 'LETMEIN';
create database gitea with owner gitea;
adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /opt/gitea git
mkdir -p /opt/forgejo/{custom,data,log}
chown -R git:git /opt/forgejo/
chmod -R 750 /opt/forgejo/
mkdir /etc/forgejo
chown root:git /etc/forgejo
chmod 770 /etc/forgejo
chmod +x forgejo
sudo cp forgejo /usr/local/bin/forgejo
sudo systemctl enable forgejo --now
=> gemini://elmau.net/chuletas.gmi Regresar el índice
=> gemini://elmau.net Regresar el inicio