Thursday, August 13, 2015

How to install Redis in ubuntu and send event

Please follow below instructions to install and use Redis
Type following commands in command line.


tar xzf redis-stable.tar.gz

cd redis-stable


make test

sudo make install

cd utils

sudo ./
As the script runs, you can choose the default options by pressing enter.

Port depends on the port you set during the installation. 6379 is the default port setting.

sudo service redis_6379 start
sudo service redis_6379 stop

Access redis command line tool

You will see following command line.

Then send events with key and value as follows.> publish EVENTCHANNEL sanjeewa11111199999999

No comments:

Post a Comment