X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fproduction.md;h=8f3a17f124f8175d27dd7c33d7296a7b1d39e706;hb=fd5586b33748ecdef1d46af2a7d540ba8c8e55df;hp=4eb3111f034194ae88879bd10ca17c5674201e9e;hpb=c11fc2d9de28b7de30fa970b2c481f598b65098f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/production.md b/support/doc/production.md index 4eb3111f0..8f3a17f12 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -6,7 +6,7 @@ ## Installation Please don't install PeerTube for production on a device behind a low bandwidth connection (example: your ADSL link). -If you want information about the appropriate hardware to run PeerTube, please see the [FAQ](https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube). +If you want information about the appropriate hardware to run PeerTube, please see the [FAQ](https://joinpeertube.org/en_US/faq#should-i-have-a-big-server-to-run-peertube). ### Dependencies @@ -41,14 +41,13 @@ Create the production database and a peertube user inside PostgreSQL: $ sudo -u postgres createuser -P peertube ``` -Here you should enter a password for postgresql user peertube, it should be copied in production.yaml file. -Don’t just hit enter else it will be empty, default production yaml uses peertube here, but it is better you pick a stronger one. +Here you should enter a password for PostgreSQL `peertube` user, that should be copied in `production.yaml` file. +Don't just hit enter else it will be empty. ``` $ sudo -u postgres createdb -O peertube -E UTF8 -T template0 peertube_prod ``` - Then enable extensions PeerTube needs: ``` @@ -67,6 +66,7 @@ Open the peertube directory, create a few required directories ``` $ cd /var/www/peertube $ sudo -u peertube mkdir config storage versions +$ sudo -u peertube chmod 750 config/ ``` Download the latest version of the Peertube client, unzip it and remove the zip