使用homebrew安装Redis
1、安装homebrew,打开终端输入以下命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
2、使用homebrew安装命令
brew install redis

3、启动redis服务
//方式一:使用brew帮助我们启动软件
brew services start redis
//方式二
redis-server /usr/local/etc/redis.conf
redis-server

4、查看redis服务进程
ps axu | grep redis
2845



被折叠的 条评论
为什么被折叠?



