<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://pockettheories.com/dokuwiki/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://pockettheories.com/dokuwiki/feed.php">
        <title>Pocket Theories</title>
        <description></description>
        <link>http://pockettheories.com/dokuwiki/</link>
        <image rdf:resource="http://pockettheories.com/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-06-17T00:22:11+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=selinux&amp;rev=1780510988&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=linux&amp;rev=1780344264&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=wishlist&amp;rev=1779214422&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=start&amp;rev=1779213636&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=kafka&amp;rev=1779193752&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=git&amp;rev=1777745590&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=lxc&amp;rev=1777738418&amp;do=diff"/>
                <rdf:li rdf:resource="http://pockettheories.com/dokuwiki/doku.php?id=slackbotwithbolt&amp;rev=1777654388&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://pockettheories.com/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Pocket Theories</title>
        <link>http://pockettheories.com/dokuwiki/</link>
        <url>http://pockettheories.com/dokuwiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=selinux&amp;rev=1780510988&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-03T18:23:08+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>selinux</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=selinux&amp;rev=1780510988&amp;do=diff</link>
        <description>Check if SELinux is enabled with getenforce or sestatus.

Set it with setenforce enforcing or setenforcing 1.

Disable with setenforce permissive or setenforcing 0.

Creating own module

Files used

.te , Type Enforcement file

.fc , File Context file</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=linux&amp;rev=1780344264&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-01T20:04:24+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>linux</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=linux&amp;rev=1780344264&amp;do=diff</link>
        <description>Linux

Popular Topics

	*  bash
	*  bind
	*  chrony
	*  Docker
	*  diff
	*  FirewallD
	*  Git
	*  keepalive
	*  lxc
	*  mail
	*  rsync
	*  Samba
	*  SELinux
	*  SystemD Unit Files
	*  tuned
	*  ufw
	*  Vim
	*  VNC

Miscellaneous

Suppressing the Service Restart prompt for &quot;apt install&quot;


/etc/needrestart/needrestart.conf
$nrconf{verbosity} = 0;
$nrconf{restart} = &#039;a&#039;;

export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
export NEEDRESTART_MODE=a  # default is &quot;i&quot;nteractive…</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=wishlist&amp;rev=1779214422&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-19T18:13:42+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>wishlist</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=wishlist&amp;rev=1779214422&amp;do=diff</link>
        <description>Wish List

Daily case register

Healthcare practitioners in India have to maintain a Daily Case Register with the following columns:

	*  Serial Number
	*  Date
	*  Name of Patient
	*  Nature of Professional Services Rendered
	*  Fees Received
	*  Date of Receipt</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=start&amp;rev=1779213636&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-19T18:00:36+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=start&amp;rev=1779213636&amp;do=diff</link>
        <description>Pocket Theories

This page serves as a top-level page for this wiki.

* Interesting Stuff

Computer Hardware and Electronics

	*  Amazon Computer and Electronics Finds
	*  Restoring and Modding Old Computer Hardware

Software Administration

	*  Ansible
	*  Docker
	*  DokuWiki
	*  Grafana
	*  httpd (Apache)
	*  Kafka
	*  Linux
	*  MongoDB
	*  nginx
	*  OpenSSL
	*  Powershell
	*  Windows

Software Development

	*  Artificial Intelligence / Machine Learning
	*  git
	*</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=kafka&amp;rev=1779193752&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-19T12:29:12+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>kafka</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=kafka&amp;rev=1779193752&amp;do=diff</link>
        <description>Kafka

Kafka Broker

Kafka (with ZooKeeper) in a VM


### Install JDK ###

JAVAVERSION=17
# For Ubuntu
sudo apt update
sudo apt install -y openjdk-${JAVAVERSION}-jdk net-tools
# For RedHat
sudo dnf install -y java-${JAVAVERSION}-openjdk net-tools

SCALA_VERSION=2.13
KAFKA_VERSION=3.7.1
DOWNLOAD_SITE=downloads.apache.org
#DOWNLOAD_SITE=archive.apache.org/dist
curl -OL https://${DOWNLOAD_SITE}/kafka/${KAFKA_VERSION}/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz
tar xzf kafka_${SCALA_VERSION}-${KAFKA…</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=git&amp;rev=1777745590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-02T18:13:10+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=git&amp;rev=1777745590&amp;do=diff</link>
        <description>Git Remote Server

Setting up a git server is as easy as this...


# On the server
cd /usr/local/share
sudo mkdir mygitrepo
sudo useradd -d /usr/local/share/mygitrepo -c &quot;Git repo user&quot; gituser
sudo chown gituser mygitrepo
cd mygitrepo
sudo -u gituser mkdir myrepo1
sudo -u gituser git init --bare myrepo1
sudo passwd gituser

# On the client
mkdir project1
cd project1
touch dummyfile
git init
git add dummyfile
git commit -m &quot;Initial commit&quot;
git remote add origin ssh://gituser@myserver/usr/local/s…</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=lxc&amp;rev=1777738418&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-02T16:13:38+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>lxc - created</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=lxc&amp;rev=1777738418&amp;do=diff</link>
        <description>LXC Containers

Snippet for Debian/Ubuntu


sudo su -
apt install -y lxc lxc-templates
lxc-create -n mysrv1 -t download -- --dist ubuntu --release jammy --arch amd64
lxc-start -n mysrv1
lxc-attach -n mysrv1</description>
    </item>
    <item rdf:about="http://pockettheories.com/dokuwiki/doku.php?id=slackbotwithbolt&amp;rev=1777654388&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-01T16:53:08+00:00</dc:date>
        <dc:creator>reddy (reddy@undisclosed.example.com)</dc:creator>
        <title>slackbotwithbolt - created</title>
        <link>http://pockettheories.com/dokuwiki/doku.php?id=slackbotwithbolt&amp;rev=1777654388&amp;do=diff</link>
        <description>Slack Bot With Bolt

Within the Slack website

Go to api.slack.com , go to “Your Apps”, and “Create App”.

Enable Socket Mode, and in token add “connections::write”.

In the OAuth and Permissions tab, add the Bot Token Scopes. If you change these later, you will need to re-install the app to the workspace.</description>
    </item>
</rdf:RDF>
