Showing posts with label redis. Show all posts
Showing posts with label redis. Show all posts

Friday, March 30, 2018

redis commands

start cli
redis-cli

show keys
KEYS

showo keys starting with blog
KEYS blog*

clear all keys (delete all from redis)
flushall

Wednesday, January 4, 2017

Redis stop Redis start

if you have properly installed redis as server just run
sudo systemctl restart redis

If not casually:
to stop redis
redis-cli shutdown 
to start redis
redis-server