Redis learning, redis learning _ PHP Tutorial

Source: Internet
Author: User
Redis learning and redis learning. Redis learning, redis learning non-relational database RedisV3.0 (Port 6379) Port meaning: Developers: domestic use of NoSQL: product official website: redis Redis learning, redis learning

Apsaradb for Redis V3.0 (Port 6379)

 

Port description:

 

Developers:

 

NoSQL usage in China:

 

 

 

 

 

Official website: http://redis.io/

Reference Manual: http://redisdoc.com/

Documents: http://redisdoc.com/

Redis github address: https://github.com/antirez/redis

 

Redis is an open source, BSD licensed, advanced key-value cache and store (storage ). it is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.

Redis is an open source, BSD license, and advanced key-valueCacheAndStorage System. It can be used to store strings, hash structures, linked lists, and collections. Therefore, it is often used to provide data structure services. It is usually called a structured non-relational database.

 

Cache: redis is also a memory cache system like memcache.

However, it provides a persistence function to synchronize data in the memory to the disk to prevent data loss.

1. System Overview

1. environment check

[Root @ asion ~] # Lsb_release-

LSB-Version: core-4.0-ia32: core-4.0-noarch: graphics-4.0-ia32: gr aphics-4.0-noarch: printing-4.0-ia32: printing-4.0-noarch

Distributor ID: CentOS

Description: CentOS release 5.5 (Final)

Release: 5.5

Codename: Final

 

# Uname-a ### unix name-a all

 

# Cat/etc/issue

 

Note: after obtaining the operating system information, download the source code package of the corresponding operating system.

 

2. prepare the environment before compilation (execute the following command before source code compilation)

[Root @ asion ~] # Yum-y install make apr * autoconf automake

Curl-devel gcc-c ++ zlib-devel openssl-devel pcre-devel gd kernel keyutils patch perl kernel-headers compat * mpfr cpp glibc libgomp libstdc ++-devel ppl cloog -ppl keyutils-libs-devel libcom_err-devel libsepol-devel libselinux-devel krb5-devel zlib-devel libXpm * freetype libjpeg * libpng * php-common php-gd ncurses * libtool * libxml2 libxml2-devel patch cmake

 

Note: An error is reported when installing the lamp environment?

Error libiconv_open undefined

Iconv ('gb2312', 'utf8', $ data );

 

Http://blog.csdn.net/felixit0120/article/details/7454862

II. compilation and installation

Http://www.bkjia.com/PHPjc/1122394.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1122394.htmlTechArticleRedis learning, redis learning non-relational database Redis V3.0 (Port 6379) Port meaning: Developers: domestic use of NoSQL: product official website: http: // redis...

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.