yum install gcc
二.linux下安裝
#下載wget http://download.redis.io/releases/redis-3.0.0.tar.gztar zxvf redis-3.0.0.tar.gzcd redis-3.0.0#如果不加參數,linux下會報錯make MALLOC=libc
安裝好之後,啟動文件
#啟動redissrc/redis-server &#關閉redissrc/redis-cli shutdown
測試redis
$ src/redis-cli127.0.0.1:6379> set foo barOK127.0.0.1:6379> get foo"bar"$
http://xxxxxx/Linuxjc/1156013.html TechArticle