Redis installation tutorial, redis tutorial

Source: Internet
Author: User
Tags redis tutorial

Redis installation tutorial, redis tutorial

Redis is one of the most popular NOSQL databases. The following describes the installation process of redis:

1. installation environment Introduction:

Redis edition: redis-3.0.1
Linux: Red Hat Enterprise Linux Workstation release 7.0 (Maipo)

2. download the required Redis File

Download the latest stable version in the http://redis.io. The download is redis-3.0.1.tar.gz.

3. Put the downloaded file into the Linux System

Connect the xftptool in xmanagerto the corresponding machine and put redis-3.0.1.tar.gz in the/redis folder, for example:

4. decompress and compile the compressed file

Unzip: tar zxvf redis-3.0.1.tar.gz
Compile: make

5. Start the redis Server

Switch to the src directory and start the server through./redis-server/redis/redis-3.0.1/redis. conf

6. Verify that the server is successfully started.

Connect to the client through./redis-cli-h 192.168.161.252-p 6379, and set related values to verify whether the server is successfully started.

7. Other related commands

View redis related threads: ps-ef | grep redis
Disable the redis service:./redis-cli-h 192.168.153.138-p 6379
View redis information:./redis-cli-h 192.168.153.138-p 6379 info

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.