Monday, 1 June 2015

How to install redis on Centos


Download, extract and compile Redis with:

root@javateam:~# wget
root@javateam:~# tar xzf redis-3.0.1.tar.gz
root@javateam:~# cd redis-3.0.1
root@javateam:~# make
The binaries that are now compiled are available in the src directory. Run Redis with:
root@javateam:~# src/redis-server
You can interact with Redis using the built-in client:
root@javateam:~# src/redis-cli
redis> set foo bar
redis> get foo

No comments:

Post a Comment