<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.padix.dk/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.padix.dk/feed.php">
        <title>Wiki-World system</title>
        <description></description>
        <link>https://wiki.padix.dk/</link>
        <image rdf:resource="https://wiki.padix.dk/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-31T09:30:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:apt&amp;rev=1654881549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:automatic_updates&amp;rev=1654881549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:centos_7_runlevels&amp;rev=1654881549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:cron&amp;rev=1654881549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:mdadm&amp;rev=1654881549&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.padix.dk/doku.php?id=system:zfs&amp;rev=1654881549&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.padix.dk/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Wiki-World</title>
        <link>https://wiki.padix.dk/</link>
        <url>https://wiki.padix.dk/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:apt&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:apt</title>
        <link>https://wiki.padix.dk/doku.php?id=system:apt&amp;rev=1654881549&amp;do=diff</link>
        <description>Unattended upgrades

Email From

Add the following line in 50unattended-upgrades


Unattended-Upgrade::Sender &quot;Unattended-upgrades Example &lt;noreply@example.com&gt;&quot;;


Automatic reboot

Uncomment the following lines in 50unattended-upgrades and change accordingly</description>
    </item>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:automatic_updates&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:automatic_updates</title>
        <link>https://wiki.padix.dk/doku.php?id=system:automatic_updates&amp;rev=1654881549&amp;do=diff</link>
        <description>Automatic Updates

Redhat 8 / Rocky

Add epel-release 


dnf install epel-release -y


Install dnf-automatic


dnf install dnf-automatic -y


Enable


systemctl enable --now dnf-automatic.timer


Debian / Ubuntu

Install package


apt install unattended-upgrades</description>
    </item>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:centos_7_runlevels&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:centos_7_runlevels</title>
        <link>https://wiki.padix.dk/doku.php?id=system:centos_7_runlevels&amp;rev=1654881549&amp;do=diff</link>
        <description>Get current boot runlevel

systemctl get-default

Default boot to graphical interface

systemctl set-default graphical.target

Default boot to command line

systemctl set-default multi-user.target</description>
    </item>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:cron&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:cron</title>
        <link>https://wiki.padix.dk/doku.php?id=system:cron&amp;rev=1654881549&amp;do=diff</link>
        <description>Crontab

Problem: Email From Address

When setting up the crontab it's possible to define a MAILTO address, however it's not possible to define a from address. Especially gmail will complain about a from address reading 'root@mail.example.com'

To work around this problem it's necessary to move the functionality to external scripts instead. letsencrypt has been used as an example but the same can be done for other recurring tasks.</description>
    </item>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:mdadm&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:mdadm</title>
        <link>https://wiki.padix.dk/doku.php?id=system:mdadm&amp;rev=1654881549&amp;do=diff</link>
        <description>Monitoring

The service mdmonitor will fail to run unless an email address is present in /etc/mdadm.conf


MAILADDR receiver@example.com
MAILFROM noreply@example.com


The from address is not really necessary, but will prevent the email to show only</description>
    </item>
    <item rdf:about="https://wiki.padix.dk/doku.php?id=system:zfs&amp;rev=1654881549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T19:19:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system:zfs</title>
        <link>https://wiki.padix.dk/doku.php?id=system:zfs&amp;rev=1654881549&amp;do=diff</link>
        <description>ZFS install

Ubuntu

On ubuntu based systems after 16.04 it's enough to run


 apt install zfsutils-linux


for zfs support to be installed. 

Mint

The same as Ubuntu.

Centos7

&lt;https://github.com/zfsonlinux/zfs/wiki/RHEL-and-CentOS&gt;

Add module to autoload by creating file /etc/modules-load.d/zfs.conf with content</description>
    </item>
</rdf:RDF>
