reinstall redis-server on ubuntu code example
Example 1: install redis ubuntu
sudo apt update
sudo apt install redis-server
sudo systemctl restart redis.service
sudo systemctl status redis
redis-cli
Example 2: redis install ubuntu
$ 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