Redis Server Setup Tutorial

Install and Config

  • sudo apt update
  • sudo apt install redis-server
  • sudo nano /etc/redis/redis.conf ↓

supervised no >> supervised systemd

  • save and exit
  • redis-server /etc/redis/redis.conf 

During the installation, can’t write error may occur, but it’s OK. Just ignore it.

We can also install redis-server by the official tutorial: >>


tar xvzf redis-stable.tar.gz

cd redis-stable


  • sudo cp src/redis-server /usr/local/bin/ (or /usr/bin/ my default PATH environment is this one.)
  • sudo cp src/redis-cli /usr/local/bin/