capsula-gemini/source/notes/gitea.gmi

52 lines
925 B
Plaintext
Raw Permalink Normal View History

2021-09-08 22:05:06 -05:00
## Gitea
Gitea es una servidor git.
### Descargar
2023-01-03 22:25:40 -06:00
2021-09-08 22:05:06 -05:00
```
```
2023-01-03 22:25:40 -06:00
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
2021-09-08 22:05:06 -05:00
=> gemini://elmau.net/chuletas.gmi Regresar el índice
=> gemini://elmau.net Regresar el inicio