Thingsboard is a powerful open-source IoT platform for devices, data collection, processing, and visualization. In this tutorial, we will guide you through the process of installing Thingsboard on a Windows 10 operating system.
Prerequisites
To install Thingsboard on Windows 10, you need to have the following:
- Java 8 or later installed
- PostgreSQL 9.5 or later installed
Step 1: Download Thingsboard Package
The first step is to download the Thingsboard package from the official website. To do this, follow these steps:
- Go to the Thingsboard website at https://thingsboard.io/.
- Click the "Download" button on the top right corner of the screen.
- Under the "Community Edition" section, select the package that suits your operating system. In this case, choose the "Windows (ZIP)" package.
- Once downloaded, extract the package to your preferred location.
Step 2: Install PostgreSQL
Before installing Thingsboard, you need to have PostgreSQL installed on your system. Here are the steps to install PostgreSQL:
- Go to the PostgreSQL download page: https://www.postgresql.org/download/windows/
- Download the installation package for the version of PostgreSQL that you require.
- Run the installation file and follow the prompts to install the PostgreSQL database.
Step 3: Configure PostgreSQL
After installing PostgreSQL, you need to configure it to work with Thingsboard. Here are the steps to configure PostgreSQL:
- Open pgAdmin, the graphical client for PostgreSQL.
- Create a new database by right-clicking on the "Databases" node and selecting "New Database".
- In the "New Database" window, give your database a name and set the owner to the "postgres" user.
- Click "Save" to create the new database.
- Right-click on the new database and select "Properties".
- In the "Properties" window, select the "Security" tab and set the "Password" field to your desired password.
Step 4: Configure Thingsboard
Now that PostgreSQL is properly configured, you need to configure Thingsboard to use it. Here are the steps to configure Thingsboard:
- Open the Thingsboard directory that you extracted in step 1.
- Navigate to the "conf" directory and open the "thingsboard.yml" file in a text editor.
- Find the "datasource" section and uncomment the following lines:
datasource:
url: jdbc:postgresql://localhost:5432/thingsboard
username: postgres
password: YOUR_PASSWORD_HERE
...
- Replace "YOUR_PASSWORD_HERE" with the password you set for the "postgres" user in step 3.
- Save the changes to the "thingsboard.yml" file.
Step 5: Start Thingsboard
After configuring Thingsboard, you are ready to start it. Here are the steps to start Thingsboard:
- Open a command prompt and navigate to the Thingsboard directory.
- Run the following command to start Thingsboard:
.\bin\thingsboard.bat start
- Thingsboard should now be running, and you can access it by navigating to http://localhost:8080 in your web browser.
Congratulations! You have successfully installed Thingsboard on your Windows 10 operating system.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!