How To Install And Configure Redis Server On Linux

0
113

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 microseconds.so

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here