1. 下载安装
apt-cache search redis
apt-get install redis-server
a、redis配置文件:/etc/redis/redis.conf
b、redis服务路径:/etc/init.d/redis-server
2. 启动Redis
cd /etc/init.d
redis-server &
注:要先进入"/etc/init.d"目录,再执行"redis-server &"命令启动redis
原文链接:http://www.cnblogs.com/linjiqin/p/3805683.html
时间: 2024-10-15 02:19:23