redis-commander – how to install on Utuntu 14.04 LTS

How to install it
sudo apt-get install npm
sudo chown -R $USER /usr/local
npm install -g redis-commander
ln -s /usr/bin/nodejs /usr/bin/node
redis-commander

Starting your redis-commander
redis-commander --redis-host 127.0.0.1 --redis-port 32001 -p 8081
How to access via web browser?

http://you-ip:8081

How to protect your redis-commander with a username / password

Add at the end of the redis-commander command –http-u desired-username and –http-p desired-password.

redis-commander --redis-host 127.0.0.1 --redis-port 32001 -p 8081 --http-u desired-username --http-p desired-password
References:

http://blog.biasedwalk.com/2014/02/installing-redis-commander-on-ubuntu.html
https://github.com/joeferner/redis-commander
http://www.reddit.com/r/laravel/comments/2jex9b/introducing_route_annotations_in_laravel_50/

 

One thought on “redis-commander – how to install on Utuntu 14.04 LTS

  1. Do NOT follow the advice of changing your /usr/local ownership to yourself.

    This will cause huge security vulnerabilities and likely break daemons that expect file ownership under /usr/local to stay stable.

    Either use sudo or install it locally by skipping the -g.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.