diff --git a/install-nextcloud.sh b/install-nextcloud.sh index dc02dbc..7bd203b 100644 --- a/install-nextcloud.sh +++ b/install-nextcloud.sh @@ -3,7 +3,8 @@ # https://www.c-rieger.de # https://github.com/riegercloud # INSTALL-NEXTCLOUD.SH -# Version 3.3 +# Version 3.4 +# amendments to fail2ban # July, 9th, 2018 ####################################################### # Ubuntu 18.04 LTS @@ -252,7 +253,7 @@ apt install redis-server php-redis -y cp /etc/redis/redis.conf /etc/redis/redis.conf.bak sed -i "s/port 6379/port 0/" /etc/redis/redis.conf sed -i s/\#\ unixsocket/\unixsocket/g /etc/redis/redis.conf -sed -i "s/unixsocketperm 700/unixsocketperm 770/" /etc/redis/redis.conf +sed -i "s/unixsocketperm 700/unixsocketperm 770/" /etc/redis/redis.conf sed -i "s/# maxclients 10000/maxclients 512/" /etc/redis/redis.conf usermod -a -G redis www-data cp /etc/sysctl.conf /etc/sysctl.conf.bak && sed -i '$avm.overcommit_memory = 1' /etc/sysctl.conf