install redis ubuntu 18.04 server code example
Example 1: how to install redis in ubuntu
sudo apt update
sudo apt install redis-server
sudo nano /etc/redis/redis.conf
# change "supervised no" to "supervised systemd"
supervised systemd
sudo systemctl restart redis.service
sudo systemctl status redis
redis-cli
Example 2: locate redis.conf on ununtu / linux
sudo micro /etc/redis/redis.conf