diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-07-16 11:10:48 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-07-16 11:10:48 +0200 |
commit | d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (patch) | |
tree | 7f5e620aa3708fe9c7e1c16d5f3f4d384cb378e9 /support/doc/dependencies.md | |
parent | 19f7b248d88805e6595b671a7447b0ba5e1451fa (diff) | |
download | PeerTube-d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2.tar.gz PeerTube-d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2.tar.zst PeerTube-d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2.zip |
Correcting documentation to be more precise about CentOS 7
Diffstat (limited to 'support/doc/dependencies.md')
-rw-r--r-- | support/doc/dependencies.md | 8 |
1 files changed, 7 insertions, 1 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 | ||
65 | Later 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 | ||
67 | On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: | 73 | On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: |