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.
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
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
you can verify the Redis running or not by below command if you see “pong”, means it’s working. so
You can configure disk persistence options here in vim /etc/redis.conf
appendonly yes appendfsync everysec
Restart the service again, systemctl restart redis
Also check which version installed, so
You’re done start redis server redis server default port