]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Update doc for CentOS 7 devtoolset-7
authorPierre-Alain TORET <pierre-alain.toret@protonmail.com>
Mon, 18 Jun 2018 07:56:57 +0000 (09:56 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 18 Jun 2018 08:02:11 +0000 (10:02 +0200)
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
support/doc/dependencies.md
support/doc/production.md

index 86e8bdbcf43a637f981c10bc30a7c75deb1a30be..74ba0dd6a5d151c240604188974d54bf5700fa40 100644 (file)
@@ -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
index 8963f35fffbafde7e331923cf5240480634cc364..fd29571596efb76b0b99cd3ad464f67ce1fc2638 100644 (file)
@@ -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: