Linux Redis Installation

Source: Internet
Author: User

1. https://redis.io/download the stable version of the installation. and unzip

2.make

3. Make Prefix=/usr/local/redis Install

4. Enter the/usr/local/redis/bin/and introduce

Redis-benchmark Performance Testing Tools

redis-check-aof checking the AOF log tool

Redis-check-dump checking the RBD log tool

REDIS-CLI Client

5. Copy the Conf file to the installation directory

cd/usr/local/src/redis-4.0.0

CP./redis.conf/usr/local/redis

6. Start./bin/redis-server./redis.conf

7. The screen does not move, so let the background start, change the configuration file redis.conf in the daemonize is yes

8. Re-execute 6 to check if startup: NETSTAT-TUPLN | grep 6379

9../BIN/REDIS-CLI can exit with exit

Link:./bin/redis-cli-h localhost-p 6379 explicitly linked to the specified address, not write local 6379

Linux Redis Installation

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.