centos6.8使用yum安装redis

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum install -y http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
yum --enablerepo=remi install redis

redis配置文件在 /etc/redis.conf

启动 service redis start
设置开机启动 chkconfig redis on

你可能感兴趣的:(redis,redis)