I am new to redis. and I just followed cli to install redis sudo apt-get install redis
.
but the install server version is 2.2.12
. If I want to update this version and I want to install redis 2.7 +
then how can I do this thing, please help. I am working on ubuntu 12.04
Ubuntu – How to install the latest stable version of Redis
redisUbuntu
Related Topic
- Ubuntu – How to install the latest version of Sphinx Seach in Apt-get
- Ubuntu – How to set up redis to run automatically on the Ubuntu machine the way it does on mac
- How to uninstall the redis installed from source in ubuntu 12.04
- Ubuntu – Can’t get bower working – bower ESUDO Cannot be run with sudo
- Heartbleed – How to Reliably Check OpenSSL Version
Best Answer
Either compile from source or build a
.deb
package viafpm
:Install
fpm
withgem
:Compile Redis:
Build
.deb
package:# cp src/{redis-benchmark,redis-check-aof,redis-check-dump,redis-cli,redis-server} /tmp/redis-$VERSION.$$/usr/bin
# fpm -s dir -t deb -n redis-server -v 2.4.16 -C /tmp/redis-2.4.16.18597/ -p redis-server-2.4.16_amd64.deb usr/bin/
Upgrade Redis:
Examine the version:
Source: https://gist.github.com/944216