User Tools

This is an old revision of the document!


Setup Site Manager Pi

A guide to setup the first Raspberry Pi used when Building a Site.

Parts & Tools

  • 1 Raspberry Pi 5 (or 4)

Steps

Step 1: Generic Pi Setup

Prepare a Raspberry Pi using Generic Pi Setup.

Step 2: Cloud Init changes

Mount the SD card in you computer, and edit the text file named user-data.

Ensure that the packages section looks like the following:

packages:
- avahi-daemon
- docker.io

This adds the docker package (the default version from ubuntu).

Ensure that the hostname is in the following format: mbt-X-manager where X is replaced with a name used for this Site. For example, a site called makerspace would have the hostname mbt-makerspace-manager.

Step 3: Initialise Docker Swarm

While logged in to the manager, run:

sudo docker swarm init

Verifying Success

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information