Home > Article > Backend Development > Redis learning, redis learning_PHP tutorial
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