NoSQL database for a key-value DB Redis
Quick Start Redis
use the key value DB (redis)
1
2
3
4sudo apt-get install redis-server
to test redis using: >> redis-cli to enter
then : 127.0.0.1:6379> set test 1
> get testOr download the redis from website
1
wget http://download.redis.io/releases/redis-3.0.2.tar.gz
Or download
1
2
3
4wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
makeUpdate the redis-server
first way
1
2
3sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-serveranother way to do this update
1
2
3
4sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:rwky/redis
sudo apt-get update
sudo apt-get install -y redis-server