前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >mac系统安装和配置redis

mac系统安装和配置redis

作者头像
Albert陈凯
发布2018-04-04 14:34:41
7020
发布2018-04-04 14:34:41
举报
文章被收录于专栏:Albert陈凯Albert陈凯

去官网下载安装文件

https://redis.io/download

我下载的是redis-3.2.8版本

代码语言:javascript
复制
wget http://download.redis.io/releases/redis-3.2.8.tar.gz

解压缩 => 切换目录 => 编译 => 安装

代码语言:javascript
复制
tar -zxvf redis-3.2.8.tar.gz
cd redis-3.2.8
sudo make test
sudo make install

测试是否安装成功

代码语言:javascript
复制
$ /usr/local/bin/redis-server 


5716:C 20 Apr 11:36:22.918 # Warning: no config file specified, using the default config. In order to specify a config file use /usr/local/bin/redis-server /path/to/redis.conf
5716:M 20 Apr 11:36:22.920 * Increased maximum number of open files to 10032 (it was originally set to 256).
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 3.2.8 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 5716
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

5716:M 20 Apr 11:36:22.921 # Server started, Redis version 3.2.8
5716:M 20 Apr 11:36:22.921 * DB loaded from disk: 0.000 seconds
5716:M 20 Apr 11:36:22.921 * The server is now ready to accept connections on port 6379

参考阅读 http://blog.csdn.net/zhaoqiubo/article/details/47445431 http://www.jianshu.com/p/6b5eca8d908b

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017.04.20 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云数据库 Redis
腾讯云数据库 Redis(TencentDB for Redis)是腾讯云打造的兼容 Redis 协议的缓存和存储服务。丰富的数据结构能帮助您完成不同类型的业务场景开发。支持主从热备,提供自动容灾切换、数据备份、故障迁移、实例监控、在线扩容、数据回档等全套的数据库服务。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档