How To Install Redis Server 3.0.0 On Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 And Derivative Systems

Hello Linux Geeksters. As you may know, Redis Server is an open-source, key value data store for Cassandra, CouchDB and MongoDB.

The latest version available is Redis Server 3.0.0, which has been recently released, coming with a huge list of changes.

What’s new in Redis 3.0 compared to Redis 2.8:

  • Redis Cluster: a distributed implementation of a subset of Redis.
  • New “embedded string” object encoding resulting in less cache misses. Big speed gain under certain work loads.
  • AOF child -> parent final data transmission to minimize latency due to “last write” during AOF rewrites.
  • Much improved LRU approximation algorithm for keys eviction.
  • WAIT command to block waiting for a write to be transmitted to the specified number of slaves.
  • MIGRATE connection caching. Much faster keys migraitons.
  • MIGARTE new options COPY and REPLACE.
  • CLIENT PAUSE command: stop processing client requests for a specified amount of time.
  • BITCOUNT performance improvements.
  • CONFIG SET accepts memory values in different units (for example you can use “CONFIG SET maxmemory 1gb”).
  • Redis log format slightly changed reporting in each line the role of the instance (master/slave) or if it’s a saving child log.
  • INCR performance improvements.

Refactoring changes (no new features nor bug fixes):

  • Blocking operations full refactoring (blocked.c)
  • Client output buffer memory tracking refactored.

General changes:

  • Fixes to diskless replication.
  • Test for BLPOP replication on role change.
  • prepareClientToWrite() error handling improvements.
  • Remove dict.c no longer used function.

how to install Redis Server 3.0.0 on Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2

In this article I will show you how to install Redis Server 3.0.0 on Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2 and other Ubuntu derivative systems.

Because it is available via PPA, installing Redis Server 3.0.0 on Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivative systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the redis-server package. Like this:

$ sudo add-apt-repository ppa:chris-lea/redis-server
$ sudo apt-get update
$ sudo apt-get install redis-server

Optional, to remove redis, do:

$ sudo apt-get remove redis-server

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!