Installation

Mosquitto, Streamsheets and the Management Center are all available for Windows, Linux and macOS. In addition it also can be installed on a Raspberry Pi.

Installation#

The easiest way to install any of Cedalos products individually, as a bundle or the whole platform is to use the official Docker based installer image cedalo/installer, which is available at Docker Hub.

The installer will guide you through the installation process and will allow you to select which components you want to install: Eclipse Mosquitto, Eclipse Streamsheets, the Management Center or combinations of it.

The following sections describe how to do the Docker based installation on Windows, Linux and macOS.

Windows#

This section describes how to install Eclipse Mosquitto, Eclipse Streamsheets and the Management Center under Windows.

Step 1: Install Docker#

If you have not yet, install Docker for Windows (see installation instructions here).

Step 2: Use the installer#

For an installation under Windows use the installer image tagged with 2-win:

docker run -it -v C:\cedalo_platform:/cedalo cedalo/installer:2-win

In the following dialog you can select (using the space bar) which components should be installed:

? Select what to install β€Ί - Space to select. Return to submit
β—‰ Management Center for Eclipse Mosquitto
β—‰ Eclipse Streamsheets
β—‰ Eclipse Mosquitto 2.0
β—― Eclipse Mosquitto 1.6

When you have selected the components to install, press the return key, which will start the installation process. During the installation process the following files will be created within the installation directory:

C:\cedalo_platform
β”œβ”€β”€ docker-compose.yml # Docker Compose file
β”œβ”€β”€ mosquitto #
β”‚ β”œβ”€β”€ config # Configurations for Mosquitto
β”‚ β”œβ”€β”€ data # Data directory for Mosquitto
β”œβ”€β”€ start.bat # Start script
β”œβ”€β”€ stop.bat # Stop script
β”œβ”€β”€ streamsheets #
β”‚ β”œβ”€β”€ init.json # Configuration for Streamsheets
β”œβ”€β”€ update.bat # Update script

Step 3: Start everything#

To start everything you installed, just use the start.bat file.

cd C:\cedalo_platform
start.bat
info

If this is the first time you start the applications, Docker will first perform several downloads (i.e., Docker images) that are required for the application to run.

caution

Please do not close the terminal, in which you executed the start command. If you close the terminal, the applications will be stopped.

Step 4: Open the applications#

When everything is installed and started correctly the applications should be available under the following URLs:

Linux#

This section describes how to install Eclipse Mosquitto, Eclipse Streamsheets and the Management Center under Linux.

Step 1: Install Docker#

If you have not yet, install Docker for your Linux platform (see installation instructions here). For example, Docker is available for Centos, Debian, Fedora or Ubuntu.

Step 2: Use the installer#

For an installation under Linux use the installer image tagged with 2-linux:

docker run -it -v ~/cedalo_platform:/cedalo cedalo/installer:2-linux

In the following dialog you can select (using the space bar) which components should be installed:

? Select what to install β€Ί - Space to select. Return to submit
β—‰ Management Center for Eclipse Mosquitto
β—‰ Eclipse Streamsheets
β—‰ Eclipse Mosquitto 2.0
β—― Eclipse Mosquitto 1.6

When you have selected the components to install, press the return key, which will start the installation process. During the installation process the following files will be created within the installation directory:

~/cedalo_platform
β”œβ”€β”€ docker-compose.yml # Docker Compose file
β”œβ”€β”€ mosquitto #
β”‚ β”œβ”€β”€ config # Configurations for Mosquitto
β”‚ β”œβ”€β”€ data # Data directory for Mosquitto
β”œβ”€β”€ start.sh # Start script
β”œβ”€β”€ stop.sh # Stop script
β”œβ”€β”€ streamsheets #
β”‚ β”œβ”€β”€ init.json # Configuration for Streamsheets
β”œβ”€β”€ update.sh # Update script

Step 3: Start everything#

To start everything you installed, just use the start.sh file.

cd ~/cedalo_platform
sh start.sh
info

If this is the first time you start the applications, Docker will first perform several downloads (i.e., Docker images) that are required for the application to run.

caution

Please do not close the terminal, in which you executed the start command. If you close the terminal, the applications will be stopped.

Step 4: Open the applications#

When everything is installed and started correctly the applications should be available under the following URLs:

macOS#

This section describes how to install Eclipse Mosquitto, Eclipse Streamsheets and the Management Center under macOS.

Step 1: Install Docker#

If you have not yet, install Docker for macOS (see installation instructions here).

Step 2: Use the installer#

For an installation under macOS use the installer image tagged with 2-macos:

docker run -it -v ~/cedalo_platform:/cedalo cedalo/installer:2-macos

In the following dialog you can select (using the space bar) which components should be installed:

? Select what to install β€Ί - Space to select. Return to submit
β—‰ Management Center for Eclipse Mosquitto
β—‰ Eclipse Streamsheets
β—‰ Eclipse Mosquitto 2.0
β—― Eclipse Mosquitto 1.6

When you have selected the components to install, press the return key, which will start the installation process. During the installation process the following files will be created within the installation directory:

~/cedalo_platform
β”œβ”€β”€ docker-compose.yml # Docker Compose file
β”œβ”€β”€ mosquitto #
β”‚ β”œβ”€β”€ config # Configurations for Mosquitto
β”‚ β”œβ”€β”€ data # Data directory for Mosquitto
β”œβ”€β”€ start.sh # Start script
β”œβ”€β”€ stop.sh # Stop script
β”œβ”€β”€ streamsheets #
β”‚ β”œβ”€β”€ init.json # Configuration for Streamsheets
β”œβ”€β”€ update.sh # Update script

Step 3: Start everything#

To start everything you installed, just use the start.sh file.

cd ~/cedalo_platform
sh start.sh
info

If this is the first time you start the applications, Docker will first perform several downloads (i.e., Docker images) that are required for the application to run.

caution

Please do not close the terminal, in which you executed the start command. If you close the terminal, the applications will be stopped.

Step 4: Open the applications#

When everything is installed and started correctly the applications should be available under the following URLs:

Raspberry Pi#

This section describes how to install Eclipse Mosquitto, Eclipse Streamsheets and the Management Center on a Raspberry Pi under Raspbian. You can either manually work through all the steps below or use the script we prepared for you.

Fast Installation#

Open your shell and enter the following command to start the installation process:

curl -fsSL raw.githubusercontent.com/cedalo/streamsheets-installer/master/pi-installer.sh -o get-streamsheets.sh && sh get-streamsheets.sh

This installs and starts the Cedalo platform.

Starting & Stopping#

Starting Cedalo platform:

The Fast Install automatically starts the applications for the first time. To start after the Manual Install use the following commands.

Navigate into the folder β€œ~/cedalo_platform” with your shell and enter sudo sh start.sh.

cd ~/cedalo_platform
sudo sh start.sh

Now you are able to access your applications here:

You are able to access the applications from anywhere in your network, by typing in the IP-adress/hostname of your Pi together with the port 8081. The standard Raspberry Pi hostname is β€œraspberrypi”, which results in:

Standard hostname adress: raspberrypi:8081; raspberrypi:8088

Open a browser on another computer in the same local network and type the address.

On first usage you will have to accept the license agreement, before you can login to Streamsheets. The standard username and password is: User: 'admin' Password: '1234'

We strongly suggest changing the password after your first login.

Stopping Cedalo platform:

Navigate to your shell where the application is running and simply press ctrl + c or navigate into the folder β€œ~/cedalo_platform” with your shell and enter sudo sh stop.sh.

cd ~/cedalo_platform
sudo sh stop.sh

Manual Installation#

Step 1: Install Docker#

If you have not yet, install Docker for Raspbian (see installation instructions here and here) and install Docker Compose.

Step 2: Use the installer#

For an installation under Raspbian use the installer image tagged with 2-rpi:

docker run -it -v ~/cedalo_platform:/cedalo cedalo/installer:2-rpi

In the following dialog you can select (using the space bar) which components should be installed:

? Select what to install β€Ί - Space to select. Return to submit
β—‰ Management Center for Eclipse Mosquitto
β—‰ Eclipse Streamsheets
β—‰ Eclipse Mosquitto 2.0
β—― Eclipse Mosquitto 1.6

When you have selected the components to install, press the return key, which will start the installation process. During the installation process the following files will be created within the installation directory:

~/cedalo_platform
β”œβ”€β”€ docker-compose.yml # Docker Compose file
β”œβ”€β”€ mosquitto #
β”‚ β”œβ”€β”€ config # Configurations for Mosquitto
β”‚ β”œβ”€β”€ data # Data directory for Mosquitto
β”œβ”€β”€ start.sh # Start script
β”œβ”€β”€ stop.sh # Stop script
β”œβ”€β”€ streamsheets #
β”‚ β”œβ”€β”€ init.json # Configuration for Streamsheets
β”œβ”€β”€ update.sh # Update script

Step 4: Open the applications#

When everything is installed and started correctly the applications should be available under the following URLs:

info

If this is the first time you start the applications, Docker will first perform several downloads (i.e., Docker images) that are required for the application to run.

caution

Please do not close the terminal, in which you executed the start command. If you close the terminal, the applications will be stopped.