No memory cache has been configured. To enhance your performance please configure a memcache if available.
sudo apt install redis-server
redis-server -v
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=636cde3b5c7a3923
systemctl status redis
Ülaltoodud ekraanipildilt näeme, et see töötab ja automaatne käivitamine on lubatud. Kui see mingil põhjusel ei tööta, käivitage järgmine käsk:
sudo systemctl start redis-server
sudo systemctl enable redis-server
sudo apt install php-redis
php --ri redis
Näeme, et Redise laiendus on lubatud. Kui see pole lubatud, käivitage järgmine käsk:
sudo phpenmod redis
sudo nano /var/www/nextcloud/config/config.php
'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.local' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', 'redis' => array( 'host' => 'localhost', 'port' => 6379, ),
Salvestage ja sulgege fail. Seejärel taaskäivitage Nginx ja PHP-FPM:
sudo systemctl restart nginx php7.4-fpm