Precisions and security enhancements to the production guide (#287)
[oweals/peertube.git] / support / doc / dependencies.md
1 # Dependencies
2
3 ## Debian / Ubuntu and derivatives
4
5   1. Install NodeJS 8.x (current LTS):
6      [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
7   2. Install yarn:
8      [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
9   4. Run:
10
11 ```
12 $ sudo apt update
13 $ sudo apt install nginx ffmpeg postgresql openssl g++ make redis-server
14 ```
15
16 ## Arch Linux
17
18   1. Run:
19
20 ```
21 $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis
22 ```
23
24 ## CentOS 7
25
26   1. Install NodeJS 8.x (current LTS):
27      [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
28   2. Install yarn:
29      [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
30   3. Install or compile ffmpeg:
31      * Install - [https://www.webfoobar.com/index.php/node/17](https://www.webfoobar.com/index.php/node/17)
32      * Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
33   4. Run:
34
35 ```
36 $ sudo yum update
37 $ sudo yum install epel-release
38 $ sudo yum update
39 $ sudo yum install nginx postgresql postgresql-server openssl gcc make redis
40 ```
41
42 ## Other distributions
43
44 Feel free to update this file in a pull request!
45