ajout
This commit is contained in:
parent
ddfb8398e4
commit
28ed3b8945
|
@ -4,6 +4,12 @@ toc: no
|
||||||
title: How to install peertube
|
title: How to install peertube
|
||||||
...
|
...
|
||||||
|
|
||||||
|
Package install
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ sudo apt install install nginx ffmpeg wget redis postgresql
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
PeerTube user
|
PeerTube user
|
||||||
|
|
||||||
|
@ -261,6 +267,13 @@ $ cd /var/www/peertube && \
|
||||||
sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Start dependencies
|
||||||
|
|
||||||
|
~~~
|
||||||
|
sudo systemctl enable --now redis
|
||||||
|
sudo systemctl enable --now postgresql
|
||||||
|
~~~
|
||||||
|
|
||||||
|
|
||||||
nginx
|
nginx
|
||||||
|
|
||||||
|
@ -300,6 +313,13 @@ Restart PeerTube and check the logs:
|
||||||
$ sudo systemctl restart peertube && sudo journalctl -fu peertube
|
$ sudo systemctl restart peertube && sudo journalctl -fu peertube
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
To reset a user password from CLI, run:
|
||||||
|
~~~
|
||||||
|
$ cd /var/www/peertube/peertube-latest
|
||||||
|
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u target_username
|
||||||
|
~~~
|
||||||
|
|
||||||
Things went wrong?
|
Things went wrong?
|
||||||
|
|
||||||
Change peertube-latest destination to the previous version and restore your SQL backup:
|
Change peertube-latest destination to the previous version and restore your SQL backup:
|
||||||
|
|
Loading…
Reference in a new issue