From 034f5cdf7ddd2a7727155a30ad0513453562c8fe Mon Sep 17 00:00:00 2001 From: lizw Date: Mon, 7 Nov 2022 16:11:50 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index e326218..1badb7a 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -568,14 +568,14 @@ function init:redis() { cd ${BASE_DIR}/redis tar -zxvf ${REDIS_FILE_NAME} cd $redis_path - yum -y install gcc - yum -y install centos-release-scl - 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 - gcc -v + #yum -y install gcc + #yum -y install centos-release-scl + #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 + #gcc -v cd $redis_path - make install PREFIX=$redis_install_path + #make install PREFIX=$redis_install_path # 写文件start.sh文件 cat << EOF > $redis_install_path/redis.conf # bind 127.0.0.1