<?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/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-07-27T08:05:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:media_vm_setup?rev=1642222187&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:rsync?rev=1769870083&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:web_server_setup?rev=1733541215&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:mswindows_notes?rev=1777872894&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:snapraid?rev=1772716852&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:misc?rev=1759124159&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:disk?rev=1770119432&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:kvm?rev=1739005865&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:manjaro?rev=1743925318&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:samba?rev=1662361254&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:bash?rev=1763783897&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:vnc_setup?rev=1747716488&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:back-up_server_old?rev=1735865746&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:systemd?rev=1703561958&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:dokuwiki_setup?rev=1759144931&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:logrotate?rev=1703561446&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.kptree.net/_media/wiki:dokuwiki.svg">
        <title>KPTree Wiki</title>
        <link>https://wiki.kptree.net/</link>
        <url>https://wiki.kptree.net/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.kptree.net/home_server:media_vm_setup?rev=1642222187&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-15T04:49:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree Torrent VM Setup</title>
        <link>https://wiki.kptree.net/home_server:media_vm_setup?rev=1642222187&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/home_server:home_server_setup:other_services:rsync?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/home_server:home_server_setup:other_services:rsync?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/home_server:web_server_setup?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/home_server:web_server_setup?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/home_server:mswindows_notes?rev=1777872894&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-04T05:34:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>KPTree - Home Desktop Setup</title>
        <link>https://wiki.kptree.net/home_server:mswindows_notes?rev=1777872894&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/home_server:home_server_setup:other_services:snapraid?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/home_server:home_server_setup:other_services:snapraid?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/home_server:home_server_setup:other_services:misc?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/home_server:home_server_setup:other_services:misc?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/home_server:home_server_setup:other_services:disk?rev=1770119432&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-03T11:50:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux Block Device Notes</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:other_services:disk?rev=1770119432&amp;do=diff</link>
        <description>linux debian nfs parted fstab format partion disk mount umount fstab unmount

Linux Block Device Notes

Linux Disk Partition and Format Notes

Some basic tools

	* ls -l /dev/disk/by-uuid/ will list the disks with UUIDs
	* lsblk  to list partitions (or list block devices)
	* lsblk -f or blkid  to list the UUIDs
	* sudo blkid will list data blocks</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/home_server:home_server_setup:kvm?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/home_server:home_server_setup:kvm?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/home_server:home_server_setup:other_services:manjaro?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/home_server:home_server_setup:other_services:manjaro?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/home_server:home_server_setup:other_services:samba?rev=1662361254&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-05T07:00:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>samba</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:other_services:samba?rev=1662361254&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/home_server:home_server_setup:other_services:bash?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/home_server:home_server_setup:other_services:bash?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/home_server:home_server_setup:vnc_setup?rev=1747716488&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-20T04:48:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VNC Server</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:vnc_setup?rev=1747716488&amp;do=diff</link>
        <description>linux server debian vnc setup vncserver tigervnc gnome xfce

VNC Server

This section is a bit of a mess and needs a clean up.....

I want a simple server GUI VNC system.  Sadly most the instructions on the net do not seem to meet my needs.

	*  Install a GUI
		*  A light desktop system, e.g. xfce
		*  The x11 windows manager system</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/home_server:home_server_setup:other_services:back-up_server_old?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/home_server:home_server_setup:other_services:back-up_server_old?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/home_server:home_server_setup:other_services:systemd?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/home_server:home_server_setup:other_services:systemd?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/home_server:dokuwiki_setup?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/home_server:dokuwiki_setup?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/home_server:home_server_setup:other_services:logrotate?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/home_server:home_server_setup:other_services:logrotate?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>
</rdf:RDF>
