You can read more in the official Redis documentation.įor the greatest level of data safety, it is advised that you consider running both persistence methods.
sudo add-apt-repository ppa:chris-lea/redis-serverĪfter adding the PPA, we need to update our system packages before proceeding to install the redis-server using the command below : sudo apt-get update Next, we need to add a third-party PPA which contains the Redis package. It is also you required that you install the software-properties-common package if it is not presently installed: sudo apt-get install software-properties-common This is done with the command below: sudo apt-get update & sudo apt-get upgrade It is always recommended that you update the system to the latest packages before beginning any major installations.
Once you have signed up, log into your Cloudwafer Client Area and deploy your Cloudwafer cloud server. Take a moment to create an account after which you can easily deploy your own cloud servers. If you have not already registered with Cloudwafer, you should begin by getting signed up.
In this guide, we will explain how to install and configure Redis on an Ubuntu 16.04 server. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, HyperLogLogs and geospatial indexes with radius queries.
Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.