Manta Manager¶
This guide will walk you through the installation process of the Manta Manager, covering all the required dependencies and steps to set up your environment.
Dependencies¶
To successfully install and run Manta Manager, you need to have the following dependencies installed:
MongoDB¶
MongoDB is used as the database by Manta Manager to store essential information such as swarms, nodes, tasks, logs, and results.
Installation on Linux¶
Import the MongoDB public GPG Key:
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
Create a list file for MongoDB:
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
Reload the local package database:
sudo apt-get update
Install MongoDB:
sudo apt-get install -y mongodb-org
Start MongoDB:
sudo systemctl start mongod
Installation on Windows and MacOS¶
For Windows and macOS, please refer to the official MongoDB documentation for installation instructions:
Mosquitto Broker¶
Mosquitto is an MQTT broker used by Manta Manager to facilitate communication between nodes and the manager.
MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol designed for connections with remote locations where a small code footprint is required or network bandwidth is limited.
Installation on Linux¶
Update your package list:
sudo apt-get update
Install Mosquitto:
sudo apt-get install -y mosquitto mosquitto-clients
Start Mosquitto:
sudo systemctl start mosquitto
Installation on Windows and macOS¶
For Windows and macOS, please refer to the official Mosquitto documentation for installation instructions: Mosquitto Installation Guide
Note
While the Mosquitto broker doesn’t need to be deployed on the same machine as the Manta Manager, it must be accessible by both the nodes and the manager. The simplest setup is to deploy the broker on the same machine as the manager.
Installing Manta Manager¶
The recommended way to install Manta Manager is by using pre-built packages, which simplify the setup process and ensure all dependencies are correctly configured.
Download the Wheel File: Obtain the pre-built wheel file for the Manta Manager from the official release repository.
Install the Wheel File: Use pip to install the downloaded wheel file. Run the following command in your terminal:
pip install manta_manager-<version>-py3-none-any.whl
This installation method minimizes compatibility issues and is ideal for most users.