Install Redis
sudo apt install -y redis-server
sudo systemctl enable --now redis
redis-cli ping # PONG
Configure
maxmemory 256mb
maxmemory-policy allkeys-lru
requirepass YourPassword sudo apt install -y redis-server
sudo systemctl enable --now redis
redis-cli ping # PONG
maxmemory 256mb
maxmemory-policy allkeys-lru
requirepass YourPassword