Installation

Here we will install a single Redis instance running on one server. To get Redis, we will perform the following steps:

  1. First navigate your way out to the Redis IO download page: https://redis.io/download. Unless you are an advanced user of Redis, you will want the stable release (Redis 4.0.8 as of the time of writing).
  2. Download Redis, create a local directory, and move it there:
sudo mkdir /local
sudo chown $USER:$USER /local
cd /local
mv ~/Downloads/redis-4.0.8.tar.gz . 
  1. Now we can untar it, and it should create a directory and expand the files into it:
tar -zxvf redis-4.0.8.tar.gz
  1. Many people find it more convenient to rename this directory:
mv redis-4.0.8/ redis
  1. The browser interaction can be skipped entirely, by hitting ...

Get Seven NoSQL Databases in a Week now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.