My reference:
sudo apt update
sudo apt install redis-server
service redis-server status
netstat -lntp | grep 6379
redis-cli
127.0.0.1:6379> set test "It's working!"
127.0.0.1:6379> get test
127.0.0.1:6379> exit
vi /etc/redis/redis.conf
bind 127.0.0.1
Run this command to generate a strong password
openssl rand 60 | openssl base64 -A
vi /etc/redis/redis.conf