Installation
Eclipse Mosquitto, Eclipse 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 and connected Eclipse project software 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:
Eclipse Mosquitto: mqtt://localhost:1883
Eclipse Streamsheets Web UI: http://localhost:8081
Default Credentials: User:
admin
Password:1234
. Change your password in the administration menu.Management Center Web UI: http://localhost:8088
Default Credentials: User:
cedalo
Password:mmcisawesome
. Change the password in the docker-compose.yml file. Find and change this entry:
CEDALO_MC_USERNAME: cedalo
CEDALO_MC_PASSWORD: mmcisawesome
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:
Eclipse Mosquitto: mqtt://localhost:1883
Eclipse Streamsheets Web UI: http://localhost:8081
Default Credentials: User:
admin
Password:1234
. Change your password in the administration menu.Management Center Web UI: http://localhost:8088
Default Credentials: User:
cedalo
Password:mmcisawesome
. Change the password in the docker-compose.yml file. Find and change this entry:
CEDALO_MC_USERNAME: cedalo
CEDALO_MC_PASSWORD: mmcisawesome
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:
Eclipse Mosquitto: mqtt://localhost:1883
Eclipse Streamsheets Web UI: http://localhost:8081
Default Credentials: User:
admin
Password:1234
. Change your password in the administration menu.Management Center Web UI: http://localhost:8088
Default Credentials: User:
cedalo
Password:mmcisawesome
. Change the password in the docker-compose.yml file. Find and change this entry:
CEDALO_MC_USERNAME: cedalo
CEDALO_MC_PASSWORD: mmcisawesome
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:
- Eclipse Mosquitto: mqtt://localhost:1883
- Eclipse Streamsheets Web UI: http://localhost:8081
- Management Center Web UI: http://localhost:8088
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.
Eclipse Mosquitto: mqtt://localhost:1883
Eclipse Streamsheets Web UI: http://localhost:8081
Default Credentials: User:
admin
Password:1234
. Change your password in the administration menu.Management Center Web UI: http://localhost:8088
Default Credentials: User:
cedalo
Password:mmcisawesome
. Change the password in the docker-compose.yml file. Find and change this entry:
CEDALO_MC_USERNAME: cedalo
CEDALO_MC_PASSWORD: mmcisawesome
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:
- Eclipse Mosquitto: mqtt://localhost:1883
- Eclipse Streamsheets Web UI: http://localhost:8081
- Management Center Web UI: http://localhost:8088
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.