no code say j8
先把代码fork过来
https://github.com/redis/redis
https://github.com/xinyeshuaiqi/redis
代码下载到本地
再安装一个c/c++开发工具 clion,类似java的idea
https://www.jetbrains.com/clion/
导入redis工程

编译项目


开始运行redis server
redis-server是在src下

配置redis-server




redis server起起来了
可以看下server.c文件,是启动文件
ae.c处理client的io事件
然后启动redis客户端

转载请注明:汪明鑫的个人博客 » Redis源码环境搭建
说点什么
您将是第一位评论人!