Browse Source

07env-install-centos.sh

master
lizw 3 years ago
parent
commit
a10af2352a
  1. 5
      00base/07env-install-centos.sh

5
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

Loading…
Cancel
Save