Ubuntu源码编译redis-3.2.9
2017-06-08 14:24
134 查看
1. 编译dep及redis
编译depbigdata@ubuntu1:~/run/redis/deps$ bigdata@ubuntu1:~/run/redis/deps$ make geohash-int bigdata@ubuntu1:~/run/redis/deps$ make hiredis bigdata@ubuntu1:~/run/redis/deps$ make jemalloc bigdata@ubuntu1:~/run/redis/deps$ make linenoise bigdata@ubuntu1:~/run/redis/deps$ make lua
编译redis
bigdata@ubuntu1:~/run/redis$ make编译过程中,若有缺少的包,请自行安装。
2. 启动redis
bigdata@ubuntu1:~/run/redis/src$ ./redis-server &
测试
bigdata@ubuntu1:~/run/redis/src$ ./redis-cli 127.0.0.1:6379> set foo bar OK 127.0.0.1:6379> get foo "bar" 127.0.0.1:6379>
相关文章推荐
- 在Ubuntu中通过源码安装编译安装软件(MySQL篇)
- 在ubuntu上,源码编译安装Mplayer
- android ubuntu9.10 源码的编译 Eclipse工程 Contacts编译 应用加载
- ubuntu源码编译安装anjuta2。01
- 在Ubuntu10.04 下编译《UNIX环境高级编程》(第二版)源码
- Ubuntu学习笔记(1)---编译源码包
- ubuntu下编译android源码
- Ubuntu 9.10下的Android源码下载及编译
- Ubuntu 9.10下的Android源码下载及编译
- [整]基于ubuntu 10.04(32位机)的Android2.2 源码编译
- 在ubuntu中编译内核源码
- Ubuntu 8.04下编译Android源码全过程
- Ubuntu 安装texlive 并源码编译安装texworks lyx
- 总结出Ubuntu 9.04下编译Android源码的过程
- Ubuntu 10.04 源码编译安装bochs 2.4.5 成功
- ubuntu 9.04 上Android源码编译失败的原因
- AMD64位ubuntu9.04下编译Android源码
- Ubuntu 9.04中下载编译Android源码
- ubuntu 下基于源码的android平台搭建与内核编译
- Ubuntu上下载及编译Android源码