Wednesday, February 16, 2022

How To install & Secure Redis Server On Rocky Linux 8

 in This Tutorial you will Learn " How To install & Secure Redis Server On Rocky Linux 8"

Redis is an open-source in-memory key-value data store. It can be used as a database, cache and, message broker and supports various data structures such as Strings, Hashes, Lists, Sets, and more. Redis provides high availability via Redis Sentinel and automatic partitioning across multiple Redis nodes with Redis Cluster.
Documentation - https://redis.io/documentation
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; dnf groupinstall "Development Tools" -y
dnf makecache ; dnf install redis -y
systemctl start redis ; systemctl enable redis
ss -ant | grep 6379
redis-cli

gedit  /etc/redis.conf &>/dev/null
maxmemory 128mb
maxmemory-policy allkeys-lru
# requirepass A&#9D3Fs4%231      | Secure Redis Server
systemctl restart redis ; systemctl status redis

redis-cli
INFO server
AUTH A&#9D3Fs4%231
INFO server
_________________________________________________________________________________________

No comments:

Post a Comment