Home > php教程 > php手册 > body text

Redis 学习,redis学习

WBOY
Release: 2016-06-13 08:41:29
Original
954 people have browsed it

Redis 学习,redis学习

非关系型数据库Redis V3.0( 6379 端口)

 

端口含义:

 

开发者:

 

国内对NoSQL的使用:

 

 

 

 

 

产品官网:http://redis.io/

参考手册:http://redisdoc.com/

中文文档:http://redisdoc.com/

redis的github地址: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是开源,BSD许可,高级的key-value缓存存储系统。 可以用来存储字符串,哈希结构,链表,集合,因此,常用来提供数据结构服务。 通常也叫做 结构化 非关系型数据库

 

缓存:因为redis和memcache一样,也是一个内存缓存系统。

但是它多了一个持久化的功能,可以将内存之中的数据,同步到磁盘上,防止数据的丢失。

一、系统概述

1.环境检查

[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

 

注意:当获取操作系统信息之后,下载对应操作系统的源码包

 

2. 编译前环境准备(源码编译前需执行如下命令)

[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

 

注意:安装lamp环境报错?

error libiconv_open undefined

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

 

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

二、编译安装

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!