Install Memory Cache

To enhance performance of Nextcloud, Install memory cache. Redis is a key-value memory cache.

Install Redis

$ sudo pacman -S redis

Configure Redis

Enable socket communications to Redis for perfomance.

$ sudo vi /etc/redis/redis.conf
...
port 0
unixsocket /run/redis/redis.sock
unixsocketperm 700
...
$ sudo systemctl start redis

$sudo systemctl enable redis

Check socket communications

$ sudo redis-cli -s /run/redis/redis.sock
> monitor

If this command returns OK, the socket communication is established properly.

Restart and Enable Redis

$ sudo systemctl restart redis
$ sudo systemctl enable redis

Last Updated on March 8, 2025 by lama-admin


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *