<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://ssl.webangel.ie/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="http://ssl.webangel.ie/feed.php">
        <title>Opbzil - classnotes:rh134</title>
        <description></description>
        <link>http://ssl.webangel.ie/</link>
        <image rdf:resource="http://ssl.webangel.ie/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-28T11:38:30+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:automount&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:bash&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot-issues&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:containers&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:firewall&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:kickstarter&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:layered-storage&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:lvm&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:nfs&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:recurring&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:reset-root&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux-ports&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:storagr&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:system-schedule&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:systemlogs&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tar-files&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tasks&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tune&amp;rev=1759832057&amp;do=diff"/>
                <rdf:li rdf:resource="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:virtual&amp;rev=1759832057&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://ssl.webangel.ie/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Opbzil</title>
        <link>http://ssl.webangel.ie/</link>
        <url>http://ssl.webangel.ie/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:automount&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>automount</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:automount&amp;rev=1759832057&amp;do=diff</link>
        <description>Automount

used to automatically mount devices/shares 

2 types of automapping direct and indirect. 
  direct mount    is when a file system mounts to an unchanging, known mount point location. Almost all the file system mounts that you configured,   indirect</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:bash&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:bash&amp;rev=1759832057&amp;do=diff</link>
        <description>Write Simple Bash Scripts

in vim enable line numbering with

 esc
:set nu 

using awk
awk is used to get bits of files for example 

awk -F: `{print $1}` 

prints out the first entry  (from the $1) of a file that uses : as a separator

Loops

for

 The structure is</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot-issues&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>boot-issues</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot-issues&amp;rev=1759832057&amp;do=diff</link>
        <description>Repair File-system Issues at Boot

to fix stuff you need to get in to emergency mode. For this you will need the root password

To boot into emergency to you to interrupt the boot and edit the line in grub that begins with linux.  append systemd.unit=emergency.target</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>boot</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:boot&amp;rev=1759832057&amp;do=diff</link>
        <description>Control the Boot Process

identifyng the target
  commands  what they do  systemctl get-default   shows the default target that system boots to   systemctl list-units -t targets   list of all unis of type target    systemctl list-dependecies graphical.target</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:containers&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>containers</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:containers&amp;rev=1759832057&amp;do=diff</link>
        <description>Run Containers

a container is a running instance of a container image

 a container image is a single file (tar) loaded with metadata anf has all files needed by your application

it also has an entry point (in metadata) this is the command needed to start container)</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:firewall&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>firewall</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:firewall&amp;rev=1759832057&amp;do=diff</link>
        <description>Manage Network Security

you interface with the firewall using the firewall-cmd it makes changes to the file /etc/firewalld/zones/public.xml

here are some options
  command option     what it does    --get-default-zone   List the default zone    --list-all</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:kickstarter&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>kickstarter</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:kickstarter&amp;rev=1759832057&amp;do=diff</link>
        <description>Automate Installation with Kickstart

Redhat has a tool you can use to create kickstarter files you  can get it at

&lt;https://access.redhat.com/labs/kickstarterconfig/&gt;</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:layered-storage&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>layered-storage</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:layered-storage&amp;rev=1759832057&amp;do=diff</link>
        <description>Manage Layered Storage

 Using Stratis</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:lvm&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>lvm</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:lvm&amp;rev=1759832057&amp;do=diff</link>
        <description>Manage Storage Stack

interestingly enough he does not create partitions before creatting the pv

here is a lvresize comand

 lvresize -r -L 2G /dev/vg_DB/lv_maria

-r is to extend filesystem
-L specifies the final size of LV and 
the last bit i cnonical path of lv</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:nfs&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nfs</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:nfs&amp;rev=1759832057&amp;do=diff</link>
        <description>Access Network-Attached Storage

consists of 2 components nfs server and nfs client

nfs defaults now to version 4 which only uses port 2049 

so need to run command 

 firewall-cmd --add-service nfs --permanent 
 firewall-cmd --add-service nfs


On the NFS server
need to install nfs-utils and enable the nfs-server</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:recurring&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>recurring</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:recurring&amp;rev=1759832057&amp;do=diff</link>
        <description>Schedule Recurring Tasks

Schedule Recurring User Jobs

Use the crontab command to manage scheduled jobs

list of commands that a user can use to manage their jobs
  crontab -l   list the jobs from current user   crontab -r   remove all jobs from current user</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:reset-root&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>reset-root</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:reset-root&amp;rev=1759832057&amp;do=diff</link>
        <description>Reset the Root Password

To access that root shell, follow these steps:

Reboot the system.

	*  Interrupt the boot-loader countdown by pressing any key, except Enter.
	*  Move the cursor to the rescue kernel entry to boot (the entry with the rescue word in its name).</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux-ports&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>selinux-ports</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux-ports&amp;rev=1759832057&amp;do=diff</link>
        <description>Control SELinux Port Labeling

SELinux Port Labeling

In addition to file context and process type labeling, SELinux labels network ports with an SELinux context. SELinux controls network access by labeling the network ports and including rules in a service&#039;s targeted policy. For example, the SSH targeted policy includes the 22/TCP port with an ssh_port_t port context label. In the HTTP policy, the default 80/TCP and 443/TCP ports use an http_port_t port context label.</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>selinux</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:selinux&amp;rev=1759832057&amp;do=diff</link>
        <description>Manage SELinux Security

Its a form of mandatory access control. Its enabled by default

 Context  

 Control Selinux File Context 

 Adjust SELinux Policy with Booleans

Investigate and Resolve SELinux Issues</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:storagr&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>storagr</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:storagr&amp;rev=1759832057&amp;do=diff</link>
        <description>Manage Basic Storage

 Linux Partitions

 SWap 

 Manage Basic Storage</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:system-schedule&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system-schedule</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:system-schedule&amp;rev=1759832057&amp;do=diff</link>
        <description>Schedule Recurring System Jobs

uses the /etc/crontab file 

if the system is not available anacron checks to see that was missed and will run it.

you also have the /etc/cron.daily /etc/cron/weekly and /etc/cron/monthly

you can place executable files on those directories and they will be executed. You do not have control of the exact time when its done</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:systemlogs&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systemlogs</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:systemlogs&amp;rev=1759832057&amp;do=diff</link>
        <description>Describe System Log Architecture

The systemd-journald service is at the heart of the operating system event logging architecture. The systemd-journald service collects event messages from many sources:

The rsyslog service reads syslog messages that the systemd-journald service receives from the journal when they arrive. The rsyslog service then processes the syslog events, and records them to its log files or forwards them to other services according to its own configuration.</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tar-files&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tar-files</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tar-files&amp;rev=1759832057&amp;do=diff</link>
        <description>Archive and Transfer Files

tar

 tar
used to create and extract files

Moving Files Around

 moving files around

Synchronize Files Between Systems Securely

 Synchronize Files Between Systems Securely</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tasks&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tasks</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tasks&amp;rev=1759832057&amp;do=diff</link>
        <description>Schedule Future Tasks

One jobs

Uses the atd service

uses the at command

example


at 21:03 &lt; myscript

or it can be interactive like 


[student@servera ~]$ at -q g teatime
warning: commands will be executed using /bin/sh
at&gt; echo &quot;It&#039;s teatime&quot; &gt;&gt; /home/student/tea.txt
at&gt; Ctrl+d
job 2 at Fri Feb 17 16:00:00 2023</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tune&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tune</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:tune&amp;rev=1759832057&amp;do=diff</link>
        <description>Tune System Performance

 Adjust Tuning Profiles 

 Linux Process Scheduling</description>
    </item>
    <item rdf:about="http://ssl.webangel.ie/doku.php?id=classnotes:rh134:virtual&amp;rev=1759832057&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-07T10:14:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>virtual</title>
        <link>http://ssl.webangel.ie/doku.php?id=classnotes:rh134:virtual&amp;rev=1759832057&amp;do=diff</link>
        <description>Install and Configure Virtual Machines

Preparation

install appropriate software

 dnf group install &quot;Virtualization Host&quot; 

this package helps manage the Vms



and make sure cockpit is enabled

 systemctl enable --now cockpit.socket 

to make sure all is installed ok run the command</description>
    </item>
</rdf:RDF>
