Update 'NGINX-Installer.sh'

This commit is contained in:
bprieshof
2019-06-12 13:39:18 +02:00
parent 864bb9c394
commit e96c498007

View File

@@ -262,7 +262,8 @@ if [ $redis = 1 ]; then
sed -i 's/# bind 127.0.0.1 ::1/bind 127.0.0.1 ::1/g' /etc/redis/redis.conf sed -i 's/# bind 127.0.0.1 ::1/bind 127.0.0.1 ::1/g' /etc/redis/redis.conf
sed -i 's/# requirepass foobared/# requirepass '$password'/g' /etc/redis/redis.conf sed -i 's/# requirepass foobared/# requirepass '$password'/g' /etc/redis/redis.conf
git clone https://github.com/phpredis/phpredis.git /opt/phpredis git clone https://github.com/phpredis/phpredis.git /opt/phpredis
sed -i "\$a0 3 * * 1 root git clone https://github.com/phpredis/phpredis.git /opt/phpredis >/dev/null 2>&1" /etc/crontab apt install -y php${phpver}-dev
#sed -i "\$a0 3 * * 1 root git clone https://github.com/phpredis/phpredis.git /opt/phpredis >/dev/null 2>&1" /etc/crontab
# systemctl stop redis # systemctl stop redis
# systemctl disable redis # systemctl disable redis
fi fi