arch gitea setup start
This commit is contained in:
parent
54e4389325
commit
d7c60bf93f
9
distros/arch/scripts/gitea.md
Normal file
9
distros/arch/scripts/gitea.md
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
pacman -S gitea postgresql
|
||||
sudo su postgres -c 'initdb -D /var/lib/postgres/data'
|
||||
sudo systemctl start postgresql
|
||||
sudo su postgres -c 'createuser -P gitea'
|
||||
sudo su postgres -c 'createdb -O gitea gitea'
|
||||
sudo sed -i 's/mysql/postgres/' /etc/gitea/app.ini
|
||||
sudo sed -i 's/root/gitea/' /etc/gitea/app.ini
|
||||
sudo systemctl start gitea
|
Loading…
Reference in New Issue
Block a user