X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fproduction.md;h=43f8eb8a5cc3385194fefd3f03d6fe504794fdab;hb=3e03b961b8ab897500dfea626f808c009f64e551;hp=41aae6b554c123c5f3d9ffd5714c74ad774a7ed3;hpb=08a9ee19e16d4b439c4dc701abb69b4e6dca4fdc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/production.md b/support/doc/production.md index 41aae6b55..43f8eb8a5 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -39,6 +39,12 @@ Create the production database and a peertube user inside PostgreSQL: ``` $ sudo -u postgres createuser -P peertube +``` + +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 ``` @@ -66,7 +72,7 @@ Download the latest version of the Peertube client, unzip it and remove the zip ``` $ cd /var/www/peertube/versions $ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" -$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip +$ sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip ``` Install Peertube: @@ -162,8 +168,6 @@ $ sudo pkg install dehydrated ### TCP/IP Tuning -A lot of your instance's raw performance is dependent on a properly tuned machine and more specifically, reverse-proxy. We provide support for Nginx and spent a lot of time putting sane defaults in it, but we strongly advise you to follow up with instructions in https://github.com/denji/nginx-tuning as needed. - **On Linux** ```