diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-22 15:48:27 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-22 15:48:27 +0200 |
commit | 81cdf382ffab82357320b575533c784878d4b4c1 (patch) | |
tree | 11b9740abe258d53d8254212c5c863eb39421094 /support | |
parent | 9fe4406794aaa4503d090ca4bfe6872b4e556178 (diff) | |
download | PeerTube-81cdf382ffab82357320b575533c784878d4b4c1.tar.gz PeerTube-81cdf382ffab82357320b575533c784878d4b4c1.tar.zst PeerTube-81cdf382ffab82357320b575533c784878d4b4c1.zip |
specify to run services before running PeerTube
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/dependencies.md | 16 |
1 files changed, 16 insertions, 0 deletions
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 | |||
31 | $ sudo apt install ffmpeg | 31 | $ sudo apt install ffmpeg |
32 | ``` | 32 | ``` |
33 | 33 | ||
34 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | ||
35 | ``` | ||
36 | $ sudo systemctl start redis postgresql | ||
37 | ``` | ||
38 | |||
34 | ## Arch Linux | 39 | ## Arch Linux |
35 | 40 | ||
36 | 1. Run: | 41 | 1. Run: |
@@ -39,6 +44,11 @@ $ sudo apt install ffmpeg | |||
39 | $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx | 44 | $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx |
40 | ``` | 45 | ``` |
41 | 46 | ||
47 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | ||
48 | ``` | ||
49 | $ sudo systemctl start redis postgresql | ||
50 | ``` | ||
51 | |||
42 | ## CentOS 7 | 52 | ## CentOS 7 |
43 | 53 | ||
44 | 1. Install NodeJS 8.x (current LTS): | 54 | 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 | |||
68 | $ 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 | 78 | $ 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 |
69 | ``` | 79 | ``` |
70 | 80 | ||
81 | Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis: | ||
82 | ``` | ||
83 | $ sudo service redis start | ||
84 | $ sudo service postgresql start | ||
85 | ``` | ||
86 | |||
71 | ## FreeBSD | 87 | ## FreeBSD |
72 | 88 | ||
73 | On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: | 89 | On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: |