<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Just-the-Fun-Parts on №42</title>
    <link>https://blog.no42.org/categories/just-the-fun-parts/</link>
    <description>Recent content in Just-the-Fun-Parts on №42</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 05 Aug 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.no42.org/categories/just-the-fun-parts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Quick manual Kafka OpenNMS stack</title>
      <link>https://blog.no42.org/article/opennms-stack/</link>
      <pubDate>Thu, 05 Aug 2021 00:00:00 +0000</pubDate>
      <guid>https://blog.no42.org/article/opennms-stack/</guid>
      <description>&lt;p&gt;We have gathered a few ready-to-run Docker stacks in our public &lt;a href=&#34;www.github.com/opennms-forge/stack-play&#34;&gt;stack-play&lt;/a&gt; GitHub repository.&#xA;But sometimes you need Kafka, Zookeeper and OpenNMS quickly on a baremetal deployment without Docker.&#xA;Here a few quick notes how to get the bare minimum up and running.&lt;/p&gt;&#xA;&lt;h2 id=&#34;zookeeper&#34;&gt;Zookeeper&lt;/h2&gt;&#xA;&lt;p&gt;Install OpenJDK 11 JRE&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install -y openjdk-11-jre&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Create a user for zookeeper&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo adduser --system --home /opt/zookeeper --disabled-login zookeeper&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Create a logs directory&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo mkdir /var/log/zookeeper&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo chown zookeeper:nogroup /var/log/zookeeper -R&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install zookeeper&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
