From 80d7cf3a15c533d43e7e7f7a240d0eb89640e1c3 Mon Sep 17 00:00:00 2001 From: Pierre-Alain TORET Date: Mon, 18 Jun 2018 09:56:57 +0200 Subject: [PATCH] Update doc for CentOS 7 devtoolset-7 Signed-off-by: Pierre-Alain TORET --- support/doc/dependencies.md | 4 ++-- support/doc/production.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md index 86e8bdbcf..74ba0dd6a 100644 --- a/support/doc/dependencies.md +++ b/support/doc/dependencies.md @@ -54,12 +54,12 @@ $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip pyth $ 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 diff --git a/support/doc/production.md b/support/doc/production.md index 8963f35ff..fd2957159 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -59,10 +59,10 @@ $ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/down $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip ``` -*If you're using CentOS7, do not forget to activate the devtoolset-6 software collection. +*If you're using CentOS7, do not forget to activate the devtoolset-7 software collection. And after that, follow the step as usual. Do not forget to exit the environment after installing Peertube:* ``` -$ scl enable devtool-6 bash +$ sudo scl enable devtoolset-7 bash ``` Install Peertube: