From 81cdf382ffab82357320b575533c784878d4b4c1 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 22 Sep 2018 15:48:27 +0200 Subject: [PATCH] specify to run services before running PeerTube --- support/doc/dependencies.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 35812aa8b..94fabe11c 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -31,6 +31,11 @@ $ sudo apt-get update $ sudo apt install ffmpeg ``` +Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: +``` +$ sudo systemctl start redis postgresql +``` + ## Arch Linux 1. Run: @@ -39,6 +44,11 @@ $ sudo apt install ffmpeg $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx ``` +Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: +``` +$ sudo systemctl start redis postgresql +``` + ## CentOS 7 1. Install NodeJS 8.x (current LTS): @@ -68,6 +78,12 @@ Later when you invoke any node command, please prefix them with `CC=/opt/rh/devt $ sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ yarn install --production --pure-lockfile ``` +Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: +``` +$ sudo service redis start +$ sudo service postgresql start +``` + ## FreeBSD On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: -- 2.25.1