Browse Source

07env-install-centos.sh

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

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

@@ -575,6 +575,7 @@ function init:redis() {
       echo 'source /opt/rh/devtoolset-9/enable' >> /etc/profile
       echo 'source /opt/rh/devtoolset-9/enable' >> /etc/profile
       source /etc/profile
       source /etc/profile
       gcc -v
       gcc -v
+      mkdir -p $redis_install_path
       cd $redis_path
       cd $redis_path
       make install PREFIX=$redis_install_path
       make install PREFIX=$redis_install_path
       # 写文件start.sh文件
       # 写文件start.sh文件