aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/dependencies.md8
-rw-r--r--support/doc/production.md6
2 files changed, 7 insertions, 7 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index 856839297..f759eb9c3 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -57,11 +57,17 @@ $ sudo yum update
57$ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis git devtoolset-7 57$ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis git devtoolset-7
58``` 58```
59 59
60 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. 60 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-7.
61``` 61```
62$ sudo scl enable devtoolset-7 bash 62$ sudo scl enable devtoolset-7 bash
63``` 63```
64 64
65Later when you invoke any node command, please prefix them with `CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++`, such as with:
66
67```
68$ sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ yarn install --production --pure-lockfile
69```
70
65## FreeBSD 71## FreeBSD
66 72
67On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: 73On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail:
diff --git a/support/doc/production.md b/support/doc/production.md
index fd2957159..8310e7fda 100644
--- a/support/doc/production.md
+++ b/support/doc/production.md
@@ -59,12 +59,6 @@ $ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/down
59$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip 59$ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
60``` 60```
61 61
62*If you're using CentOS7, do not forget to activate the devtoolset-7 software collection.
63And after that, follow the step as usual. Do not forget to exit the environment after installing Peertube:*
64```
65$ sudo scl enable devtoolset-7 bash
66```
67
68Install Peertube: 62Install Peertube:
69``` 63```
70$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest 64$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest