Redis
Installation
$ dnf install redis -y $ rpm -q redis $ sudo systemctl start redis $ sudo systemctl enable redis $ systemctl status redis.service $ sudo netstat -pnltu | grep redis
configuration
vim /etc/redis.conf bind 0.0.0.0 $ sudo systemctl restart redis
$ redis-cli
ping -> PONG
Authentication
vim /etc/redis.conf uncomment - requirepass , and password $ sudo systemctl restart redis
ping (error) NOAUTH Authentication required. 127.0.0.1:6379>
$ redis-cli 127.0.0.1:6379> auth G@lxy2030 OK
Benchmark redis-benchmark -q redis-benchmark -t set,get -q