IoTDB provides you three installation methods, you can refer to the following suggestions, choose one of them:
To use IoTDB, you need to have:
Note: If you don't have maven installed, you should replace ‘mvn’ in the following commands with ‘mvnw.sh’ or ‘mvnw.cmd’.
Installation from binary files
You can download the binary file from: Here
You can get the released source code from https://iotdb.apache.org/Download/, or from the git repository https://github.com/apache/incubator-iotdb/tree/master You can download the source code from:
git clone https://github.com/apache/incubator-iotdb.git
Under the root path of incubator-iotdb:
> mvn clean package -DskipTests
Then the binary version (including both server and client) can be found at distribution/target/apache-iotdb-{project.version}-incubating-bin.zip
NOTE: Directories “service-rpc/target/generated-sources/thrift” and “server/target/generated-sources/antlr4” need to be added to sources roots to avoid compilation errors in IDE.
If you would like to build the IoTDB server, you can run the following command under the root path of incubator-iotdb:
> mvn clean package -pl server -am -DskipTests
After build, the IoTDB server will be at the folder “server/target/iotdb-server-{project.version}”.
You can build and run a IoTDB docker image by following the guide of Deployment by Docker