Video coming soon…

📡 Setup ThingsBoard — IoT Platform & Dashboards

Deploy ThingsBoard on Ubuntu — an open-source IoT platform for device management, telemetry collection over MQTT and CoAP, rule-engine automation, and real-time dashboards.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys ThingsBoard with PostgreSQL built in, on web port 8158 and MQTT port 1884.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/thingsboard/thingsboard-ubuntu.sh
chmod +x thingsboard-ubuntu.sh
sudo bash thingsboard-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/thingsboard/thingsboard-ubuntu.sh

2 Make it Executable

chmod +x thingsboard-ubuntu.sh

3 Run the Installer

The script installs Docker if needed and pulls the thingsboard/tb-postgres image, which bundles ThingsBoard and PostgreSQL in one container. It exposes the web UI on 8158, MQTT on 1884, and CoAP on UDP 5683-5688.

sudo bash thingsboard-ubuntu.sh

4 Log In to the Web UI

Open your browser and navigate to ThingsBoard, then log in as the tenant administrator with tenant@thingsboard.org / tenant and change the password immediately:

http://<your-server-ip>:8158

Ports Used

PortPurpose
8158Web UI + REST API (host → container 9090)
1884MQTT telemetry (host → container 1883)
5683-5688/udpCoAP telemetry

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions