redis 是一个基于内存的高性能key-value数据库,数据都保存在内存中定期刷新到磁盘,以极高的读写效率而备受关注。他的特点是支持各种数据结构,stirng,hashes, list,set,和sorted sets
1.下载安装
wget http://download.redis.io/redis-stable.tar.gz tar -zxvf redis-stable.tar.gz cd redis-stable make
2.make test 检查一下是否正常,遇到1个错误:You need 'tclsh8.5' in order to run the Redis test
[root@localhost redis-stable]# make test
3.使用一下命令安装
yum install tcl
然后再次执行:
root@localhost redis-stable]# make test
扫描二维码关注公众号,回复:
756689 查看本文章
这次最后提示:Cleanup: may take some time... OK
说明redis安装正常。可以运行。