Skip to content

Como instalar o Servidor Redis no RHEL 8

dnf module install redis 
sysctl vm.overcommit_memory=1
echo never > /sys/kernel/mm/transparent_hugepage/enabled
# systemctl start redis
# systemctl enable redis
# systemctl status redis
ss -tlpn

Como configurar servidor Redis

cp /etc/redis.conf /etc/redis.conf.orig
vi /etc/redis.conf 
bind  127.0.0.1
bind 192.168.56.10  192.168.2.105
systemctl restart redis
# firewall-cmd --permanenent --add-port=6379/tcp 
# firewall-cmd --reload
# redis-cli
>client list
Published inRed HatGeralLinux
Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.