centeros下redis 的安装
2016-12-14 17:50
363 查看
官网的安装教程很方便
https://redis.io/download
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:
https://redis.io/download
Installation
Download, extract and compile Redis with:$ wget http://download.redis.io/releases/redis-3.2.6.tar.gz $ tar xzf redis-3.2.6.tar.gz $ cd redis-3.2.6 $ make $ make install
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-cliredis> set foo bar OK redis> get foo "bar" 安装完成以后运行不会再后台,所以查了下 只需要在启动命令后加上redis.conf的路径就行 cd /usr/local/src $ wget http://download.redis.io/releases/redis-3.2.6.tar.gz $ tar xzf redis-3.2.6.tar.gz $ cd redis-3.2.6 $ make $ make install 安装完成后再cd /usr/local/bin 目录下会有启动文件 ./redis-server 只需要在后面加上conf的目录就可以
并修改conf文件 把daemonize设置为yes ./redis-server /usr/local/src/redis/redis.conf 这样就会在后台启动了
相关文章推荐
- Redis CenterOS安装过程
- CenterOS中安装Redis及开机启动设置
- centeros 安装redis
- CenterOS 中安装Redis及开机启动设置详解
- CenterOs 7 下Redis的安装和配置
- redis 安装
- redis安装,配置
- 高性能NOSQL数据库redis结合谷歌开源tcmalloc库的安装笔记
- 归档Redis在Windows,linux平台下的安装配置【转】
- Redis 安装1、2、3
- Redis的php扩展phpredis安装小记
- centos5.5 编译安装 redis2.2.11
- cacti 安装spine插件(流量监控CenterOS下调试通过)
- Linux下redis安装部署
- Redis安装配置【转】
- 安装 Redis
- 高性能NOSQL数据库redis结合谷歌开源tcmalloc库的安装笔记
- redis安装配置及使用【转】
- Redis (一) 安装
- Redis与PHP的安装与使用Redis与PHP的安装与使用