<?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-19T02:33:31+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:conky?rev=1644659083&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:nut?rev=1683944429&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:manjaro?rev=1743925318&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:aptcache?rev=1642302827&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:logrotate?rev=1703561446&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:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:network_setup?rev=1755390424&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:webmin?rev=1703562259&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:ipmi?rev=1703336839&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kptree.net/home_server:home_server_setup:other_services:vim?rev=1711260280&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: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: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: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: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: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: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: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: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: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: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>
    <item rdf:about="https://wiki.kptree.net/home_server:home_server_setup:network_setup?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/home_server:home_server_setup:network_setup?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/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:webmin?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/home_server:home_server_setup:other_services:webmin?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>
    <item rdf:about="https://wiki.kptree.net/home_server:home_server_setup:other_services:ipmi?rev=1703336839&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-23T13:07:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPMI CLI Tools</title>
        <link>https://wiki.kptree.net/home_server:home_server_setup:other_services:ipmi?rev=1703336839&amp;do=diff</link>
        <description>linux ipmi ipmitool cli bmc

IPMI CLI Tools

Much copied from Adam Sweet&#039;s wiki on IPMI.

What is IPMI?

IPMI is standard which allows remote server management, primarily developed by Intel. IPMI cards, known as Baseboard Management Cards (BMCs) are primitive computers in their own right and are operational all the time, so long as the server has a power source. The server itself does not need to be powered on, or the operating system operational for the BMC to work, it just needs a power source…</description>
    </item>
    <item rdf:about="https://wiki.kptree.net/home_server:home_server_setup:other_services:vim?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/home_server:home_server_setup:other_services:vim?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>
