一、Mac安装Redis
$brew search redis //查看redis $brew install redis //安装redis //启动redis,方式1: $brew services start redis //方式2 #指定参数启动,后台启动需这样做 $ redis-server /usr/local/etc/redis.conf #默认参数启动,这样启动关闭窗口后即停止,不推荐 $ redis-server
redis 默认安装在/usr/local/Cellar下,配置文件redis.conf在/usr/local/etc下。
连接服务默认端口为6379
标签:启动,Redis,redis,usr,brew,local From: https://www.cnblogs.com/developer-qin/p/16966624.html