create a redis server code example
Example 1: check that redis is running
$ redis-cli ping
PONG
Example 2: start redis ubuntu
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
$ redis-cli ping
PONG
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make