How Do You Install Redis on RedHat 7?

Problem scenario
You want to install Redis on RedHat Enterprise Linux 7.x.  (Redis gets its name from "REmote DIctionary Server" according to this external link.  It is one of the most popular NoSQL solutions on the market according to G2 Crowd.)  What do you do to install Redis on a RHEL server?

This solution requires wget.  You may need to install it: sudo yum -y install wget

Run these three commands:
sudo wget -r --no-parent -A 'epel-release-*.rpm'
sudo rpm -Uvh*.rpm
sudo yum -y install redis

To test the installation, run these two commands:

sudo service redis start
redis-cli ping  
# This should return the word "PONG"

Leave a comment

Your email address will not be published. Required fields are marked *