Using Redis as popular caching storage and also persistent key value database is always a good idea. Here I’m going to show you how to install it on a fresh Ubuntu 21.10 instance.
Prerequisites
- Ubuntu 21.10
- sudo privileges
Install Redis on Ubuntu 21.10 through APT
Step 1. Add the Redis package repository.
sudo add-apt-repository ppa:redislabs/redis
Step 1. Update the apt
database to get the latest version.
sudo apt-get update
Step 2. To install Redis on Ubuntu 21.10, run:
sudo apt-get install redis
Install Redis on Ubuntu 21.10 through Snapcraft
sudo snap install redis
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.