mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
parent
cda322e311
commit
aeed7deb2d
1 changed files with 2 additions and 4 deletions
|
@ -105,8 +105,7 @@ $ exit
|
||||||
#### Set up PostgresSQL
|
#### Set up PostgresSQL
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo systemctl enable postgresql
|
$ sudo systemctl enable --now postgresql
|
||||||
$ sudo systemctl start postgresql
|
|
||||||
$ sudo -i -u postgres
|
$ sudo -i -u postgres
|
||||||
$ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
|
$ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
|
||||||
$ createdb -O kemal invidious
|
$ createdb -O kemal invidious
|
||||||
|
@ -138,8 +137,7 @@ $ exit
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo cp /home/invidious/invidious/invidious.service /etc/systemd/system/invidious.service
|
$ sudo cp /home/invidious/invidious/invidious.service /etc/systemd/system/invidious.service
|
||||||
$ sudo systemctl enable invidious.service
|
$ sudo systemctl enable --now invidious.service
|
||||||
$ sudo systemctl start invidious.service
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Logrotate:
|
#### Logrotate:
|
||||||
|
|
Loading…
Reference in a new issue