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?
Solution
Prerequisite
This solution requires wget. You may need to install it: sudo yum -y install wget
Procedures
Run these three commands:
sudo wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/
sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-*.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"