Installing Redis on Linux Using a Package Manager

Get any of the courses at very special price. Offer is available only for limited time, so enroll quickly.

Apache NiFi – Beginners to Advance Guide: https://itpanther.com/apachenifi
Apache NiFi – Admin Guide – Know Clustering and Other Advance Topics: https://itpanther.com/apachenifiadmin
Liferay – Create Your Website Without The Need to Code: https://itpanther.com/liferay
Grafana – Learn to do Analytics with Grafana: https://itpanther.com/grafana
Redis – Learn World’s Fastest Database: https://itpanther.com/redis
BMC Control-M for Beginners: https://itpanther.com/controlm

Before we begin, It is worth mentioning that this will only work if you’ve internet running on your Unix/Linux Server. Read this blog to know how to install Redis in offline mode.
Redis package is not included in the default CentOS repositories. So we need to start by configuring REMI Repository. Run below commands to configure REMI Repository:
sudo yum install -y epel-release yum-utils
sudo yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum-config-manager --enable remi
Now you’re good to install Redis by running below command:
sudo yum install -y redis
Remember, You’ve just installed Redis, But it has not started yet. Run below command to start redis:
sudo systemctl start redis
If you want redis should automatically start if your server reboots. Run below command:
sudo systemctl enable redis

Get any of the courses at very special price. Offer is available only for limited time, so enroll quickly.

Apache NiFi – Beginners to Advance Guide: https://itpanther.com/apachenifi
Apache NiFi – Admin Guide – Know Clustering and Other Advance Topics: https://itpanther.com/apachenifiadmin
Liferay – Create Your Website Without The Need to Code: https://itpanther.com/liferay
Grafana – Learn to do Analytics with Grafana: https://itpanther.com/grafana
Redis – Learn World’s Fastest Database: https://itpanther.com/redis
BMC Control-M for Beginners: https://itpanther.com/controlm

Leave a Comment

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

IT Panther will use the information you provide on this form to be in touch with you and to provide updates and marketing.
%d bloggers like this: