<?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-09-19T01:37:16+00:00</dc:date>
        <items>
            <rdf:Seq>
                <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:nut?rev=1683944429&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:other_services:rsync?rev=1769870083&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:misc?rev=1759124159&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:conky?rev=1644659083&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:aptcache?rev=1642302827&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: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:home_server_setup:other_services:fail2ban?rev=1672146721&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: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: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:nut?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/home_server:home_server_setup:other_services:nut?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/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: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: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: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:conky?rev=1644659083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-02-12T09:44:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Conky</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:other_services:conky?rev=1644659083&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/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:aptcache?rev=1642302827&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-16T03:13:47+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/home_server:home_server_setup:other_services:aptcache?rev=1642302827&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/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>
    <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:home_server_setup:other_services:fail2ban?rev=1672146721&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-27T13:12:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fail2Ban</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:other_services:fail2ban?rev=1672146721&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/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>
</rdf:RDF>
