Install Redis on Ubuntu 16.04 LTS

Im Durchschnitt wird dieses Tutorial Install Redis on Ubuntu 16.04 LTS mit 5 bewertet, wobei 1.0 die schlechteste und 5.0 die beste Bewertung ist. Es haben insgesamt 958 Besucher eine Bewertung abgegeben.

Install Redis on Ubuntu 16.04 LTS

NoSQL Ubuntu
tutorial - how to install redis on ubuntu

Mehr Code gibt´s
hier!

Cloud - einfach besser machen?

Redis -A NO-SQL database

Redis is an open source in-memory data-structure memory that can be used as a database, cache, and message broker. Supported are data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperlogs, as well as geodata indexes with radius queries.
Redis provides built-in replication, Lua scripting, LRU eviction, transactions, and various levels of on-disk persistence, providing both high availability via Redis Sentinel and automatic partitioning with Redis clusters.

How to install Redis on an Ubuntu 16.04 LTS Server is explained in this article.

Prepare the server

As before each installation, the server should be updated. The following order is sufficient:

apt -y update && apt -y upgrade && apt -y dist-upgrade

In addition, a few packages must be installed before the actual installation.

apt -y install build-essential tcl8.5

After installing these packages, the server is ready and you can proceed with the installation.

Installation

In contrast to the already installed packages, one cannot install Redis over APT. This makes the installation somewhat more complicated.

First, the Redis package must be downloaded using wget:

wget http://download.redis.io/releases/redis-stable.tar.gz

The archive can then be unpacked:

tar xzf redis-stable.tar.gz

You should then change to the folder that contains the new directory:

cd redis-stable

Then it is installed with the help of make Redis:

make && make test && make install

Then switch to the utils directory…

cd utils

… And run the install_server.sh file.

./install_server.sh

The installation is now complete. The following command is enough to start Redis:

service redis_6379 start

The following command is enough to access the program:

redis-cli

To return to the normal console, press Ctrl + C.
To terminate the Redis service, use the following command:

service resis_6379 stop

Summary

Since its release, Redis has quickly gained popularity and is used by github, flickr, Disqus and Craigslist. In addition, Redis can be used with most programming languages.
With these few steps, Redis can be installed on an Ubuntu 16.04 LTS server.

For more information about additional NoSQL databases such as RethinkDB and MongoDB, and their installations, please take a look at the following articles:
Install RethinkDB on Ubuntu
Install MongoDB on Ubuntu

Zurück zur Tutorial Übersicht Back to Tutorial Overview

Mehr Code gibt´s
hier!

Cloud - einfach besser machen?

Redis -A NO-SQL database Redis is an open source in-memory data-structure memory that can be used as a database, cache, and message broker. Supported are data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperlogs, as well as geodata indexes with radius queries. Redis provides built-in replication, Lua scripting, LRU […]

Schade, dass dir der Artikel nicht gefallen hat.
Was sollten wir deiner Meinung nach besser machen?

Thank you for your feedback!
We will get back to you as soon as the article is finished.

Übrigens: kennst du schon unser Tutorial zum Thema Nextcloud Backup and Update?