Mac redis安装
2017-08-10 23:29
302 查看
Download, extract and compile Redis with:
The binaries that are now compiled are available in the
You can interact with Redis using the built-in client:
指定缓存数据序列化位置(补充)
配置环境变量 [b]redis/src
[/b]
#进入下载目录 $ cd ... $ wget http://download.redis.io/releases/redis-4.0.1.tar.gz $ tar xzf redis-4.0.1.tar.gz $ cd redis-4.0.1 $ make
The binaries that are now compiled are available in the
srcdirectory. Run Redis with:
$ src/redis-server
You can interact with Redis using the built-in client:
$ src/redis-cli redis> set foo bar OK redis> get foo "bar"
指定缓存数据序列化位置(补充)
$ vi redis.con ... dir /Users/.../Documents/MySoft/redis_data/ ...
配置环境变量 [b]redis/src
[/b]
$ cd /etc $ vi profile ... export PATH="/Users/.../Documents/MySoft/redis-4.0.1/src:$PATH" ...
相关文章推荐
- 在mac上通过Homebrew安装redis
- Mac 安装和使用redis
- mac安装redis
- mac下安装redis命令行
- MAC 下 安装 MAMP的PHP redis扩展
- mac安装Redis可视化工具-Redis Desktop Manager
- mac下安装redis、redis客户端
- Redis在Mac下的安装与使用方法 (2013-09-15 00:49:01)转载
- Mac下安装redis
- mac 上安装 redis
- Mac 下安装redis
- Redis-安装 Mac os x
- 【redis】mac下 redis安装与测试
- mac 下安装运行 redis
- mac安装redis
- Mac系统安装Redis(方法一:官方下载解压,此种安装步骤较多)
- 1.mac os x下redis的安装
- mac 安装 redis
- Mac下安装Redis
- Mac xampp 安装redis + PHPredis