O'Reilly logo

Learning Storm by Anand Nalya, Ankit Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integrating Storm with Redis

Redis is a key value data store. The key values can be strings, lists, sets, hashes, and so on. It is extremely fast because the entire dataset is stored in the memory. The following are the steps to install Redis:

  1. First, you will need to install make, gcc, and cc to compile the Redis code using the following command:
    sudo yum -y install make gcc cc
    
  2. Download, unpack, and make Redis, and copy it to /usr/local/bin using the following commands:
    cd /home/$USER
    

    Here, $USER is the name of the Linux user.

    http://download.redis.io/releases/redis-2.6.16.tar.gz
    tar -xvf redis-2.6.16.tar.gz
    cd redis-2.6.16
    make
    sudo cp src/redis-server /usr/local/bin
    sudo cp src/redis-cli /usr/local/bin
    
  3. Execute the following commands to make Redis ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required