Update installer.sh
This commit is contained in:
parent
7b99eb939f
commit
a9209768d8
@ -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 }'
|
Loading…
x
Reference in New Issue
Block a user