Installation of thrift under windows

Overview

  Thrift was originally developed by Facebook and later submitted to the Apache Foundation as an open source project. At that time, facebook developed and used it to solve the transmission and communication of large amounts of data between systems in the system and the different language environments between systems required cross-platform features , so Thrift supports cross-language, such as C++,  JavaPythonPHP , Ruby, Erlang, Perl, Haskell, C#, Cocoa,  JavaScriptNode.js , Smalltalk, and OCaml are all supported. Thrift is a typical CS structure, and the client and server can be developed in different languages. Since the client and the server can be developed in different languages, there must be an intermediate language to associate the language of the client and the server. Yes, this language is IDL (Interface Description Language).


software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.---摘自Apache Thrift的官方描述

Prepare


local installation

1. Create a new Thtift folder in the C drive, rename the downloaded thrift-0.9.1.exe to thrift.exe and put it in the Thtift folder

2. Configure environment variables, as shown in the figure

 

3. Next , test whether the environment variables of thrift are installed correctly, Ctrl+R input cmd to open the DOS window, and input "thrift -version" in the window

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326838703&siteId=291194637