<?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:06:32+00:00</dc:date>
        <items>
            <rdf:Seq>
                <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:web_server_setup&amp;rev=1733541215&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=docker_notes:docker-dns&amp;rev=1771115844&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=home_server:media_vm_setup&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=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=home_server:email_server&amp;rev=1711267281&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=docker_notes:docker-deluge&amp;rev=1750482034&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:dokuwiki_setup&amp;rev=1759144931&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dokuwiki&amp;rev=1775347277&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:nftables&amp;rev=1740900680&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=docker_notes:ntp&amp;rev=1763129565&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=linux_router:wireguard&amp;rev=1748092165&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&amp;rev=1768611790&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&amp;rev=1682847793&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=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:snapraid&amp;rev=1772716852&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:systemd&amp;rev=1703561958&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:conky&amp;rev=1682847793&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:timedate&amp;rev=1685236635&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=docker_notes:vpn&amp;rev=1735356236&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=tech_notes:nginx&amp;rev=1703834683&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&amp;rev=1682847793&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:webmin&amp;rev=1703562259&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=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: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: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=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=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=home_server:media_vm_setup&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>KPTree Torrent VM Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:media_vm_setup&amp;rev=1682847793&amp;do=diff</link>
        <description>deluge torrent server openvpn btguard nftables iptables systemd virtual machine linux ubuntu

KPTree Torrent VM Setup

Deluge Headless setup

The main reference used is Havetheknowhow.com, specifically for the deluge headless setup, Havetheknowhow.com - How to install Deluge Headless. The Deluge support page is also a root source of knowledge Deluge systemd. Whatbox Deluge also has some interesting dialog.

If installing on a virtual machine (VM) it is important to also have set up the NFS to al…</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=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=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=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=docker_notes:docker-deluge&amp;rev=1750482034&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-21T05:00:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker Deluge Image / Service</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-deluge&amp;rev=1750482034&amp;do=diff</link>
        <description>linux docker image container openvpn docker_compose wireguard macvlan nftables

Docker Deluge Image / Service

I want a torrent service that uses a VPN and is set-up to block non VPN WAN (internet) access.  On my virtual machine implementation of this I used the following 3 packages: deluge (deluged with deluge-web), openvpn and nftables.  I have used both iptables and nftables and find nftables is definitely more elegant to use.  As far as I can tell there is not a Docker image that will meet m…</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:dokuwiki_setup&amp;rev=1759144931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-29T11:22:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki setup notes</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:dokuwiki_setup&amp;rev=1759144931&amp;do=diff</link>
        <description>linux wiki dokuwiki server plugin markdown

dokuwiki setup notes

Also see notes on setting up Docker Dokuwiki container

	*  Dokuwiki home page
	*  Dokuwiki Installation instructions
	*  Upgrading Dokuwiki
	*  DokuWiki Manual
		*  Docuwiki maintenance
		*  How to backup DokuWiki?
		*  How to move DokuWiki from one Server to another?


dokuwiki backup

Back-ups placed here: &#039;/media/disk1/KarlData/Karl Data 2/dokuwiki_backups/&#039; and named KPtreeWiki-backup_yyyy-mm-dd.

e.g. sudo tar zcpfv &#039;/media/…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:docker-dokuwiki&amp;rev=1775347277&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-05T00:01:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dokuwiki</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker-dokuwiki&amp;rev=1775347277&amp;do=diff</link>
        <description>linux docker traefik dokuwiki container

Dokuwiki

Main Dokuwiki Page

The main dokuwiki page dokuwiki_setup.

Dokuwiki Container

This uses the linuxserver.io image from dockerhub, linuxserver/dokuwiki.  The Linuxserver.io documents can be found heredoc.linuxserver.io.


Defines web_data volume:


#Not USED
docker volume create --driver local \
    --opt type=none \
    --opt device=&quot;/home/docker_store/cloud.kptree.net/data&quot; \
    --opt o=bind cloud_data</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:nftables&amp;rev=1740900680&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-02T07:31:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NFTables Configuration</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:nftables&amp;rev=1740900680&amp;do=diff</link>
        <description>linux router nftables firewall

NFTables Configuration

The best reference for nftables is at the dedicated wiki wiki nftables. Some other references I found nftables router. The reference at stosb is good, but not for a router Explaining My Configs: nftables. Nftables Cheatsheet

After a lot of experimenting the following is my NFTables router configuration file. Create the following file called:</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=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=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=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=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&amp;rev=1768611790&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-17T01:03:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Docker</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:docker&amp;rev=1768611790&amp;do=diff</link>
        <description>linux docker cli installation network volume iptables nftables portainer

Docker

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called _containers_. The service has both free and premium tiers. The software that hosts the containers is called Docker Engine</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-09T03:11:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Domain names, domain nameservers, DNS and DHCP</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:dns&amp;rev=1754709083&amp;do=diff</link>
        <description>Domain names, domain nameservers, DNS and DHCP

Domain names, Domain nameservers, DNS and DHCP are a key part of the internet back bone.

	* DNS (Domain Name System) resolves the text domain names to the relevant IP (Internet Protocol) addresses.  
		*</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&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>Set Up and Ubuntu APT Cache</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:aptcache&amp;rev=1682847793&amp;do=diff</link>
        <description>linux ubuntu debian apt cache apt-cacher-ng apt update apt upgrade apt-get

Set Up and Ubuntu APT Cache

The apt-cacher-ng looks to be a self container apt caching server. Basically the apt cacher stores all the relevant apt update and upgrade related files and and acts as a proxy server to multiple clients. A handy feature to improve speed and reduce Internet bandwidth where a virtual machine server is used with multiple clients. There is another package called apt-cacher but it depends upon th…</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=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: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=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:systemd&amp;rev=1703561958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-26T03:39:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systemd Stuff</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:systemd&amp;rev=1703561958&amp;do=diff</link>
        <description>systemd systemctl timer timers journalctl linux debian setup customise customisation

systemd Stuff

	*  How to create systemd service unit in Linux
	*  Set systemd service to execute after fstab mount
	*  DigitalOcean Tutorials systemd:
		*  How To Use Systemctl to Manage Systemd Services and Units
		*  Understanding Systemd Units and Unit Files
		*  How To Use Journalctl to View and Manipulate Systemd Logs
		*  Systemd Essentials: Working with Services, Units, and the Journal

	*  NFS mount vi…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-14T05:59:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Router Miscellaneous</title>
        <link>https://wiki.kptree.net/doku.php?id=linux_router:misc&amp;rev=1760421555&amp;do=diff</link>
        <description>linux router monitor links darkstat glances ntopng iftop nethogs

Router Miscellaneous

Monitoring

There are a number of linux monitoring packages available. See these links for more examples see, 13 Linux Performance Monitoring Tools – Part 2, and 30 Linux System Monitoring Tools Every SysAdmin Should Know. Below are a few that I have tried and use.

iftop

iftop - display bandwidth usage on an interface by host

Use</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:conky&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>Conky</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:conky&amp;rev=1682847793&amp;do=diff</link>
        <description>conkey linux debian manjaro setup monitor

Conky

Conky  is a Linux system monitor tool using X Windows.  Conky is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail in-boxes  Linux updates, runs many popular music players, and much more. Unlike system monitors that use high-level widget tool-kits to render their information, Conky i…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:timedate&amp;rev=1685236635&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-05-28T01:17:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Time Date Related Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:timedate&amp;rev=1685236635&amp;do=diff</link>
        <description>linux debian chrony ntp time date timedatectl timezone timezones

Time Date Related Setup

Setup NTP server

The NTP server setup is quite simple, I used the reference from Using chrony on Ubuntu 18.04. I replace the pool servers with my local ones, sudo vim /etc/ntp.conf.

Some NTP tips:

	* To install: sudo apt install ntp ntpdate
	* To edit main configuration file:</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=docker_notes:vpn&amp;rev=1735356236&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-28T03:23:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Private LAN VPN Access</title>
        <link>https://wiki.kptree.net/doku.php?id=docker_notes:vpn&amp;rev=1735356236&amp;do=diff</link>
        <description>linux docker wireguard openvpn

Private LAN VPN Access

The scope here concerns use of VPN (Virtual Private Network) to gain secure access from the public network to a local private network.  It relates to private secure access and use from the public network.  It does not consider public VPNs setup for public use.</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=tech_notes:nginx&amp;rev=1703834683&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-29T07:24:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Nginx</title>
        <link>https://wiki.kptree.net/doku.php?id=tech_notes:nginx&amp;rev=1703834683&amp;do=diff</link>
        <description>nginx http

Nginx

On a simple system nginx can be started with /usr/sbin/nginx basically calling nginx executable with defaults.

nginx -h

nginx version: nginx/1.24.0
Usage: nginx [-?hvVtTq] [-s signal] [-p prefix]
             [-e filename] [-c filename] [-g directives]

Options:
  -?,-h         : this help
  -v            : show version and exit
  -V            : show version and configure options then exit
  -t            : test configuration and exit
  -T            : test configuration, d…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-17T00:27:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Network Setup</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:network_setup&amp;rev=1755390424&amp;do=diff</link>
        <description>network interface netplan nic setup loopback eth ethernet bridge bond networkd linux debian setup command

Network Setup

Most server have more than one network connection although one is technically enough.  Routers by definition need to have a minimum of at least 2 network connections.

It would seem that Debian Linux supports multiple methods to define network connections:</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&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>Fail2Ban</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:fail2ban&amp;rev=1682847793&amp;do=diff</link>
        <description>fail2ban failtoban setup customise linux security

Fail2Ban

Scans log files and check for in appropriate password activities and update and uses firewall (IPTables) to restrict (stop for a period of time) these activities. So fail2ban limits incorrect authorisation attempts, thereby reducing, but not entirely eliminating associated risks and bandwidths. It is primarily used on port and associated services open to the public. DigitalOcean</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:webmin&amp;rev=1703562259&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-26T03:44:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Webmin</title>
        <link>https://wiki.kptree.net/doku.php?id=home_server:home_server_setup:other_services:webmin&amp;rev=1703562259&amp;do=diff</link>
        <description>linux debian webmin

Webmin

I don&#039;t bother to use Webmin, it has been well over a year since I tried to use.

Old, tl;dr;

I am a bit lazy sometimes and use Webmin to help setup certain services, e.g. Samba. Webmin is a web interfaced system administration system for Linux and has lots of plugins for various Linux apps/packages.  Webmin has its own mini webserver built in.  There are lots of web page discussing Webmin, how to install and use, e.g.</description>
    </item>
</rdf:RDF>
