]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/dependencies.md
Adding dependencies informations for CentOS 7 (#288)
[github/Chocobozzz/PeerTube.git] / support / doc / dependencies.md
index 7017976e52e10542ecc3288a955f6950bef1bb34..4ced42b8b4bcf52a24b4839f535384b90daac80d 100644 (file)
@@ -5,7 +5,7 @@
   1. Install NodeJS 8.x (current LTS):
      [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)
   2. Install yarn:
-     [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
+     [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
   4. Run:
 
 ```
@@ -21,6 +21,24 @@ $ sudo apt install nginx ffmpeg postgresql openssl g++ make redis-server
 $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis
 ```
 
+## CentOS 7
+
+  1. Install NodeJS 8.x (current LTS):
+     [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
+  2. Install yarn:
+     [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
+  3. Install or compile ffmpeg:
+     * Install - [https://www.webfoobar.com/index.php/node/17](https://www.webfoobar.com/index.php/node/17)
+     * Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
+  4. Run:
+
+```
+$ sudo yum update
+$ sudo yum install epel-release
+$ sudo yum update
+$ sudo yum install nginx postgresql postgresql-server openssl gcc make redis
+```
+
 ## Other distributions
 
 Feel free to update this file in a pull request!