1.由于需要用到编译,所以先安装xcode,注意利用appstore安装xcode后,记得打开xcode 点install,也可以建立一个macos项目,运行下 试下。

 

 

2. 去官网下载:https://redis.io/

 

 

 

 

 


 

 

 

 

 

 

然后执行,make test 这步会很久

make test 

完毕后会看到:

 

 

 

然后再执行:

sudo make install

 

然后再运行它,启动redis

redis-server

 

 

 

 


 

 


 

 

 

 

 


 

posted on 2022-11-07 13:36  del88  阅读(580)  评论(0编辑  收藏  举报