第二个模块 Redis安装-Ubuntu16.04 LTS

Redis官网 https://redis.io
Redis 中国镜像
Redis中国用户组(CRUG) http://www.redis.cn/download.html
Redis 数据类型的应用场景


Redis 版本:3.2.1 下载 redis-3.2.1.tar.gz
服务器系统:ubuntu 16.04 LTS x64


解压下载的文件

wget -c https://github.com/antirez/redis/archive/3.2-rc1.tar.gz
tar -zxvf redis-3.2.1.tar.gz
cd redis-3.2.1/

安装

make
make test
make install

默认安装目录 : /usr/local/bin
修改默认安装目录 : make PREFIX=/some/other/directory install

运行

./src/redis-server ./redis.conf

客户端登录

./src/redis-cli

你可能感兴趣的:(第二个模块 Redis安装-Ubuntu16.04 LTS)