Home  >  Article  >  Backend Development  >  Redis learning, redis learning_PHP tutorial

Redis learning, redis learning_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 08:54:04965browse

Redis learning, redis learning

Non-relational database Redis V3.0 (6379 port)

Port meaning:

Developer:

Domestic use of NoSQL:

Official product website: http://redis.io/

Reference manual: http://redisdoc.com/

Chinese documentation: http://redisdoc.com/

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

Redis is an open source, BSD licensed, advanced key-value cache and store. 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 licensed, advanced key-valuecaching and storage system. It can be used to store strings, hash structures, linked lists, and sets. Therefore, it is often used to provide data structure services. It is also usually called structured non-relational database.

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

But it has an additional persistence function, which can synchronize the data in the memory to the disk to prevent data loss.

1. System Overview

1. Environmental inspection

[root@asion ~]# lsb_release -a

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. Environment preparation before compilation (the following commands need to be executed before source code compilation)

[root@asion ~]# yum -y install make apr* autoconf automake

curl-devel gcc gcc-c zlib-devel openssl 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: Is there an error when installing the lamp environment?

error libiconv_open undefined

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

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

2. Compile and install

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1122394.htmlTechArticleRedis learning, redis learning non-relational database Redis V3.0 (6379 port) Port meaning: Developer: Domestic Use of NoSQL: Product official website: http://redis...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn