Apache Thrift 安裝
  • 5,945 views,
  • 2015-06-16,
  • 上傳者: Kuann Hung,
  •  0
257d3c753ce950d73912e26c5f701b3d.jpgApache Thrift 是一個挺有趣的東西,由 Facebook 所提出。透過定義好的描述性語言,讓不同語言 (C++, C#, Cocoa, Erlang, Haskell, Java, Ocami, Perl, PHP, Python, Ruby, Smalltalk) 得以互通
 
其實講穿了,就像是一個定應資料傳遞方式的 web service ,並且應用 RPC 的概念~~~
安裝步驟
1.
Install the Platform Development Tools
yum -y groupinstall "Development Tools"
2.
Upgrade autoconf/automake/bison
yum install -y wget
3.
Upgrade autoconf
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar xvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr
make
make install
cd ..
4.
Upgrade automake
wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
tar xvf automake-1.14.tar.gz
cd automake-1.14
./configure --prefix=/usr
make
make install
cd ..
5.
Upgrade bison
wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
tar xvf bison-2.5.1.tar.gz
cd bison-2.5.1
./configure --prefix=/usr
make
make install
cd ..
6.
Install C++ Lib Dependencies
yum -y install libevent-devel zlib-devel openssl-devel
7.
Upgrade Boost
wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz
tar xvf boost_1_55_0.tar.gz
cd boost_1_55_0
./bootstrap.sh
./b2 install
8.
Build and Install the Apache Thrift IDL Compiler
git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift
./bootstrap.sh
./configure --with-lua=no
make
make install
Facebook 討論區載入中...
資料夾 :
發表時間 :
2015-06-16 22:59:00
觀看數 :
5,945
發表人 :
Kuann Hung
部門 :
老洪的 IT 學習系統
QR Code :