Skip to content

Instantly share code, notes, and snippets.

@vikbert
Last active May 27, 2020 06:49
Show Gist options
  • Save vikbert/d71f0b638734f4060983110481c0074b to your computer and use it in GitHub Desktop.
Save vikbert/d71f0b638734f4060983110481c0074b to your computer and use it in GitHub Desktop.
[Redis] redis Guideline #redis

Redis Guideline

The guideline is tested on centOs 7

Enable redis remote access

Check your /etc/redis.conf, and make sure to change the default:

bind 127.0.0.1

to

bind 0.0.0.0

Then restart your service:

sudo service redis restart

Install redis client

redis desktop Manager on MacOS

Run in Terminal app:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null

Run:

brew cask install rdm

Start RDM on macOS

host: 127.0.0.1 port: 6379

redis commander on all OS

set .redis-commander to empty

echo "{}" > ~/.redis-commander

then start redis-commander on MacOS host

$ redis-commander

then open URL http://127.0.0.1:8081/ in browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment