Pages

Google Ads

Saturday, May 09, 2015

How to install Redis on Ubuntu Linux | Some commands

What is Redis?

Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.

Links:
http://redis.io/
https://github.com/antirez/redis

How to install Redis on Ubuntu Linux
# sudo apt-get install redis-server

How to run the Redis Server
# redis-server



Some commands:
# redis-cli

caiomsouza@ubuntu:~$ redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379> quit
caiomsouza@ubuntu:~$ redis-cli -h 10.4.101.33

# redis-cli --version

No comments: