Redis 學習,redis學習_PHP教程

來源:互聯網
上載者:User

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

二、編譯安裝

http://www.bkjia.com/PHPjc/1122394.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1122394.htmlTechArticleRedis 學習,redis學習 非關係型資料庫Redis V3.0( 6379 連接埠)   連接埠含義:   開發人員:   國內對NoSQL的使用:           產品官網:http://redis...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    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.