How to verify files for integrity
The Github repository redis-hashes contains a README file with SHA1 digets of released tarball archives.
Installation安装
Download, extract and compile Redis with:
ps:2.8.14是最近的稳定版
$ wget http://download.redis.io/releases/redis-2.8.14.tar.gz
$ tar xzf redis-2.8.14.tar.gz
$ cd redis-2.8.14
$ make
The binaries that are now compiled are available in the src
directory. 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"
第二种:
#安装Redis服务器端 ~ sudo apt-get install redis-server