Install And Configure Redis

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

yum install redis -y

rpm -qa | grep redis

how to install redis

Check Out: Configure Varnish For Apache Web Server

you may also create 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

15 + eighteen =