From a9209768d85af90b4c76f044688d0342ae810119 Mon Sep 17 00:00:00 2001 From: ThatGuy Date: Thu, 4 Jul 2019 03:37:53 +0000 Subject: [PATCH] Update installer.sh --- installer.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/installer.sh b/installer.sh index 26d370f..5fbd402 100644 --- a/installer.sh +++ b/installer.sh @@ -21,6 +21,5 @@ sudo sed -i 's/max_execution_time = 30/max_execution_time = 30000/' /etc/php/7.3 sudo sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /etc/php/7.3/apache2/php.ini && \ sudo sed -i 's/post_max_size = 8M/post_max_size = 200M/' /etc/php/7.3/apache2/php.ini && \ sudo sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 200M/' /etc/php/7.3/apache2/php.ini && \ -sudo sed "/ 'installed' => true,/a \ 'memcache.local' => '\\\OC\\\Memcache\\\APCu',\n\ 'memcache.distributed' => '\\\OC\\\Memcache\\\Redis',\n\ 'memcache.locking' => '\\\OC\\\Memcache\\\Redis',\n\ 'redis' => [\n\ 'host' => '127.0.0.1',\n\ 'port' => 6379,\n\ ]," /var/www/nextcloud/config/config.php && \ sudo systemctl restart apache2 && \ ip route get 8.8.8.8 | awk '{ print $NF; exit }' \ No newline at end of file