Smart Home Automation Forum
How to install ThingsBoard IoT Platform on ECS cloud server - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: ThingsBoard — Open-source IoT (Internet of Things) Platform (https://www.kincony.com/forum/forumdisplay.php?fid=58)
+--- Thread: How to install ThingsBoard IoT Platform on ECS cloud server (/showthread.php?tid=6053)



How to install ThingsBoard IoT Platform on ECS cloud server - admin - 07-10-2024

How to install ThingsBoard IoT Platform on ECS cloud server

here are all commands for install:

1. install postgresql-15 database software:

yum update -y

yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

yum install -y postgresql15-server

/usr/pgsql-15/bin/postgresql-15-setup initdb

systemctl enable postgresql-15

systemctl start postgresql-15

modify username "postgres" password="postgres", create thingsboard database, switch to username:postgres

su - postgres

enter database command line mode:
psql -U postgres

\q

exit

change password:

\password

enter: postgres
enter password again: postgres

create database "thingsboard"

CREATE DATABASE thingsboard;

2. install Thingsboard:

download Thingsboard install file:

wget https://github.com/thingsboard/thingsboard/releases/download/v3.6.4/thingsboard-3.6.4.rpm

install thingsboard

yum install ./thingsboard-3.6.4.rpm -y

Initialize thingsboard database

/usr/share/thingsboard/bin/install/install.sh --loadDemo

Start thingsboard

systemctl start thingsboard.service

------------------------
The default account and password after installation are:
tenant default account:
username: tenant@thingsboard.org
password: tenant

administrator default account::
username: sysadmin@thingsboard.org
password:  sysadmin