Redis

Install redis

sudo apt update

sudo apt install redis-server

sudo nano /etc/redis/redis.conf

// Change supervised in redis.conf
supervised systemd 

// Restart redis
sudo systemctl restart redis.service

Kiểm tra trạng thái redis

sudo systemctl status redis

Change password

sudo nano /etc/redis/redis.conf

// Edit 
requirepass new_password

// Restart redis
sudo systemctl restart redis.service

Last updated