当前位置:网站首页>Installation of thingsboard, an open source IOT platform
Installation of thingsboard, an open source IOT platform
2022-07-02 18:49:00 【qq_ forty-five million nine hundred and seventy-three thousand 】
ThingsBoard It's an open source platform , Powerful , Stable performance . Used to collect and visualize data from IOT devices . Data from any number of devices can be sent to The cloud service device , You can view or share through customizable dashboard in ECs
ThingsBoard Relevant concepts
Tenant tenant: Individuals or organizations that own or IOT devices .
Equipment management : Tenants can create and add their own devices , Each device has a unique ID Used to bind with the specified Sensor .
The dashboard : The instrument panel is mainly used to display the data uploaded by various sensors . The dashboard can customize the real-time controllable data display .
Rule chain : Standard setting of the Internet of things , The data reported by the sensor can be processed by rules , Through the development of process display or alarm .
In this position, first post the problems you may encounter in the installation process, and then post the posts that may solve the problems
https://blog.csdn.net/qq_35377323/article/details/112979532
That's it. For others, please refer to the official website
ThingsBoard development environment
step1: install java8 Configure environment variables at the same time
It should be noted that after our installation java You need to configure environment variables. Note that what you need here is Java1.8 Other versions Java There is a possibility that the new compilation will not succeed
step2: install maven
maven What we need is ours maven3.6 Version above , This can be downloaded by referring to the online tutorial
step3: install git The suggestion is to refer to relevant tutorials online
step4: install IDEA install idea If so, please refer to the online tutorial , It is recommended to install the cracked version idea, This is optional, and you can not install
step5: postgresql Reference documents for the use of [http://www.postgres.cn/docs/12/index.html](http://www.postgres.cn/docs/12/index.html) The abbreviation is postgres My study manual
That's the installation thingsboard Previous preparations
net start thingsboard
Note that when we start the service, the service may fail to start
net stop thingsboard
This is our order to stop the service
net start thingsboard
This is our instruction to start the service
The following picture shows that our service has been started successfully 
Then you can visit our website mainly through this http://localhost:8080/ Visit our website today
Note that you need to install java1.8 Otherwise, an error will be reported , Report errors , Report errors
java11 It should also be possible if java11 The version of is divided into two main oraclejdk and openjdk our thingsboard What we need is this openjdk
Then, the official provides multiple accounts
- System administrator : [email protected] / sysadmin
- Tenant Administrator : [email protected] / tenant
- Customer : [email protected] / customer
- The main reason is that we can choose the second one to log in sysadmin Just log in
Install our thingsboard service
You need to refer to the steps on the official website to complete the steps on the official website before proceeding to the next step
thingsboard Official installation tutorial http://www.ithingsboard.com/docs/user-guide/install/windows/# step 6- Run the installation script
It should be noted here that we need to follow the official tutorial step by step , The official told you to use the administrator's way to open cmd You need to use the administrator to open cmd Otherwise, unknown errors will occur
In this position, you need to start the service as an administrator on the command line, such as
Here, we log in as an administrator thingsboard The result interface of the website does not show the login interface 
The next step is to set up our firewall, set up our firewall and create new inbound rules
Use our window11 Open our firewall settings
1: Open our control panel In our window11 Search our control panel in the search box of 









Compile our thingsboard Code
In this position, it is in our idea Install our related plug-ins in. Here, we add our plug-ins first RPC Family bucket
https://github.com/singgel/RPC-SkillTree This is github The warehouse on is mainly for various components that need to be used
In our position, you use our cmd To compile our source code :
mvn clean install -DskipTests --settings D:\apache-maven-3.6.3\conf\thingsboardAliSettings.xml
mvn clean install -DskipTests --settings D:\apache-maven-3.6.3\conf\thingsboardSettings.xml
Note that I haven't completely solved the problem of compilation , Because this thing is still very rare for beginners , There will be many errors and various problems in the compilation process , I hope you can stick to it and solve the problem .
边栏推荐
- ESP32-C3入门教程 问题篇⑪——esp-tls: create_ssl_handle failed, tls_io_instance->options.trusted_certs null
- 元宇宙链游系统开发(逻辑开发)丨链游系统开发(详细分析)
- In early summer, Kaiyuan magic changed an electric mosquito racket with killing sound effect!
- How to write controller layer code gracefully?
- 什么是云原生?这回终于能搞明白了!
- 719. Find the distance of the number pair with the smallest K
- @Component cannot get Dao layer
- 距离度量 —— 杰卡德距离(Jaccard Distance)
- After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell
- 深度神经网络总结
猜你喜欢

鸿蒙第四次学习

又一所双非改考408,会爆冷么?南昌航空大学软件学院

300+ documents! This article explains the latest progress of multimodal learning based on transformer

Leetcode (81) -- search rotation sort array II

Redis (7) -- database and expiration key

材质UV遮罩的技巧

UE4 用spline画正圆

Détends - toi encore! Ces nouveaux étudiants peuvent s'installer directement à Shanghai

After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell

Leetcode 面试题 16.17. 连续数列
随机推荐
Rte11 interrupt decoupling function
The student Tiktok publicized that his alma mater was roast about "reducing the seal of enrollment". Netizen: hahahahahahahaha
【每日一题】第一天
SLAM|如何时间戳对齐?
AI开发调试系列第二弹:多机分布式调测探索之旅
Redis (6) -- object and data structure
Détends - toi encore! Ces nouveaux étudiants peuvent s'installer directement à Shanghai
任职 22 年,PowerShell 之父将从微软离职:曾因开发 PowerShell 被微软降级过
exness深度好文:动性系列-黄金流动性实例分析(五)
阿里三面被面试官狂问Redis,简历上再也不敢写'精通'了
Nm01 function overview and API definition of nm module independent of bus protocol
Leetcode interview question 17.04 Vanishing numbers
Leetcode 面试题 16.11. 跳水板
深度学习数学基础
What is cloud primordial? This time, I can finally understand!
options should NOT have additional properties
UE4 用spline畫正圓
QT official example: QT quick controls - Gallery
Websocket of Web real-time communication technology
[Northwestern Polytechnic University] information sharing of the first and second postgraduate examinations