Skip to main content

Cardshop Writer Host

Cardshop use writer hosts to download, write and ship SD-cards to recipient. A WriterHost is an always-running, always-connected computer connected to one or more USB SD-card readers.

Writer Hosts authenticate with the cardshop fetch tasks. The WriterHost operator is contacted (email) when an SD-card must be inserted, retrieved and shipped.

Requirements

  • always-on-capable computer
  • 500GB storage or more.
  • high-speed, direct, permanent connection to internet via ethernet.
  • one or more good-quality USB SD-card readers (Kingston)
  • A writer account on the cardshop.
  • An assigned port on the demo server (see maintenance).

Setup

  1. Install Ubuntu 18.04.1 LTS server with default options (see below)
  • log-in and elevate as root (sudo su -)
  • set a password for root (passwd)
  • Make sure internet is working
  • download/copy your tunnel private key to /root/.ssh/tunnel (chmod 600)
  • download setup script curl -L -o /tmp/whost-setup https://raw.githubusercontent.com/kiwix/cardshop/master/whost/whost-setup
  • run the setup script chmod +x /tmp/whost-setup && REVERSE_SSH_PORT=XXX /tmp/whost-setup

Ubuntu Install

Just a regular, fresh Ubuntu-server install. Bellow are the defaults used for tests.

  1. Boot off the install media & select Install Ubuntu Server at grub prompt.
  • Select language (English)
  • Select Keyboard layout (English (US), English (US))
  • Select Install Ubuntu (not cloud instance)
  • Configure the network (eth via dhcp)
  • Proxy Address: none
  • Mirror Address: http://archive.ubuntu.com/ubuntu (pre-filled default)
  • Use an entire Disk
  • Choose disk to install to: selected disk
  • Summary: confirm and continue
  • Profile
  • name: maint
  • server name: whatever (bkored)
  • username: maint
  • password: maint
  • Import Identity: from github > rgaudin
  • Reboot now
  • Remove install media then ENTER

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whost-0.1.7.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whost-0.1.7-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

Details for the file whost-0.1.7.tar.gz.

File metadata

  • Download URL: whost-0.1.7.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.6.4 Darwin/18.2.0

File hashes

Hashes for whost-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8ab355d2baf26c73bb14e502a4deebaa304b1bb3fe6bf2e53d47a3dab5beb1bd
MD5 cf03308edc9acfa7bc20fa18ee78a5e0
BLAKE2b-256 4d7b772a4d714f7f158c5fbf5429a3a95871b9769ffaeba802154a770ee59f5a

See more details on using hashes here.

File details

Details for the file whost-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: whost-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 54.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.10 CPython/3.6.4 Darwin/18.2.0

File hashes

Hashes for whost-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 11efa5d3ba4fb76d7bebcb2efcb6aba609071e6e9bdab4742d0aba8b0a174e6b
MD5 45159f6380e84536bb045feaa0bd0939
BLAKE2b-256 ccddfb23cdda8cb95fd571fb8ddfd48e0c3173e917a47447ab360e0a76a74940

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page