From a10af2352abbe99a2a7f875d0d9e233ba0e9bc0e Mon Sep 17 00:00:00 2001 From: lizw Date: Mon, 7 Nov 2022 17:25:58 +0800 Subject: [PATCH] 07env-install-centos.sh --- 00base/07env-install-centos.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/00base/07env-install-centos.sh b/00base/07env-install-centos.sh index 2410413..268108f 100644 --- a/00base/07env-install-centos.sh +++ b/00base/07env-install-centos.sh @@ -568,10 +568,15 @@ function init:redis() { cd ${BASE_DIR}/redis tar -zxvf ${REDIS_FILE_NAME} cd $redis_path + echo 'ttt-@@@@@@@@@@@@@111' yum -y install gcc + echo 'ttt-@@@@@@@@@@@@@222' yum -y install centos-release-scl + echo 'ttt-@@@@@@@@@@@@@333' yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils + echo 'ttt-@@@@@@@@@@@@@444' scl enable devtoolset-9 bash + echo 'ttt-777' echo 'source /opt/rh/devtoolset-9/enable' >> /etc/profile echo 'ttt-888' source /etc/profile