Install Redis On a server running CentOS

it2026-08-26  4

1. Prints Kernal version

cat /proc/version

 

2. Prints Linux version

lsb_release -a

 

First, install the epel repository.

sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

 

Next, install remi repository.

sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

 

Now, install redis using yum package manage.

yum install redis

 

Start redis using the following command.

service redis start

 

转载于:https://www.cnblogs.com/ouxingning/p/install_redis.html

最新回复(0)