`
jinghong
  • 浏览: 54769 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

thrift0.7.0在ubuntu11.04/11.10和centos6上的安装测试

阅读更多
参照
http://jnb.ociweb.com/jnb/jnbJun2009.html
http://wiki.apache.org/thrift/GettingUbuntuPackages

安装 ant和ivy
sudo tar xzvf apache-ant-1.8.2-bin.tar.gz -C /usr/local
sudo tar xzvf apache-ivy-2.2.0-bin-with-deps.tar.gz -C /usr/local

编辑profile
sudo vim /etc/profile

在内容里添加
export ANT_HOME=/usr/local/apache-ant-1.8.2
PATH=$ANT_HOME/bin:$PATH

在ivy目录下拷贝ivy的jar包到ant lib
sudo cp ivy-2.2.0.jar ../apache-ant-1.8.2/lib/


安装ubuntu需要的thrift包,并确定自己需要支持的语言,ubuntu下java,c++,python,erlang,ruby
sudo apt-get install libboost-dev libboost-test-dev libevent-dev automake libtool flex bison pkg-config g++
./configure --prefix=/usr/local/ --with-boost=/usr/local --without-csharp --without-perl --without-php --without-php_extension --without-haskell
make
make install

centos下c++,c,java,python,注意C语言支持需要加上 --with-c_glib
yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel glibc-devel glibc glib2 glib2-devel event event-devel openssl openssl-devel
./configure --prefix=/usr/local/ --with-boost=/usr/local --without-csharp --without-perl --without-php --without-php_extension --without-haskell --with-c_glib
分享到:
评论

相关推荐

    Apache Thrift环境配置

    安装Thrift的官方文档...当我看到windows安装需要Cygwin或MinGW时,我就直接放弃在windows中配置的想法了,直接打开虚拟机用CentOS进行安装,使用一堆命令安装毕竟比windows方便。 CentOS安装Thrift 官方文档地址: ...

    用C#和C++写的Apache Thrift的小范例

    本例改编自Apache Thrift教程: http://mikecvet.wordpress.com/2010/05/13/apache-thrift-tutorial-the-sequel/ http://chanian.com/2010/05/13/thrift-tutorial-a-php-client/ 原教程使用的是c++ server和...

    centos6.5编译好thrift

    在CentOS 6.5 g++版本4.4环境编译好的thrift-0.12.0.tar.gz可执行文件。

    thrift0.12.0 Ubuntu 安装包及安装教程.tar.xz

    thrift0.12.0 Ubuntu 安装包及安装教程.tar.xz

    Apache Thrift 使用说明

    详细介绍了Apache Thrift在Ubuntu以及Windows下基于C++和Java语言的安装和运行。附有小例子,亲自测试通过。所述方法网上应该有教程,但大多零散不统一或者不完整,因此本人整理了一份,特来分享。

    thrift安装

    thrift 安装包。

    编译后的thrift客户端

    编译后的thrift客户端,已经经过公司师父同意分享。 1. cp /Users/dxm/Desktop/thrift /usr/local/bin/ 2. echo $PATH 3. thrift 4. chmod +x /usr/local/bin/thrift 5. thrift 6. thrift -version

    虚拟机Centos安装thrift

    虚拟机安装thrift详细操作,完全是自己手动安装,目的是能够使用C++等其他语言访问HBase

    php_thrift_python安装测试记录

    php thrift 客户端调用 python服务端,学习了解thrif非常有用附代码和centos thift 安装文件

    thrift-load-balancer

    在第8行上,编辑属性“ thrift.home”的路径位置。 只需从顶部目录运行命令“ ant”。 ##如何运行? 在3个不同的终端窗口/选项卡中运行以下命令。 提示:Thrift-load-balancer / build $ java -cp ../thrift-...

    gothrift:节俭来自 git.apache.orgthrift.gitlibgothrift

    在 Go 中使用 Thrift 在遵循 Go 约定中,我们建议您使用“go”工具为 go 安装 Thrift。 $ go get git-wip-us.apache.org/repos/asf/thrift.git/lib/go/thrift将检索并安装最新版本的软件包。关于可选字段的

    scribe+thrift+fb303已经编译好的rpm包,直接下载安装使用

    最佳环境 CentOS 5.4 Scribe真正可用rpm安装包 apache-thrift-0.7.0-1.x86_64.rpm,fb303-0.7.0-1.x86_64.rpm,scribe-2.2-3.x86_64.rpm。无需编译,一命令安装。简单快捷,方便部署。 ============================...

    thrift编译相关资源

    windows下使用MinGW编译thrift方法: https://blog.csdn.net/xzhswust/article/details/126914014 windows下使用VS2015编译thrift方法: https://blog.csdn.net/xzhswust/article/details/126915345

    protobuf/thrift/avro-序列化性能测试工程

    工程目录介绍,标准的maven工程 src/main/resource : 放置schema lib:放置生成bean的工具 doc:放置测试结果

    thrift win7 安装与使用

    Thrift 在Windows下的安装与实例 vs2010 本文的不同之处在于,不借助Cygwin或者MinGW,只用VS2010,和Thrift官网下载的源文件,安装Thrift并使用。 本文可用于thrift-0.9.1.tar.gz,thrift-0.10.0.tar.gz版本安装

    linux下安装和测试thrift

    linux下呕心沥血的安装和测试thrift,真诚感谢整个过程中的各位帖主。

    thrift测试程序

    thrift测试程序 包含客户端和服务端

    使用thrift、websocket在javascript和cpp之间建立rpc调用

    使用thrift、websocket在javascript和c++之间建立rpc调用机制。 如果要使用js+html来写界面,cpp来写底层业务逻辑,这就非常有用了。 当然,如果底层不用cpp来写,也可以参考本代码的js对thrift的rpc包装。

    thrift-master-0.9.3-for-vs2013-vs2015

    thrift 0.9.3 for vs2013/vs2015 直接打开 thrift-master-0.9.3\lib\cppVS2013\thrift.sln thrift-master-0.9.3\lib\cppVS2015\thrift.sln 编译即可

    编译的spark-hive_2.11-2.3.0和 spark-hive-thriftserver_2.11-2.3.0.jar

    spark-hive_2.11-2.3.0...spark-hive-thriftserver_2.11-2.3.0.jar log4j-2.15.0.jar slf4j-api-1.7.7.jar slf4j-log4j12-1.7.25.jar curator-client-2.4.0.jar curator-framework-2.4.0.jar curator-recipes-2.4.0.jar

Global site tag (gtag.js) - Google Analytics