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