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