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/repo...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/thingsboa...-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
here are all commands for install:
1. install postgresql-15 database software:
yum update -y
yum install -y https://download.postgresql.org/pub/repo...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/thingsboa...-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