Redis download installation (Linux) __linux

Source: Internet
Author: User
Tags benchmark memcached redis redis download install redis

Redis is one of the most popular NoSQL systems, and it is a key-value storage system. Similar to memcached, but largely compensates for the lack of memcached, which supports a relatively large number of stored value types, including string, list, set, Zset, and hash. These data types support Push/pop, Add/remove, and intersection-set and difference sets and richer operations. On this basis, Redis supports a variety of different ways of ordering. The Redis data is cached in the computer's memory and periodically writes the updated data to the disk or writes the modification operation to the appended record file.

Redis official website address: http://www.redis.io/

Latest Version: 2.8.3

Install Redis under Linux is very simple, the specific steps are as follows (official website has the explanation):

1, download the source code, decompression after the compilation of source code.

wget http://download.redis.io/releases/redis-2.8.3.tar.gz
 tar xzf redis-2.8.3.tar.gz
 CD redis-2.8.3
 Make

2, after the completion of the compilation, the redis.conf and src directory of Redis-server, Redis-benchmark, redis-cli files copied to a directory.

Mkdir/usr/local/redis
CP Redis.conf/usr/local/redis
CD SRC
CP redis-server/usr/local/redis CP
Redis-benchmark/usr/local/redis CP
Redis-cli/usr/local/redis
Cd/usr/local/redis

3, start Redis service.

$ redis-server   redis.conf

4, and then use the client test whether to start successfully.

$ redis-cli
redis> set foo bar
ok
redis> get foo
"Bar"


--This article is from: Redis Introduction and Installation (Linux)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.