当前位置:   article > 正文

thingsboard安装及配置_thingsboard java11 is not installed

thingsboard java11 is not installed

参考网址:https://thingsboard.io/docs/getting-started-guides/helloworld/

github地主:https://github.com/thingsboard/thingsboard

thingsboard使用了

actor模型:akka

用作服务调度:zookeeper

远程调用:gRPC,thrift

持久化:Cassandra(https://cassandra.apache.org/数据存储),datastax(数据访问)

演示环境:https://demo.thingsboard.io/login

 

服务端安装(rpm安装):参考文档https://thingsboard.io/docs/user-guide/install/linux/(centos7)

1:thingsboard-1.3.rpm。下载地址https://github.com/thingsboard/thingsboard/releases/download/v1.3/thingsboard-1.3.rpm

2:sudo rpm -Uvh thingsboard-1.3.rpm,报错:java-1.8.0 is needed by thingsboard-0:1.3.0-1.noarch。猜测跟jdk的某些配置有关

sudo alternatives --config java

sudo alternatives --install /usr/bin/java java /usr/jdk1.8.0_60/bin/java 1,错误继续.删除配置

sudo alternatives --remove java /usr/jdk1.8.0_60/bin/java

 

下载rpm版的jdk安装文件(jdk-8u144-linux-x64.rpm)。

sudo rpm -Uvh jdk-8u144-linux-x64.rpm.sudo rpm -Uvh thingsboard-1.3.rpm执行成功

 

使用postgres数据库

 

# Install packages

sudo yum install postgresql-server postgresql-contrib

# Initialize your PostgreSQL DB

sudo postgresql-setup initdb

sudo systemctl start postgresql

# Optional: Configure PostgreSQL to start on boot

sudo systemctl enable postgresql

 

修改/var/lib/pgsql/data/postgresql.conf

listen_addresses = '*'    

 

修改pg_hba.conf 

host    all             all             x.x.x.x/32        md5。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/951346
推荐阅读
相关标签
  

闽ICP备14008679号