mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
release information
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user