Redis installation and use under Linux

Source: Internet
Author: User
Tags download redis redis

1. Download Redis:

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

If you are prompted that the wget command does not exist, you will need to install wget, as follows:

Yum Install wget Yum Install Perl

2, Decompression:

tar zxvf redis-3.2. 9. tar. gz

3. Enter the unpacked folder and compile:

CD redis-3.2. 9 Make 
Make install

If the compilation error, prompt: gcc command not found, because GCC is not installed, the installation method is as follows:

Yum Install GCC Yum Install GCC Yum Install Make 

If the report: Error:jemalloc/jemalloc.h:no such file or directory, see: Redis installation Error error:jemalloc/jemalloc.h:no such file or direct Ory Workaround

4, modify the configuration:

VI redis.conf

If you need to enable permission validation, search for "Requirepass", remove "# Requirepass foobared" Before the pound, and replace foobared for your password

If you need to enable remote login for Redis, see: Redis on-access

5. Start:

Redis-server   redis.conf &

Reference:

Http://www.cnblogs.com/sandea/p/5782192.html

Http://www.cnblogs.com/silent2012/p/3499654.html

Redis installation and use under 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.