Install Redis
To install Redis,
SSH into your server as the root user and run the following command.
sudo apt-get install redis-serverOnce installed, Redis will listen on port 6379.
View Redis activity
While developing or debugging your application, you can view every command processed by the Redis server by running the following command.
redis-cli monitorExample output:
1339518083.107412 [0 127.0.0.1:60866] "keys" "*"1339518087.877697 [0 127.0.0.1:60866] "dbsize"1339518090.420270 [0 127.0.0.1:60866] "set" "x" "6"1339518096.506257 [0 127.0.0.1:60866] "get" "x"1339518099.363765 [0 127.0.0.1:60866] "del" "x"1339518100.544926 [0 127.0.0.1:60866] "get" "x"Use Ctrl-C to exit monitoring.