How To Install And Configure Redis Server On Linux

Redis is an in-memory data structure project implementing a distributed, key-value databases. You can use the Redis server default port and start the Redis server in Linux. Let’s see how to install and configure, install the Redis server in Linux.

How To Install And Configure Redis Server On Linux:

This is a NoSQL database and it can handle millions of queries in real-time because it keeps the data in-memory instead of the disk and provides you data in

yum install redis -y
rpm -qa | grep redis

Install And Configure Redis

Check Out: Configure Varnish For Apache Web Server

you may also create a Redis cluster server for your tomcat server where it will store sessions. This is an open-source, in-memory data structure, used as a database, cache and message broker. 

After installing, start the service so

systemctl start redis && systemctl enable redis

start redis server

you can verify the Redis running or not by below command if you see “pong”, means it’s working. so

redis-cli ping

redis server default port

Check Out: Install MySQL 5.6 Database Server Using Repository In Linux

You can configure disk persistence options here in vim /etc/redis.conf

appendonly yes
appendfsync everysec

Restart the service again, systemctl restart redis

Check Out: How To Install RabbitMQ Message Broker On Linux

Also check which version installed, so

redis-server  --version

redis server install linux

You’re done start redis server redis server default port

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment