Redis 3.2.6 on Ubuntu 14.04

Source: Internet
Author: User

1. Official site:https://github.com/antirez/redis/releases

2. Compile and Setup

Tar zxf redis-3.2.6.tar.gz

CD Redis-3.2.6/deps

Export arch=

Make Geohash-int
Make Hiredis
Make Jemalloc
Ls
Make Linenoise
Make Lua

Cd..

Make

Make install

sudo./utils/install_server.sh (parameter All default)

3. Maintenance Instructions

Service redis_6379 Status
Service redis_6379 Stop
Service redis_6379 Start
Redis-cli
Redis configuration file/etc/redis/6379.conf
Grep-e-V "^#"/etc/redis/6379.conf |sed '/^$/d '

4. Configuration

/etc/redis/6379.conf

Due to the security policy adopted by Redis, only local access is allowed by default, and the configuration file above is modified.

Put the bind 127.0.0.1 comment off, and then change the protected-mode to No, set the password Requirepass,

Can be viewed with Windows client maintenance: Download Redisdesktopmanager (https://redisdesktop.com/)

After you set the password, redis-cli the connection, and then enter Auth Password1

5. Common Directives

Slightly

6. Reference:

http://blog.csdn.net/cuibruce/article/details/53501532

Http://www.cnblogs.com/kmonkeywyl/p/5728062.html

Redis 3.2.6 on Ubuntu 14.04

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.