instalar Redis Ubuntu
sudo apt update
sudo apt install redis-server
sudo systemctl restart redis.service
sudo systemctl status redis
redis-cli
Auuntoo
sudo apt update
sudo apt install redis-server
sudo systemctl restart redis.service
sudo systemctl status redis
redis-cli
# This explanation shows how to install the latest redis version on ubuntu
# add redis repository - as ubuntu normal repository holds an old version of redis
sudo add-apt-repository ppa:redislabs/redis
sudo apt-get update
# install redis
sudo apt-get install redis-server
# set redis to auto-strat on boot
sudo systemctl enable redis-server
sudo systemctl daemon-reload
$ wget https://download.redis.io/releases/redis-6.2.3.tar.gz
$ tar xzf redis-6.2.3.tar.gz
$ cd redis-6.2.3
$ make
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make