X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fdependencies.md;h=856839297dca222c587b9b298cfdb07e505c3a2b;hb=396f224b5c798ff4a300ca5c937ddee7a9dfee47;hp=093a126da0c86779859b70ac50f2601dc34b5f22;hpb=af5262f113a125032ac45f4d017f9cf5461c6bd9;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 093a126da..856839297 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -36,7 +36,7 @@ $ sudo apt install ffmpeg 1. Run: ``` -$ sudo pacman -S nodejs-lts-carbon yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx +$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx ``` ## CentOS 7 @@ -54,12 +54,12 @@ $ sudo pacman -S nodejs-lts-carbon yarn ffmpeg postgresql openssl redis git wget $ sudo yum update $ sudo yum install epel-release centos-release-scl $ sudo yum update -$ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis git devtoolset-6 +$ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis git devtoolset-7 ``` 5. You need to use a more up to date version of G++ in order to run the yarn install command, hence the installation of devtoolset-6. ``` -$ sudo scl devtoolset-6 bash +$ sudo scl enable devtoolset-7 bash ``` ## FreeBSD @@ -111,6 +111,44 @@ On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail brew services run postgresql brew services run redis ``` + +## Gentoo + +* Add this to ``/etc/portage/sets/peertube``: +``` +net-libs/nodejs +sys-apps/yarn +media-video/ffmpeg[x264] # Optionnally add vorbis,vpx +dev-db/postgresql +dev-db/redis +dev-vcs/git +app-arch/unzip +dev-lang/python:2.7 +www-servers/nginx +media-libs/vips[jpeg,png,exif] + +# Optionnal, client for Let’s Encrypt: +# app-crypt/certbot +# app-crypt/certbot-nginx +``` + +* Compile the peertube set: +``` +emerge -a @peertube +``` + +* Initialize the PostgreSQL database if you just merged it: +``` +emerge --config postgresql +``` + +* (For OpenRC) Enable and then start the services (replace with the correct PostgreSQL slot): +``` +rc-update add redis +rc-update add postgresql-10 +rc-service redis start +rc-service postgresql-10 start +``` ## Other distributions