@JS's Notes

Site with notes from my work.

Redis Installation on the Fedora 30 System

2019-10-04 System @JS

Requirements: user with root privileges or non-root user with sudo privileges.

dnf update -y
dnf install redis -y
echo "vm.overcommit.memory = 1" >> /etc/sysctl.conf
sysctl vm.overcommit_memory=1
echo never > /sys/kernel/mm/transparent_hugepage/enabled
systemctl start redis.service
systemctl status redis.service
systemctl enable redis.service
netstat -tap | grep redis

Access to Redis through redis-cli.