Mac安装redis
Mac安装redis
背景:个人简单redis,简单做一下记录
1、安装命令:
brew install redis
2、配置文件存放位置:
/usr/local/etc/redis.conf
3、启动命令
brew services start redis
brew services stop redis
brew services restat redis
4、redis服务端和客户端存放目录
/usr/local/bin/redis-server
/usr/local/opt/redis/bin
5、redis:为什么速度快
单线程 + 多路IO复用
6、redis登录客户端,带密码登录
./redis-cli -p 6379 -a 123456
本文来自博客园,作者:alisleepy,转载请注明原文链接:https://www.cnblogs.com/alisleepy/p/15647400.html