Skip to content

Create a new worker

benoit74 edited this page Nov 2, 2023 · 1 revision

We invite people to donate workers so we can process more tasks. When someone volunteers to, here's what's to do:

  • Ensure they've read and understood the doc
  • Ensure they have a static public IP. ZF is able to work with IPs that change but changes should not be frequent.
  • Explain how to configure the Offliner part of the config.
    • youtube is left out by default as it requires a static public IP. It should also be reserved to IPs not used for other YT requests (such as regular YT usage).
    • Should youtube be wanted, IP must be manually configured on all API Keys.
  • Create a dedicated user account with the worker role. Use contributor's given username or choose appropriately.
  • If contributor did not send a public RSA key
ssh-keygen -m PEM -t rsa -b 2048 -P "" -f id_rsa
cat id_rsa.pub | cut -d " " -f 2 > zimfarm.pub
  • Upload the RSA Public key inside the edit worker form
  • Request a small task (wikipedia_fr_test for instance) on this worker.
  • Ask contributor to follow Setup and assist them until that task is complete, ZIM is uploaded and can be downloaded.
  • Inform about new work in #zimfarm on Slack.