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

Moodle [Part 7] – Hướng dẫn tạo bài học và thêm các nội dung vào bài học trên Moodle

Tiếp tục series hướng dẫn sử dụng Moodle. Trong bài viết này, Onet sẽ hướng dẫn bạn tạo bài...
30/12/2020

Mattermost – Hướng dẫn cài đặt

Giới thiệu Mattermost Mattermost là giải pháp phần mềm thay thế cho các doanh nghiệp vừa và nhỏ...
30/12/2020

Tổng quan về OMD – Checkmk

Các bạn đang phân vân phầm về phần mềm giám sát và muốn tìm kiểm một phần mềm giám sát hiệu...
30/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025

Dịch Vụ Thiết Lập Hệ Thống Tường Lửa (Firewall)
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ảo Hóa & Cloud
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ceph
04/04/2025