Skip to content
Gábor Angyal edited this page Feb 12, 2024 · 1 revision

1. Install Redis

sudo apt update
sudo apt install redis-server php-redis

2. Setup Redis as Cache

sudo vim /etc/redis/redis.conf

After the last line, add these :

maxmemory 128mb
maxmemory-policy allkeys-lru

Set the maxmemory according to the amount of RAM available in your server.

Clone this wiki locally