]>
Commit | Line | Data |
---|---|---|
1 | # Dependencies | |
2 | ||
3 | ## Debian / Ubuntu and derivatives | |
4 | 1. Install basic utility programs needed for the installation | |
5 | ||
6 | ``` | |
7 | $ sudo apt-get install curl sudo unzip vim | |
8 | ``` | |
9 | ||
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): | |
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) | |
14 | 4. Install yarn: | |
15 | [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) | |
16 | 5. Run: | |
17 | ||
18 | ``` | |
19 | $ sudo apt update | |
20 | $ sudo apt install nginx ffmpeg postgresql openssl g++ make redis-server git | |
21 | ``` | |
22 | ||
23 | ## Arch Linux | |
24 | ||
25 | 1. Run: | |
26 | ||
27 | ``` | |
28 | $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx | |
29 | ``` | |
30 | ||
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 | |
46 | $ sudo yum install nginx postgresql postgresql-server openssl gcc make redis git | |
47 | ``` | |
48 | ||
49 | ## Other distributions | |
50 | ||
51 | Feel free to update this file in a pull request! | |
52 |