首页 > 后端开发 > php教程 > HBase Thrift 0.5.0 + PHP 五 安裝設定

HBase Thrift 0.5.0 + PHP 五 安裝設定

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-13 10:55:00
原创
895 人浏览过

HBase Thrift 0.5.0 + PHP 5 安裝設定

原文地址:

http://blog.kfchph.com/20-hbase-thrift-050-php5/

系統環境與套件版本

  • 作業系統環境: Ubuntu 9.04 Server x2
  • Hadoop 0.20.2 Fully-distributed modes
  • HBase 0.89.20100621 Fully-distributed modes
  • Thrift 0.5.0

1. 下載 Thrift 0.5.0

1 wgetftp://ftp.stu.edu.tw/Unix/Web/apache//incubator/thrift/0.5.0-incubating/thrift-0.5.0.tar.gz

2. 安裝 Thrift 相依套件

Thrift 需要 C++ 的 libboost 函式庫, 以及 flex, libtool 方能運作

1 $?sudo?apt-get?install?libboost-dev automake libtool flex bison g++

3. 安裝需要的程式語言, 這裡安裝 Python & PHP

注意, 不能裝 php5, 不然會沒有設定檔

1 $?sudo?apt-get?install?python python-all-dev
2 $?sudo?apt-get?install?php5-dev

4. 於 Thrift 目錄執行環境設定檢測

1 $?cd?thrift0.5.0/
2 $ ./configure

正常應輸出:

01 thrift 0.5.0
02 ?
03 Building code generators ..... : cpp java as3 csharp py rb perl php erl cocoa st ocaml hs xsd html js javame
04 ?
background-image: none !important; background-color: #1b2426 !important; text-align: left !impo

相关标签:
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板