This page permanently redirects to gemini://gemini.complete.org/maintaining-nncp/.
The care and feeding of an NNCP[1] installation.
=> 1: /nncp/
NNCP needs little care, but it there are a few things that can help.
NNCP's administration page[2] is a good place to read about this. My Debian[3] packages do some of this for you, and provide examples for much of the rest as well.
=> 2: https://nncp.mirrors.quux.org/Administration.html | 3: /debian/
NNCP has a log file, which by default is under the spool directory (/var/spool/nncp
by default). This can be rotated by something like logrotate. I ship this example with Debian:
/var/spool/nncp/log { rotate 14 daily missingok notifempty compress delaycompress su nncp nncp }
There are some files that NNCP creates that can be cleaned up using nncp-rm[4] beginning with NNCP version 8.7.2. I ship this example with Debian:
=> 4: https://nncp.mirrors.quux.org/nncp_002drm.html
#!/bin/bash for TYPE in part seen hdr area; do su nncp -s /bin/bash -c "nncp-rm -quiet -all -older 7d -$TYPE" done su nncp -s /bin/bash -c "nncp-rm -quiet -tmp -older 7d"
NNCP by default only removes packets under these circumstances:
(See NNCP Concepts[5] for more on these ideas)
There are some circumstances in which packets could accumulate:
Many people will never encounter these situations. The examples above do not actually delete any packets; they are non-destructive. I don't necessarily recommend automatic packet deletion in most cases. But if you really want to delete these automatically, you can:
su - nncp -s /bin/bash -c "/usr/local/bin/nncp-rm -all -rx -older 4d" su - nncp -s /bin/bash -c "/usr/local/bin/nncp-rm -all -tx -older 10d"
=> 6: /nncp/
NNCP lets you securely send files, or request remote execution, between systems. It uses asynchronous communication[7], so the source and destination need never be online simultaneously. NNCP can route requests via intermediate devices -- other NNCP nodes, USB sticks, tapes, radios, phones, cloud services, whatever -- leading to a network that is highly resilient and flexible. NNCP makes it much easier to communicate with devices that lack Internet connectivity, or have poor Internet.
=> 7: /asynchronous-communication/
=> Homepage
=> Interesting Topics
=> How This Site is Built
=> About John Goerzen
=> Web version of this site
(c) 2022-2024 John Goerzen
text/gemini; charset=utf-8; lang=en; size=3636
This content has been proxied by September (3851b).