<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.kptree.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.kptree.net/feed.php">
        <title>KPTree Wiki</title>
        <description></description>
        <link>https://wiki.kptree.net/</link>
        <image rdf:resource="https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-24T12:04:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:nginx-php-notes&amp;rev=1762648276&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:email_server&amp;rev=1711267281&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=wiki:syntax&amp;rev=1682847792&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-compose&amp;rev=1776171829&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1773644658&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns&amp;rev=1771115844&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:init&amp;rev=1771115277&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:misc&amp;rev=1766966976&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:ansible&amp;rev=1710335941&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nfs&amp;rev=1736058447&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dhcp&amp;rev=1775866774&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:ntp&amp;rev=1763129565&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:flatpak&amp;rev=1769139150&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:pikvm&amp;rev=1754829003&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:ssh&amp;rev=1709952350&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:ipmi_console&amp;rev=1747553262&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:logrotate&amp;rev=1703561446&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nut&amp;rev=1683944429&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>KPTree Wiki</title>
        <link>https://wiki.kptree.net/</link>
        <url>https://wiki.kptree.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-07T03:13:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Web Server setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:web_server_setup&amp;rev=1733541215&amp;do=diff</link>
        <description>linux debian apache apache2 httpd web server php certbot letsencrypt nextcloud cloud vm virtual machine kvm proxy reverse proxy gid uid vipw vigr group id user id

Web Server setup

Basic Web Server setup on VM

I am moving away from Ubuntu to Debian. I find the instruction for here are good to setup a basic web server Digitalocean&#039;s LAMP on Debian 11 and Computing for Geeks LAMP on Debian.


Old, tl;dr;

The main reference used is Unixmen - How To Install LAMP Stack On Ubuntu 16.04, for the bas…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-16T11:39:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker mailserver</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-mailserver&amp;rev=1755344352&amp;do=diff</link>
        <description>linux docker mail mailserver alpine dovecot postfix sqlite s6 s6-rc

Docker mailserver

This mailserver setup follows Workaround&#039;s SPmail guide for Debian 12 “Bookworm”.  Key changes are that instead of installing on Debian 12 virtual machine1, with a Maria mysql database2, this setup is for installation on latest Alpine linux Docker image with s6-rc init using maria database.  I toyed with sqlite and basically got it functional, however the support apps do not function with sqlite, so I went ba…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-03T00:55:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Back-up Server Old Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:back-up_server_old&amp;rev=1735865746&amp;do=diff</link>
        <description>linux debian backup lvm filesystem server nfs mount showmount

Back-up Server Old Setup

This has been more difficult than I would have thought. I have used rsnapshot the past couple of years (2020-21), but have never really been happy with it for many reasons. The main reason is that it has never worked well, the rsync is reasonably fast, but the rsnapshot takes far too long. Other problems include; difficulties in set-up, and concerns will reliability. Recently I noticed that Debian no longer …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:nginx-php-notes&amp;rev=1762648276&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-09T00:31:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker nginx / php notes</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:nginx-php-notes&amp;rev=1762648276&amp;do=diff</link>
        <description>linux docker nginx php fast-cgi php-fpm

Docker nginx / php notes

nginx executable

I had some trouble getting nginx with php-fpm to operate.  So I tried to get working a simple setup to nut-out the nuances. I got it working using php-fpm socket with Apline Linux on 2 Docker instances, one running Nginx and the other php-fpm.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:email_server&amp;rev=1711267281&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-24T08:01:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree - Email Server Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:email_server&amp;rev=1711267281&amp;do=diff</link>
        <description>linux mail server email postfix dovecot emailserver debian ubuntu horde postfixadmin admin clamav apache roundcube webmail certbot certificate

KPTree - Email Server Setup

Email Server Notes

Setting up the email server on my home server was probably the most difficult task. Email server setup is intricate, risky and involves significant commitment and effort to setup reliably and maintain.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-06T11:35:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker - diun &amp; ntfy</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:diun-ntfy&amp;rev=1733484956&amp;do=diff</link>
        <description>linux docker diun ntfy

Docker - diun &amp; ntfy

ntfy is a notification application and server frame work.  It has an iOS client and can also use standard web page and Andiod app.  I originally considered gotify however there is not iOS application for this notification system, which basically makes it of less value for me.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-29T05:35:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Commonly used commands and scripts</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:misc&amp;rev=1759124159&amp;do=diff</link>
        <description>linux dmesg command systemd journal journalctl tzdata timezone apt upgrade update install remove crontab man apropos tldr ip tc systemctl journalctl pbcopy pbpaste copy paste

Commonly used commands and scripts

dmesg

sudo dmesg lists the OS boot messages between grub and os up.
sudo dmesg --level=emerg,alert,crit,err,warn,notice,debug give a more succinct list of focus potential problem issues.

	* emerg - system is unusable</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-02T05:34:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>turn server</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:turnserver&amp;rev=1740893696&amp;do=diff</link>
        <description>linux docker turnserver

turn server

From wikipedia; Traversal Using Relays around NAT (TURN) is a protocol that assists in traversal of network address translators (NAT) or firewalls for multimedia applications. It may be used with the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). It is most useful for clients on networks masqueraded by symmetric NAT devices. TURN does not aid in running servers on well known ports in the private network through a NAT; it supports the c…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=wiki:syntax&amp;rev=1682847792&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T09:43:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Formatting Syntax</title>
        <link>https://wiki.kptree.net/doku.php?id=wiki:syntax&amp;rev=1682847792&amp;do=diff</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-31T14:34:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Rsync</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:rsync&amp;rev=1769870083&amp;do=diff</link>
        <description>rsync backup linux debian rsnapshot

Rsync

These are my rsync notes.  I also used to use rsnapshot, however I was unhappy with the performance of this application and moved to restic.  The original rsnapshot notes have been rolled up and moved to the bottom of this page.

Rsync Notes

Main rsync command usage summary</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-05T13:20:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>snapraid</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:snapraid&amp;rev=1772716852&amp;do=diff</link>
        <description>snapraid linux

snapraid

I have been using snapraid since circa 2015 for my main first past redundancy.  I have a second home server used as a backup server that weekly backs up using restic.

The main snapraid commands I use are:
sudo snapraid sync to sync the files that have changes since last sync.  I usually do this weekly, manually.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-compose&amp;rev=1776171829&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-14T13:03:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker-Compose</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-compose&amp;rev=1776171829&amp;do=diff</link>
        <description>linux docker compose docker-compose docker_compose container network

Docker-Compose

	* Docker Docs Compose specification, The Compose Specification

Some commands:

	* docker-compose pull, it would seem this is required to ensure the latest image(s) is downloaded
	* docker-compose up -d --build --force-recreate
		*  -d run as deamon (in background)
		*  --build on required if the compose includes building an image</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-22T03:58:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>BASH Customisation</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:bash&amp;rev=1763783897&amp;do=diff</link>
        <description>linux bash alias tar bash_aliases configure configuration bashrc command script bashrc history sudo visudo dimmer ps kill nightmode xrandr tar archive default_editor editor

BASH Customisation

The standard BASH colour configuration uses a blue colour for listing directories (ls) which is difficult to read on a black background. While this is the “standard colour”, due to the impracticality I have decided to change it.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-03T14:43:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Nextcloud Container</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-nextcloud&amp;rev=1775227395&amp;do=diff</link>
        <description>linux docker nextcloud mysql mariadb

Nextcloud Container

Nextcloud publishes their own Docker container of Nextcloud. The Nextcloud image on Docker hub is maintained by the Nextcloud community, and is not officially supported by Nextcloud!   Linuxserver.io, as well as some others also have Nextcloud containers on Docker Hub.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-08T09:11:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KVM Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:kvm&amp;rev=1739005865&amp;do=diff</link>
        <description>server kvm virtual command debian machine qemu virsh qcow linux command setup nbd network block device

KVM Setup

I original setup my main server and virual machines all with Ubuntu.  However I have started using Debian and find it leaner than Ubuntu. I am slowly moving my various servers and virtual machines to Debian.

	* Install And Configure KVM In Ubuntu 20.04 Headless Server
	* Installing KVM on Debian 10
	* How To Install KVM Hypervisor on Debian 12|11|10
	* How to install KVM server on …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1773644658&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-16T07:04:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree - Home Desktop Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:mswindows_notes&amp;rev=1773644658&amp;do=diff</link>
        <description>mswindows windows setup tip notes personal license powertoys

KPTree - Home Desktop Setup

Background

I have Windows on my main desk top machine, it is dual boot with Debian/XFCE.  I am using Debian almost exclusively now.  The BIOS based dual boot works well, I have it defaulting to Debian.  I do not currently have a Windows VM setup on my main server.  My 3 sons also have computers with Windows on them. Lastly, I am required to used company Windows machines at work.  Hence I like to keep a li…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T09:43:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFTables IP Control</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:nftables_control&amp;rev=1682847793&amp;do=diff</link>
        <description>linux nft nftables nmap

NFTables IP Control

I primarily set this feature up to act as a form of parental control on my home internet access.  

Disable Range of IP addresses, with count-down timer

The DHCP assigned addresses in the range 100 - 254 were to be disabled (dropped) in the evening. The addresses below 100 were assigned a specific IP address in the DHCP based upon  MAC.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns&amp;rev=1771115844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-15T00:37:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker - DNS Server</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-dns&amp;rev=1771115844&amp;do=diff</link>
        <description>linux docker dns bind9

Docker - DNS Server

What Is DNS and How Does It Work – A Comprehensive Guide

I have been using Bind9 as my home LAN DNS for the past few years. I originally operated it on bare metal on my home router computer.  In mid 2023 I successfully moved my Bind9 primary instance to my main home server in a container and created a slave instance in a container running on my home router computer.  I created a Docker Bind9 Image using base Docker Alpine Linux images, with S6 init s…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-05T03:25:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>File Sharing</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:fileshare&amp;rev=1736047559&amp;do=diff</link>
        <description>linux docker file_sharing share sharing syncthing privatebin

File Sharing

All the applications have pro and cons.  This is listed at the beginning of each header.

There have been considered 3 different levels of access as described by the applications used:

	* Nextcloud - a full privately hosted publicly accessible file shareing application, with many additional features</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:init&amp;rev=1771115277&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-15T00:27:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker init Systems</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:init&amp;rev=1771115277&amp;do=diff</link>
        <description>alpine linux docker init s6 s6-rc alias

Docker init Systems

There are a number of init systems used on docker containers, many are the defaults that ship with the standard Linux distributions, e.g. systemd which is particularly popular on the larger comprehensive distributions.


tldr;

There is a lot of argument in the init world, SystemD seems to have taken over the init system in most</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:misc&amp;rev=1766966976&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-29T00:09:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker Miscellaneous</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:misc&amp;rev=1766966976&amp;do=diff</link>
        <description>linux docker it-tools dockge loki watchtower netbox

Docker Miscellaneous

IT-TOOLS

Useful tools for developer and people working in IT.

docker-compose.yml

---
services:
    it-tools:
        image: &#039;corentinth/it-tools:latest&#039;
        #ports:
        #    - &#039;8080:80&#039;
        restart: unless-stopped
        container_name: it-tools
        networks:
          - proxy
        labels:
          - &quot;traefik.enable=true&quot;
          - &quot;traefik.docker.network=proxy&quot;
          - &quot;traefik.http.routers.…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-15T03:35:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DHCP / DNS Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:dns_dhcp&amp;rev=1734233746&amp;do=diff</link>
        <description>linux router dns dhcp bind ip ipv6 radvd host dig nslookup

DHCP / DNS Setup

Outdated

I have moved my DNS and DHCP servers to Docker, Docker-DNS Server.  I am still using ISC_Bind9, but am now using ISC_Kea for DHCP as ISC_Bind is no longer supported as of 2022.

tl;dr;

Further to this I am not looking at backups for both these services on my local area network.  Whilst these services worked reliably well, when ever I shutdown the the router with</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-30T10:55:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Debian Server Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:network&amp;rev=1764500119&amp;do=diff</link>
        <description>linux debian ubuntu router network netplan interface vlan ipv6 ip

Debian Server Network Setup

Debian Network - Server Interface Setup

As of Debian 10 (Buster) Debian still by default uses this interface Setup.  It can be setup to use netplan inface.


Ubuntu (as of version 14.04) defaults to Predictable Network Interface Names, also see Systemd Docs. I have no problem with this. In any case, you should always check dev names and not assume names, such as</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-23T00:14:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TC - Traffic Control</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:tc&amp;rev=1719101663&amp;do=diff</link>
        <description>linux router tc traffic control

TC - Traffic Control

The Linux kernel&#039;s network stack has network traffic control and shaping features. The iproute2 package installs the tc command to control these via the command line.

Queuing controls how data is sent; receiving data is much more reactive with fewer network-oriented controls. However, since TCP/IP packets are sent using a slow start the system starts sending the packets slow and keeps sending them faster and faster until packets start getti…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:ansible&amp;rev=1710335941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-13T13:19:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ansible</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:ansible&amp;rev=1710335941&amp;do=diff</link>
        <description>linux ansible

ansible

	* sudo apt install sshpass The sshpass package must be installed.
	* Create a file ansible.cfg in your current folder with the following contents:

[defaults]
host_key_checking = false

	* create password less login to remote machines
		* ssh-keygen</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&amp;rev=1682847793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T09:43:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPv6 summary notes</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:ipv6&amp;rev=1682847793&amp;do=diff</link>
        <description>linux ipv6

IPv6 summary notes

Largely taken from

	* onemarcfifty
	* What You Need to Know about IPv6 Link-Local Addresses

Address length and format

The IPv6 address is 128 bits (i.e. 16 bytes) long and is written in 8 groups of 2 bytes in hexadecimal numbers separated by colons:

FDDD:F00D:CAFE:0000:0000:0000:0000:0001

Leading zeros of each block can be omitted, the above address can hence be written like this:
FDDD:F00D:CAFE:0:0:0:0:1

We can abbreviate whole blocks of zeros with :: and w…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nfs&amp;rev=1736058447&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-05T06:27:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFS</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nfs&amp;rev=1736058447&amp;do=diff</link>
        <description>linux debian nfs fstab server

NFS

There are a lot of resources online for NFS (Network File System).  Nevertheless I decided to place my notes here to help me with my configuration, as there are a number of nuances that such notes will potentially assist with in the future. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappearance.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&amp;rev=1682847793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T09:43:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>samba</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:samba&amp;rev=1682847793&amp;do=diff</link>
        <description>linux samba

samba

I have not look at samba much since I first attempted to set up my home sever circa 2011 on Fedora before I moved to Ubuntu.  I stopped using Fedora as I had noob pain with Selinux, coupled with the short service life of Fedora, so I moved to Ubuntu, where I had a lot more success.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dhcp&amp;rev=1775866774&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-11T00:19:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker - DHCP Kea Server</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-dhcp&amp;rev=1775866774&amp;do=diff</link>
        <description>linux docker kea dhcp

Docker - DHCP Kea Server

Since mid 2023 I have been running a Docker ISC Kea Image using base Docker Alpine Linux images, with S6 init system. (ISC Kea is a modern replacement for their DHCP.)  The main DHCP server runs on my main server and I have an automatic fall over back up on my separate Linux router.  I basically followed the Kea template</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-07T01:00:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Reverse Proxy Server - Traefik</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-reverse-proxy&amp;rev=1736211611&amp;do=diff</link>
        <description>linux docker traefik reverse_proxy proxy openssl ssl certificate portainer cloudsec

Reverse Proxy Server - Traefik

I seem to have gotten the Traefik reverse proxy working according to Techno Tim Put Wildcard Certificates and SSL on EVERYTHING (github reference_files for traefik-portainer-ssl).  Also see Jim&#039;s Garage Your Traefik Isn&#039;t Secure (JimsGarage/Traefik-Secure/

Below is a basic description of the process that aligns with my configuration files. I do this for 2 reasons, both allowing m…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:ntp&amp;rev=1763129565&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-14T14:12:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ntp</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:ntp&amp;rev=1763129565&amp;do=diff</link>
        <description>ntp

I remember looking at this circa 2016 - 2021 and letting go at that time,  crony had just been released and systemd was still relatively new at that time. 

systemd commands

	* sudo systemctl status systemd-timesyncd
		* The default configuration is shown in</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-21T12:10:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ISP PPPoE Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:ppp&amp;rev=1726920633&amp;do=diff</link>
        <description>linux router pppoe pppoed isp mtu dns dhcp

ISP PPPoE Network Setup

A reasonably comprehensive discussion on Ubuntu forums Setup Ubuntu Server as a router using a PPPoE connection, MTU and TCP MSS when using PPPoE. Also from Ubuntu forums How to Optimize your Internet Connection using MTU and RWIN. Ubuntu documentation ADSLPPPoE. PPPD manual page.

Another reference is Confirm Blog Using PPPoE on Linux.

Some other references:

	*  Connecting to NBN HFC with a linux router] Internode router set…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-31T11:03:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Wifi Router / Access Points</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:wifi&amp;rev=1769857432&amp;do=diff</link>
        <description>linux router wifi wifi_router access_point

Wifi Router / Access Points

I prefer to run higher quality wifi access points (AP) than the all in one type routers.   My current router is X86 based running Linux Nftables on bare metal and Bind9 and Kea as well as some other services in Docker on a VM.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-24T13:09:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Wireguard VPN access from WAN to LAN</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:wireguard&amp;rev=1748092165&amp;do=diff</link>
        <description>linux router vpn wireguard docker qr_code qr

Wireguard VPN access from WAN to LAN

I use a Docker instance for my Wireguard server now.

I use 2 forms of vpn (virtual private network) on my home server.

	*  VPN to gain remote secure private access to my home LAN from the WAN (internet). This is the one I am describing here.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-28T13:38:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Ethernet Twisted Pair Cables</title>
        <link>https://wiki.kptree.net/doku.php?id=project:ethernet&amp;rev=1766929100&amp;do=diff</link>
        <description>ethernet rj45 utp stp

Ethernet Twisted Pair Cables

Cable Types
 Cable Type   Shielding                                Description                                                           Use Case                                                         UTP          None</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:flatpak&amp;rev=1769139150&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-23T03:32:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Flatpak</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:flatpak&amp;rev=1769139150&amp;do=diff</link>
        <description>linux flatpak snap universal package

Flatpak

Flatpak is a universal Linux package management system, that is more agnostic than the Linux distributions package management systems. Flatpak currently only works with a desk top environment, it is not for servers. 

There are other universal package management systems available. One popular example is snap, however this is from Ubuntu and seems propriety in nature.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:pikvm&amp;rev=1754829003&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-10T12:30:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>PiKVM</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:pikvm&amp;rev=1754829003&amp;do=diff</link>
        <description>linux kvm ipmi pikvm bmc

PiKVM

I purchased a PiKVM kit in 2021, and got it operational at that time.  I did not need to use it until recently, 2024-09. Basically a special &#039;hat&#039; is mounted on a standard Raspberry Pi 4, the smallest memory unit type being sufficient (2 GB).  The kit was complete with all the required parts, such as the hat, Raspberry PI, a case, small OLED display and various cables.  The PiKVM is V3 HAT with RPi V4 2GB.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:ssh&amp;rev=1709952350&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-09T02:45:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssh with key files</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:ssh&amp;rev=1709952350&amp;do=diff</link>
        <description>linux ssh ssh-keygen

ssh with key files

The advantages of using SSH key-based include:

	* Improved security
	* Easier access to ssh (if password keys are not used)

Clearly use of unique password encrypted keys gives best security.  However if a user has access to you terminal and user password they effectively have full system access anyway.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:ipmi_console&amp;rev=1747553262&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-18T07:27:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPMI Console Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:ipmi_console&amp;rev=1747553262&amp;do=diff</link>
        <description>linux bmc grub ipmi console redirection cli

IPMI Console Setup

I have 3 computers from Supermicro with BMC and IPMI.  The Supermicro provided utility program IPMIView is good, but the iKVM console redirection facility is woefully unreliable and also seems to be poorly documented! (Probably because it is based upon Java.)  Interestingly this utility program is provided for Windows and Linux, and is even available in Manjaro AUR repositories.  (This probably actually makes sense as many Supermic…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:logrotate&amp;rev=1703561446&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-26T03:30:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>logrotate</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:logrotate&amp;rev=1703561446&amp;do=diff</link>
        <description>linux debian log rotate logrotate cron crontab

logrotate

There are a number of ways to rotate logs.

	* Using a script and cron (or systemd.timer)
	* Using logrotate

Logrotate using script

edit the sudo crontab sudo crontab -e:


Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tu…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-06T07:41:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Manjaro Setup Notes</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:manjaro&amp;rev=1743925318&amp;do=diff</link>
        <description>linux manjaro arch archlinux vuescan flatpak davfs cups printing print

Manjaro Setup Notes

I tried Manjaro circa 2019 for a couple of years as my main Linux Desktop.  I had no major problems with it. An occasional minor problem this nVidia graphic card and some minor issues with updates. Having used Debian / Ubuntu the past 10 years on servers I decided to switch to Debian testing desk top with XFCE.  Debian testing basically give a similar level of latest updates as Manjaro/Arch.  I have not …</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nut&amp;rev=1683944429&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-05-13T02:20:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NUT (Network UPS Tools) Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:nut&amp;rev=1683944429&amp;do=diff</link>
        <description>linux debian nut ups server

NUT (Network UPS Tools) Setup

I purchased my current main UPS the Powershield Commander RT PSCRT1100 / Voltronic Power Otima II 1.1K in 2014 and setup NUT about this time, including early conversion to systemd scripts.  I notice the Techno Tim Network UPS Tools (NUT) Ultimate Guide late 2022 has a perhaps more modern take on this.</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-24T06:04:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VIM Editor</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:vim&amp;rev=1711260280&amp;do=diff</link>
        <description>vim neovim command linux debian text editor setup customise customisation cheatsheet

VIM Editor

When using sudo vim consider sudo -E. The -E flag to retain the user environment variables for vim.

VIM Customisation

~/.vimrc

colorscheme desert
set nocompatible
syntax on
set number relativenumber
set autoindent expandtab tabstop=2 shiftwidth=2
filetype plugin on
filetype indent on
set cursorline
set cursorcolumn
set shiftwidth=2
set tabstop=2
set expandtab</description>
    </item>
</rdf:RDF>
