ubuntu19.10安装thrift
環境:
ubuntu 19.10
thrift 0.13.0
###########################################################################
下載
https://mirror.bit.edu.cn/apache/thrift/0.13.0/thrift-0.13.0.tar.gz
###########################################################################
步驟如下:
apt install composer
apt-get install automake bison flex g++ git libboost1.55 libevent-dev libssl-dev libtool make pkg-config
tar -zxvf thrift-0.13.0.tar.gz
cd thrift-0.13.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
make
sudo make install
#########################################################################################
在Master中Hbase安裝目錄下的bin目錄啟動thrift服務:
./hbase-daemon.sh start thrift#########################################################################################
可能碰到的問題:
| 問題 | 解決方案 |
| 卡住在: Do not run Composer as root/super user! See https://getcomposer.org/root for details | sudo composer config repo.packagist composer https://mirrors.aliyun.com/composer/ |
| the requested PHP extension xmlwriter is missing from your system | sudo apt-get install php-xml |
?
Reference:
[1]Linux下安裝Thrift
[2]omposer Updating dependencies (including require-dev)不更新問題
?
?
?
?
?
?
總結
以上是生活随笔為你收集整理的ubuntu19.10安装thrift的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 地下城再次挑战在哪设置
- 下一篇: 中信银行app如何查看卡号