In this article you will be learing Installing Redis on Linux using a package manager. These steps are easy to follow and with no time you can get Redis installed and running.
Get any of the courses at a very special price. The offer is available only for a limited time.
- Apache NiFi
- Apache NiFi – Admin Guide
- Liferay – Create Your Website Without The Need to Code
- Grafana – Learn to do Analytics with Grafana
- Redis – Learn World’s Fastest Database
- BMC Control-M for Beginners
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
I hope you liked this article about Installing Redis on Linux using a package manager.. You can learn more about Redis from below articles:
- Redis Cluster InstallationRedis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes. In this article, I am going to share steps of Redis Cluster Installation. …
- Redis Sets Datatype and CommandsRedis SADD – Creating and Adding Members to Redis Sets. sadd users_ip 10.0.0.1 sadd users_ip 10.0.0.2 10.0.0.3 192.168.0 Redis SCARD – Checking total numbers of members available in a list also …
- Redis TransactionsIn this article you are going to learn about Redis Transactions. It is useful when you either want to perform all the transactions or you want to rollback everything. This feature …
- Installing Redis on WindowsIn this article I will guide you step by step on Installing Redis on Windows. Do remember that Redis is not an officially supported Operating System. I do not recommend running …
- What is the fastest way to insert bulk data to Redis?So, you want to insert bulk data to Redis and is really not having any clue that which is the fastest way to insert bulk data to Redis. Continue reading this …
What is the fastest way to insert bulk data to Redis? Read More »
Get any of the courses at a very special price. The offer is available only for a limited time.
- Apache NiFi
- Apache NiFi – Admin Guide
- Liferay – Create Your Website Without The Need to Code
- Grafana – Learn to do Analytics with Grafana
- Redis – Learn World’s Fastest Database
- BMC Control-M for Beginners