Showing posts with label Redis. Show all posts
Showing posts with label Redis. Show all posts

Sunday, May 18, 2014

Installing Multiple Redis Versions on Ubuntu

Sometimes, for testing purpose as example, a developer needs to install and run different versions of Redis Server for different projects. And since I do not like wasting time on haching config files and pid files, this is the easiest way I use to run the desired Redis Server version.

It is as simple as downloading, compiling, and running the compiled server:
$ wget http://download.redis.io/releases/redis-2.8.9.tar.gz
$ tar xzf redis-2.8.9.tar.gz
$ cd redis-2.8.9
$ make
$ ./redis-server


If the version is older, you may not find it on redis.io. So try a URL like:
http://redis.googlecode.com/files/redis-1.2.6.tar.gz


That's it. Enjoy!