X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fdependencies.md;h=f7b6cead2fd881c2ce550281a40c3b2583c856b1;hb=18ffaf2430df57ecc2150bdd89a7ecfd08bd1257;hp=350a7c4a06cd08e927b87f7cf2e663266d88a82b;hpb=c9b369096d1c461045c1d81390aa1883542e44df;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 350a7c4a0..f7b6cead2 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -30,7 +30,7 @@ _note_: only **LTS** versions of external dependencies are supported. If no LTS 2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access -3. Install NodeJS 10.x: +3. Install NodeJS 12.x: [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) 4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest): [https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab) @@ -39,7 +39,7 @@ _note_: only **LTS** versions of external dependencies are supported. If no LTS ``` sudo apt update -sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git python-dev +sudo apt install certbot nginx ffmpeg postgresql postgresql-contrib openssl g++ make redis-server git python-dev cron ffmpeg -version # Should be >= 4.1 g++ -v # Should be >= 5.x ``` @@ -66,7 +66,7 @@ sudo systemctl start redis postgresql ## CentOS 7 -1. Install NodeJS 10.x: +1. Install NodeJS 12.x: [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: @@ -113,7 +113,7 @@ sudo systemctl enable --now postgresql ## Centos 8 -1. Install NodeJS 10.x: +1. Install NodeJS 12.x: [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: @@ -172,7 +172,7 @@ su my-peertube-user 3. (Optional) Install certbot (choose instructions for your distribution): [https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions) -4. Install NodeJS 10.x: +4. Install NodeJS 12.x: [https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora) 5. Install yarn: @@ -245,7 +245,7 @@ On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail ``` pkg pkg update -pkg install -y sudo bash wget git python nginx pkgconf vips postgresql96-server postgresql96-contrib redis openssl node npm yarn ffmpeg unzip +pkg install -y sudo bash wget git python nginx pkgconf postgresql96-server postgresql96-contrib redis openssl node npm yarn ffmpeg unzip ``` 2. Allow users in the wheel group (hope you don't forgot to add your user on wheel group!) to use sudo. @@ -342,6 +342,37 @@ rc-service redis start rc-service postgresql-11 start ``` +## OpenBSD + +1. Install Packages: + +``` +pkg_add sudo bash wget git python nginx pkgconf postgresql-server postgresql-contrib redis openssl +``` + +2. Install yarn: + +``` +npm install --global yarn +``` + +3. Allow users in the wheel group to use sudo + +``` +visudo +``` +Uncomment line #43: + +``` +%wheel ALL=(ALL) ALL +``` + +4. Enable services: + +``` +rcctl enable postgresql redis nginx +``` + ## Other distributions Feel free to update this file in a pull request!