Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
$ 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
$ 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: