<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FreeBSD on nagg.eu</title><link>https://nagg.eu/tags/freebsd/</link><description>Recent content in FreeBSD on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 01 Mar 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/freebsd/index.xml" rel="self" type="application/rss+xml"/><item><title>nagg.eu TOR onion mirror</title><link>https://nagg.eu/uwoteu-tor-onion-mirror/</link><pubDate>Sun, 01 Mar 2020 00:00:00 +0000</pubDate><guid>https://nagg.eu/uwoteu-tor-onion-mirror/</guid><description>&lt;p&gt;Here at nagg.eu we are strong believers in internet anonymity and privacy, for
this reason we are proudly announcing the launch of &lt;a href="http://7yhj254ypfnz7acih5dyefwvnqsx2xu3jcceswkqfltvgz7l4uxur6qd.onion"&gt;nagg.eu onion mirror&lt;/a&gt;.&lt;br&gt;
Onion mirror version of the website is still work in progress and still contains
links to third party clearnet domains.&lt;br&gt;
Use with caution.&lt;/p&gt;</description></item><item><title>FreeBSD, Nginx and htpasswd file generation</title><link>https://nagg.eu/freebsd-nginx-and-htpasswd-file-generation/</link><pubDate>Sun, 01 Sep 2019 00:00:00 +0000</pubDate><guid>https://nagg.eu/freebsd-nginx-and-htpasswd-file-generation/</guid><description>&lt;p&gt;On most Linux distros it is possible to generate the htpasswd file entries simply
using the &lt;code&gt;htpasswd&lt;/code&gt; command line util.&lt;br&gt;
On FreeBSD the easiest way to accomplish the same task is using OpenSSL itself:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
openssl passwd -apr1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Enter the password twice to get a nice hash, copy that in the htpasswd file
with the usual &lt;code&gt;user:password_hash&lt;/code&gt; syntax.&lt;/p&gt;</description></item><item><title>FreeBSD, NGINX and TLSv1.3</title><link>https://nagg.eu/freebsd-nginx-and-tlsv1.3/</link><pubDate>Sat, 29 Jun 2019 00:00:00 +0000</pubDate><guid>https://nagg.eu/freebsd-nginx-and-tlsv1.3/</guid><description>&lt;p&gt;After a six months hiatus here is a new blogpost.&lt;br&gt;
This saturday I finally found the time to upgrade the configuration of the server
that hosts this very website.&lt;br&gt;
Software stack is pretty simple: &lt;code&gt;FreeBSD&lt;/code&gt; (version 12.0-p6),&lt;code&gt;nginx&lt;/code&gt; (version 1.15.10)
and &lt;code&gt;OpenSSL&lt;/code&gt; (version 1.1.1a-freebsd).&lt;/p&gt;
&lt;p&gt;Install the required software:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
$ pkg install nginx-devel py36-certbot
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Get a SSL certificate from &lt;a href="https://letsencrypt.org/"&gt;letsencrypt&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
$ certbot-3.6 certonly --standalone -d domain.tld -d www.domain.tld
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Certfiles location is &lt;code&gt;/usr/local/etc/letsencrypt/live/&amp;lt;domain.tld&amp;gt;&lt;/code&gt;, you might,
or might not, want to move them to another directory.&lt;/p&gt;</description></item><item><title>FreeBSD network performance on KVM/Qemu</title><link>https://nagg.eu/freebsd-network-performance-on-kvm-qemu/</link><pubDate>Tue, 13 Nov 2018 00:00:00 +0000</pubDate><guid>https://nagg.eu/freebsd-network-performance-on-kvm-qemu/</guid><description>&lt;p&gt;Today I red an article that was comparing Fedora 29 and FreeBSD 11.2 network
performance in a KVM/Qemu environment.&lt;br&gt;
Since I use KVM/Qemu and also Fedora and Freebsd I powered on a couple of vm
and did my own tests.&lt;br&gt;
Results are quite interesting, I expected FreeBSD to be faster but it turns out
Fedora 29 actually is.&lt;br&gt;
Host system configuration:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;
CPU: Ryzen 7 1700x @4 GHz
Motherboard: Gigabyte X370 K7 - BIOS F23d
RAM: 2x16 GB DDR4 @3133 MHz CAS 16
HDD: Some Samsung SSD

Operating systems
Host: Fedora 29 x86_64
Fedora VM0: Fedora 29 X86_64
Fedora VM1: Fedora 29 X86_64
FreeBSD VM0: FreeBSD 11.2 x86_64
FreeBSD VM1: FreeBSD 11.2 x86_64

Virtualization techonology: Qemu+KVM
Linux kernel version: 4.18.17-300.fc29.x86_64
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;What I did was setup 2 hidentical Fedora 29 virtual machines and 2 hidentical
FreeBSD 11.2 virtual machines, every one of them had &lt;code&gt;iperf3&lt;/code&gt; installed on it.&lt;/p&gt;</description></item><item><title>Nginx, PHP-FPM caching done right</title><link>https://nagg.eu/nginx-php-fpm-caching-done-right/</link><pubDate>Wed, 22 Apr 2015 23:38:54 +0000</pubDate><guid>https://nagg.eu/nginx-php-fpm-caching-done-right/</guid><description>&lt;p&gt;The whole web is full of pseudo guides on how to properly - that is the key
word here - configure Nginx to perform caching alongside with PHP-FPM, but
every single one of them fails to mention some minor steps resulting in a
borked half functioning implementation.&lt;br&gt;
For example, not a single one mention the necessity to edit &lt;code&gt;/etc/php.ini&lt;/code&gt; and
set &lt;code&gt;session.use_cookies&lt;/code&gt; to &lt;code&gt;0&lt;/code&gt;.&lt;br&gt;
Too bad that without doing so caching with WordPress in combination with
certain plugins or themes (for example MainWP or Enfold theme) is completely
not working; the following headers get added to every HTTP response:&lt;/p&gt;</description></item></channel></rss>