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
writeraccount on the cardshop. - An assigned port on the demo server (see maintenance).
Setup
- Install Ubuntu 18.04.1 LTS server with default options (see bellow)
- 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(chmod600) - 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-config && REVERSE_SSH_PORT=XXX /tmp/whost-config
Ubuntu Install
Just a regular, fresh Ubuntu-server install. Bellow are the defaults used for tests.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whost-0.1.5.tar.gz.
File metadata
- Download URL: whost-0.1.5.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/0.12.10 CPython/3.6.4 Darwin/18.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbba280cfd2c13b969dd51e4f7bb10c3b4266ed64e55839583c6a22c8f72b5b8
|
|
| MD5 |
fdfc5cc7aaedae34452ebeb93756a02f
|
|
| BLAKE2b-256 |
a7307efb01ffdf47024ef55208260a0c433604e172b4c31900f85e4d77fa8e9e
|
File details
Details for the file whost-0.1.5-py3-none-any.whl.
File metadata
- Download URL: whost-0.1.5-py3-none-any.whl
- Upload date:
- Size: 54.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5609e675ef3c1774a4e33a1587f4622abbfa3c2e44df37d956b47bbb8487f0fb
|
|
| MD5 |
ab3c22ada6095671ee1a1992d64e3c5a
|
|
| BLAKE2b-256 |
c09192802686d8ce2db3c02c75dcf51c9c8a61013ce5f1ecf6e059dbd47da2d7
|