Redis
Synonyms:
In Ubuntu 16.04, redis-server bind to 127.0.0.1 by default.
Install Redis Server
sudo add-apt-repository ppa:chris-lea/redis-server -y
sudo apt -y install redis-server
redis-server -v
- config file: /etc/redis/redis.conf
Restart Redis Server
sudo /etc/init.d/redis-server restart
sudo /etc/init.d/redis-server status
Config Redis Server
sudo {{ texteditor.value }} /etc/redis/redis.conf
Connect to Redis Server
redis-cli
# Show info
info
# Show info clients
info clients
# Quit
exit