Browse Source

07env-install-centos.sh

lizw 2 years ago
parent
commit
f43acfc6fe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      00base/07env-install-centos.sh

+ 1 - 0
00base/07env-install-centos.sh

@@ -573,6 +573,7 @@ function init:redis() {
       yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils
       scl enable devtoolset-9 bash
       echo 'source /opt/rh/devtoolset-9/enable' >> /etc/profile
+      source /etc/profile
       gcc -v
       cd $redis_path
       make install PREFIX=$redis_install_path