Redis Download and installation deployment

Source: Internet
Author: User
Tags redis download pkill

Official website: Redis is a open source advanced Key-value store. It is often referred to as a data structure server since keys can contain strings,hashes,lists, sets and sorted sets.

Redis is a key-value storage system. The value types it supports include String,list,set (collection), Zset (ordered collection). To ensure efficiency, REDIS data is cached in memory, which periodically writes updated data to disk or writes modifications to the appended record file.

Applications for Redis

Operations that take the latest n data

Applications that require a precise setting of expiration time

Counter Application

Uniq operation, data weight

Real-time system, anti-spam system

Pub/sub Building a real-time messaging system

Building a queue system

Cache

Redis Download: Official address

Compile and install:

TAR-ZXVF Redis-3.0.3.tar. gzcd redis-3.0.3&& make install

Start Redis Service

Go to the Redis directory and enter "./src/redis-server redis.conf" to start the Redis service, so open the service take a session

Background boot: Modify redis.conf, change daemonize to "yes"

Default port: 6379

Enter the client

In a new window, go to the Redis directory, enter "./src/redis-cli", enter the client

Stop Redis Service

1. Use the shutdown command in the client

2. Pkill command using Linux (Pkill redis-server)

Reference Documentation:

Configuration file Parameter description

Redis Download and installation deployment

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.