Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

How to Install Redis on CentOS / RHEL / Ubuntu and Windows

Install Redis 7 on CentOS 7 / RHEL 7

# Update your CentOS 7 / RHEL 7
$ sudo yum -y update

# Add REMI repository
$ sudo yum -y install

# Install Redis on CentOS 7 / RHEL 7
$ sudo yum --enablerepo=remi install redis
$ rpm -qi redis

# Start Redis Service on CentOS 7 / RHEL 7
$ sudo systemctl enable --now redis

# Enable network Listen for Redis Service (Optional)
$ sudo vi /etc/redis.conf

bind				# Bind to to your server IP
bind * -::*					# To listen on all available interfaces
requirepass  mypasword		# Configure Redis Authentication for clients to require AUTH <PASSWORD>
appendonly yes				# Set persistence mode by changing the appendonlyvalue to yes
appendfilename "appendonly.aof"	# Set persistence mode by changing the appendonlyvalue to yes

# Restart redis service after making the changes
$ sudo systemctl restart redis
$ sudo systemctl status redis

# You can view the port and IP used by Redis service using the sscommand:
$ sudo ss -tunelp | grep 6379

# If you have an active firewalld service, allow port 6379
$ sudo firewall-cmd --add-port=6379/tcp --permanent
$ sudo firewall-cmd --reload

# Test connection to Redis Server
$ redis-cli>> AUTH mypasword
OK> INFO Server

How to add Sample Data in Redis?

$ redis-cli> auth mypassword> SET shapes:triangles "3 sides"> SET shapes:squares "4 sides"> GET shapes:triangles> GET shapes:squares> save> exit

$ sudo cat /var/lib/redis/dump.rdb

Rajesh Kumar
Latest posts by Rajesh Kumar (see all)
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x