search
Homephp教程php手册Redis 学习,redis学习

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

二、编译安装

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools