]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/doc/dependencies.md
adding some instructions for certbot and basic utility programs needed (#336)
[github/Chocobozzz/PeerTube.git] / support / doc / dependencies.md
CommitLineData
afe81767 1# Dependencies
63bfad7e 2
e5203ffa 3## Debian / Ubuntu and derivatives
bc2fc1a7
F
4 1. Install basic utility programs needed for the installation
5
6```
7$ sudo apt-get install curl sudo unzip vim
8```
63bfad7e 9
bc2fc1a7
F
10 2. Install certbot (choose instructions for nginx and your distribution) :
11 [https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions)
12 3. Install NodeJS 8.x (current LTS):
63bfad7e 13 [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)
bc2fc1a7 14 4. Install yarn:
053ad3a3 15 [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
bc2fc1a7 16 5. Run:
63bfad7e 17
afe81767 18```
e5203ffa 19$ sudo apt update
07fa4c97 20$ sudo apt install nginx ffmpeg postgresql openssl g++ make redis-server git
63bfad7e
C
21```
22
afe81767 23## Arch Linux
63bfad7e
C
24
25 1. Run:
26
afe81767 27```
4a31886e 28$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx
63bfad7e
C
29```
30
053ad3a3
EC
31## CentOS 7
32
33 1. Install NodeJS 8.x (current LTS):
34 [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
35 2. Install yarn:
36 [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
37 3. Install or compile ffmpeg:
38 * Install - [https://www.webfoobar.com/index.php/node/17](https://www.webfoobar.com/index.php/node/17)
39 * Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
40 4. Run:
41
42```
43$ sudo yum update
44$ sudo yum install epel-release
45$ sudo yum update
07fa4c97 46$ sudo yum install nginx postgresql postgresql-server openssl gcc make redis git
053ad3a3
EC
47```
48
afe81767 49## Other distributions
63bfad7e
C
50
51Feel free to update this file in a pull request!
52