linux上安装配置thrift操作hbase

1.下载thrift-0.11.0.tar.gz

 网址:Index of /dist/thrift/0.11.0

2.安装必要环境

yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel Python-devel ruby-devel crypto-utils

3.上传thrift-0.11.0.tar.gz到/usr/local文件夹

4.解压

tar zxf thrift-0.11.0.tar.gz

5.在cd thrift-0.11.0/文件夹下执行

   ./configure --with-cpp --with-boost --with-python --without-csharp --with-java --without-erlang --without-perl --with-php --without-php_extension --without-ruby --without-haskell  --without-go

6.编译

make

7.安装

sudo make install

8.启动hbase的thrift服务

在hbase安装目录的bin下执行 

 ./hbase-daemon.sh start thrift

你可能感兴趣的:(运维,hbase,thrift,linux,Centos)