install redis as service code example Example: how to install redis sudo apt-get install redis-server