<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>building &amp;mdash; LinuxPizza</title>
    <link>https://blogs.linux.pizza/tag:building</link>
    <description>Personal notes and occasional posts - 100% human, 0% AI generated</description>
    <pubDate>Tue, 14 Apr 2026 15:36:43 +0000</pubDate>
    <item>
      <title>Run a Tor-Relay on Tribblix - an Illumos retro distribution</title>
      <link>https://blogs.linux.pizza/run-a-tor-relay-on-tribblix-an-illumos-retro-distribution</link>
      <description>&lt;![CDATA[This fall, has been busy for me, and when I am busy I like to experiment and play with stuff - especially IT and nerdy stuff.&#xA;This brings me back to the days when I started with Linux, for me it was new, cool and different. Nowadays I feel like it is not so different.&#xA;&#xA;So, being the hipster that I am, I set out to find something new. I&#39;ve already tried and played with OmniOS a couple of years back and I liked it. And during my quest to get it on a iPXE server - I found out about Tribblix.&#xA;&#xA;Tribblix is a Illumos distribution with a retro feel. And that I liked. The iPXE setup was easy since Peter Tribble - the creator and maintainer of Tribblix - already have an iPXE server up and running. So I just used the already ready target at (http://pkgs.tribblix.org/m24/ipxe.txt) and got it up and running according to the installation instructions provided by Tribblix here:&#xA;http://www.tribblix.org/install.html&#xA;&#xA;Enter Tor - and the recent news that Russia has decided to block Tor nationwide. I must say that I do understand why they did it from a IT-security perspective - alot of crap is originating from Russia. That is an undisputed fact.&#xA;However, from a freedom perspective - this is making an already bad situation even worse. So what a perfect opporunity to run a Tor-relay on a SunOS machine! Currently, there is only 5 relays that is running on a Solaris/SunOS based kernel (including one of mine).&#xA;Lets change that - more diversity in the Tor-network is a good thing.&#xA;&#xA;So, assuming that you have installed Tribblix. Lets pull down the Tribblix overlay called &#34;develop&#34;&#xA;&#xA;zap install develop&#xA;&#xA;This takes a couple of minutes, and what it does is that it download and installs all the nessecary packages you need to build Tor.&#xA;&#xA;We also need LibEvent, since Tor requires it. And the TRIBlibev is like libevent - but not really - we need to manually compile it.&#xA;&#xA;Download the latest stable version from github, and extract it like shown below:&#xA;&#xA;wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz&#xA;tar -xvf libevent-2.1.12-stable.tar.gz&#xA;Lets also pull down the Tor-source code and extract:&#xA;wget https://dist.torproject.org/tor-0.4.6.9.tar.gz&#xA;tar -xvf tor-0.4.6.9.tar.gz&#xA;&#xA;Great, now you should have everything you need in order to get started.&#xA;&#xA;Navigate to the libevent catalogue you just extracted, and run the following:&#xA;&#xA;./configure --prefix=/tmp/mc --enable-static --disable-shared&#xA;gmake&#xA;gmake install&#xA;This will create a static and temporary copy of LibEvent in the /tmp/mc catalogue. we will use that in the compilation of Tor.&#xA;&#xA;When the compilation of LibEvent is done, nagivate to the Tor-catalogue and run the following:&#xA;./configure --with-libevent-dir=/tmp/mc MAKE=&#34;gmake&#34;&#xA;gmake&#xA;gmake install&#xA;&#xA;The proceedure is quite similar to the LibEvent compilation.&#xA;&#xA;When the &#xA;Configure the torrc file according to your needs, read the Tor Projects Post Install Guide and follow the recommendations.&#xA;&#xA;You can now run tor by just typing &#xA;For now, you can use &#xA;&#xA;Thanks to Peter Tribble, who told me how to get LibEvent into the system.&#xA;&#xA;Tor Relay by Kernels&#xA;&#xA;#unix #tor #building #illumos #tribblix&#xA;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<h3 id="this-fall-has-been-busy-for-me-and-when-i-am-busy-i-like-to-experiment-and-play-with-stuff-especially-it-and-nerdy-stuff" id="this-fall-has-been-busy-for-me-and-when-i-am-busy-i-like-to-experiment-and-play-with-stuff-especially-it-and-nerdy-stuff">This fall, has been busy for me, and when I am busy I like to experiment and play with stuff – especially IT and nerdy stuff.</h3>

<p>This brings me back to the days when I started with Linux, for me it was new, cool and different. Nowadays I feel like it is not so different.</p>

<p>So, being the hipster that I am, I set out to find something new. I&#39;ve already tried and played with OmniOS a couple of years back and I liked it. And during my quest to get it on a iPXE server – I found out about Tribblix.</p>

<p>Tribblix is a <a href="http://www.tribblix.org/">Illumos distribution with a retro feel</a>. And that I liked. The iPXE setup was easy since Peter Tribble – the creator and maintainer of Tribblix – already have an iPXE server up and running. So I just used the already ready target at (<a href="http://pkgs.tribblix.org/m24/ipxe.txt">http://pkgs.tribblix.org/m24/ipxe.txt</a>) and got it up and running according to the installation instructions provided by Tribblix here:
<a href="http://www.tribblix.org/install.html">http://www.tribblix.org/install.html</a></p>

<p>Enter Tor – and the recent news that Russia has decided to block Tor nationwide. I must say that I do understand why they did it from a IT-security perspective – alot of crap is originating from Russia. That is an undisputed fact.
However, from a freedom perspective – this is making an already bad situation even worse. So what a perfect opporunity to run a Tor-relay on a SunOS machine! Currently, there is only 5 relays that is running on a Solaris/SunOS based kernel (including one of mine).
Lets change that – more diversity in the Tor-network is a good thing.</p>

<p>So, assuming that you have installed Tribblix. Lets pull down the Tribblix overlay called “develop”</p>

<pre><code>zap install develop
</code></pre>

<p>This takes a couple of minutes, and what it does is that it download and installs all the nessecary packages you need to build Tor.</p>

<p>We also need LibEvent, since Tor requires it. And the TRIBlibev is like libevent – but not really – we need to manually compile it.</p>

<p>Download the latest stable version from github, and extract it like shown below:</p>

<pre><code>wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
tar -xvf libevent-2.1.12-stable.tar.gz
</code></pre>

<p>Lets also pull down the Tor-source code and extract:</p>

<pre><code>wget https://dist.torproject.org/tor-0.4.6.9.tar.gz
tar -xvf tor-0.4.6.9.tar.gz
</code></pre>

<p>Great, now you should have everything you need in order to get started.</p>

<p>Navigate to the libevent catalogue you just extracted, and run the following:</p>

<pre><code>./configure --prefix=/tmp/mc --enable-static --disable-shared
gmake
gmake install
</code></pre>

<p>This will create a static and temporary copy of LibEvent in the /tmp/mc catalogue. we will use that in the compilation of Tor.</p>

<p>When the compilation of LibEvent is done, nagivate to the Tor-catalogue and run the following:</p>

<pre><code>./configure --with-libevent-dir=/tmp/mc MAKE=&#34;gmake&#34;
gmake
gmake install
</code></pre>

<p>The proceedure is quite similar to the LibEvent compilation.</p>

<p>When the <code>gmake install</code> procedure is done, you can find the tor-config files in <code>/usr/local/etc/tor/</code> and the binaries in <code>/usr/local/bin/</code>.</p>

<p>Configure the torrc file according to your needs, read the <a href="https://community.torproject.org/relay/setup/post-install/">Tor Projects Post Install Guide</a> and follow the recommendations.</p>

<p>You can now run tor by just typing <code>/usr/local/bin/tor</code> in your terminal – and you now have a relay running.</p>

<p>For now, you can use <code>tmux</code> in order to run it in the background.</p>

<p>Thanks to <a href="http://www.petertribble.co.uk/">Peter Tribble</a>, who told me how to get LibEvent into the system.</p>

<p><img src="https://cdn.social.linux.pizza/v1/AUTH_91eb37814936490c95da7b85993cc2ff/sociallinuxpizza/media_attachments/files/107/475/160/389/001/956/original/f22f80c8e860c0bf.png" alt="Tor Relay by Kernels"></p>

<p><a href="https://blogs.linux.pizza/tag:unix" class="hashtag"><span>#</span><span class="p-category">unix</span></a> <a href="https://blogs.linux.pizza/tag:tor" class="hashtag"><span>#</span><span class="p-category">tor</span></a> <a href="https://blogs.linux.pizza/tag:building" class="hashtag"><span>#</span><span class="p-category">building</span></a> <a href="https://blogs.linux.pizza/tag:illumos" class="hashtag"><span>#</span><span class="p-category">illumos</span></a> <a href="https://blogs.linux.pizza/tag:tribblix" class="hashtag"><span>#</span><span class="p-category">tribblix</span></a></p>
]]></content:encoded>
      <guid>https://blogs.linux.pizza/run-a-tor-relay-on-tribblix-an-illumos-retro-distribution</guid>
      <pubDate>Fri, 17 Dec 2021 16:46:39 +0000</pubDate>
    </item>
  </channel>
</rss>