The Redis packages are available under the default apt repository. For the installation of Redis on an Ubuntu VPS. Run below command from the terminal to install Redis on your machine:
sudo apt-get install redis-server
Next is to enable Redis to start on system boot. Also restart Redis service once.