Learn How-To Install Redis from Source
Table of Contents
Redis is often referred to as a data structures server. This means that Redis provides access to mutable data structures via a set of commands, which are sent by using a client/server model with TCP sockets. Different processes can query and modify the same data structures in a shared way. (from the official git repo)
First, your Linux server must be equipped with git. To install git, use the following command.
apt-get update; apt-get install -y git
yum update; yum install git
After the installation of the git, download the source code of Redis.
git clone http://github.com/antirez/redis/
Before compiling the source code, you should have the
build-essential package installed.
apt-get install build-essential
yum groupinstall "Development Tools"
Once this package is installed, make and install Redis.
sudo make; sudo make install
Congrats, you now have the Redis server installed! You can type
redis-cli to query/insert data or type
redis-benchmark to test out the performance of your VPS.
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!