yum 安装 redis
redis在官方源上是没有的,需要安装其他的源,其他源的地址为
http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
安装步骤如下
#wgethttp://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
#rpm-ivhepel-release-6-8.noarch.rpm
#yuminstallredis
这样就安装成功了
启动redis
serviceredisstart
后台启动redis
nohupredis-server/opt/redis-2.6.7/redis.conf&
关闭
redis-clishutdown
关闭指定端口的redis-server
redis-cli-p6380shutdown
相关推荐
xiemanR 2020-09-21
王道革 2020-11-25
wangdonghello 2020-11-03
Langeldep 2020-11-16
chenhualong0 2020-11-16
聚合室 2020-11-16
koushr 2020-11-12
MRFENGG 2020-11-11
guoyanga 2020-11-10
fackyou00 2020-11-10
Orangesss 2020-11-03
dongCSDN 2020-10-31
rainandtear 2020-10-30
Quietboy 2020-10-30
liuyulong 2020-10-29
fansili 2020-10-29
温攀峰 2020-10-23
jackbon 2020-10-19