How to install Redis 3.2.8 Database on Ubuntu 17.04 & Linux Mint

28/12/2020
Chưa phân loại

Redis 3.2.8 recently released, is an open source, in-memory data structure store, used as a database to cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, as well as 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. Before we look into how to install Redis on Ubuntu, lets take a quick look at its properties.

Redis Features

  • Supports trivial-to-setup master-slave asynchronous replication, with very fast non-blocking first synchronization. As well as auto-reconnection with partial resynchronization on net split
  • Transactions – allows redis to execute a group of commands in a single step
  • Pub/Sub – Messages sent by other clients to these channels will be pushed by Redis to all the subscribed clients
  • Lua scripting – EVAL and EVALSHA are used to evaluate scripts using the Lua interpreter built into Redis starting from version 2.6.0.
  • Keys with a limited time-to-live – Set a timeout on key. After the timeout has expired, the key will automatically be deleted
  • LRU eviction of keys – When Redis is used as a cache, often it expected to let it automatically evict old data as you add new one. Hence LRU is one of the supported eviction methods
  • Automatic failover – Redis Sentinel provides high availability for Redis
  • Furthermore, you can use Redis from most programming languages out there
  • Its written in ANSI C and works in most POSIX systems like Linux, *BSD, as well as OS X without external dependencies.

Redis 3.2.8 Changelog

This release comes with two important bug fixes, the first of one is critical:

  • Apparently Jemalloc 4.4.0 may contain a deadlock under particular conditions. Previously used Jemalloc versions was reverted back to.
  • MIGRATE could crash the server after a socket error

How to install Redis 3.2.8 on Ubuntu 17.04, Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04

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

How to uninstall Redis from Ubuntu

sudo apt-get remove redis
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Convert Hexadecimal to Decimal in Bash

Four types of number systems are popular in computer systems. These are Decimal, Binary, Octal and Hexadecimal. The binary...
29/12/2020

Best Zorin OS Wallpapers

Wallpaper is the very first thing that welcomes you when you log in to your computer. We may not feel like it but the sensory...
Chưa phân loại, vps giá rẻ
29/12/2020

Setup VIM for Python Development

How to Set Up VIM Editor for Python Programming VIM is a customizable programmable text editor. You can do anything you...
28/12/2020