Blogger Information
Blog 35
fans 0
comment 0
visits 23005
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Centos7 安装Redis
Spark
Original
604 people have browsed it

Redis 是一个开源的在内存存储键值对数据的存储程序。它可以被用作数据库,缓存,信息暂存,并且支持各种数据结构,例如:字符串,哈希值,列表,集合等等。 Redis 通过 Redis Sentinel 和 Redis 集群中多个 Redis 节点的自动分块处理,提供了高可用性。

参考阿里云官方镜像站:https://developer.aliyun.com/mirror/

下载redis安装包

wget http://download.redis.io/releases/redis-4.0.6.tar.gz

解压压缩包

tar -zxvf redis-4.0.6.tar.gz

yum安装gcc依赖

yum install gcc

跳转到redis解压目录下

cd redis-4.0.6

编译安装

make MALLOC=libc

cd src && make install

启动redis

./redis-server


就这些。你已经在 CentOS 系统上成功地安装了 Redis。


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post