UPDATE 2022-09-19: Just upgraded to TrueNAS 13 and found that the fuse-module has been rename from fuse.ko to fusefs.ko so this line below:/sbin/kldload fuse.koneeds to be changed to:/sbin/kldload fusefs.ko This is an update for an old post http://goran.tornqvist.ws/2014/11/13/rar2fs-on-freenas-9-2-embeded/ . TrueNAS 12 has been released and when I updated from FreeNAS 11.3 to that version I… Continue reading rar2fs on TrueNAS
Getting started with Argo CD on Openshift 4
This is a quick guide for getting started with Argo CD on Openshift 4 using the community operator from OperatorHub. It is more Admin/Ops focused for managing the whole Openshift infrastructure but a simple app/namespace can be managed in a similar manner. We will install Argo CD and configure it to use integrated Openshift authentication.Once… Continue reading Getting started with Argo CD on Openshift 4
RSS scraping with Python and passing new items to Slack using Webhooks
So my use case is that I wanted new Red Hat Errata published at https://rhn.redhat.com/rpc/recent-errata.pxt to be sent to one of our Slack channels. However the above url contains all errata and I´m only interested in critical errata to keep down the noise in the slack channel. * First step is to create a slack… Continue reading RSS scraping with Python and passing new items to Slack using Webhooks
Quick setup of Lets Encrypt on Apache with virtual hosts
This is a quick guide of how I setup letsencrypt on a Apache server with 3 SSL Virtual Hosts. References: * https://community.letsencrypt.org/t/quick-start-guide/1631 * https://community.letsencrypt.org/t/apache-configuration-example/2338 * https://community.letsencrypt.org/t/how-to-automatically-renew-certificates/4393 Setup: * CentOS7/RHEL7 * Apache with SNI support and virtualhosts already configured. * Virtualhost web dir is /var/www/vhosts and conf dir is /etc/httpd/conf.d . Assuming one conf file per… Continue reading Quick setup of Lets Encrypt on Apache with virtual hosts
Publishing internal HTTPS websites using pfSense Apache reverse proxy
So I though I should share a tip about an issue I had with setting up Apache reverse proxy in pfSense to serve internal HTTPS websites that are using self signed certificates. I got a message similar to The proxy server could not handle the request. Error during SSL Handshake with remote server. I solved… Continue reading Publishing internal HTTPS websites using pfSense Apache reverse proxy
Access Mediawiki RSS Recent Changes on a private wiki without authentication
The most simple solution would be to add Special:Recentchanges to the $wgWhitelistRead config variable, this does however give the whole world access to that page. Below is an alternative solution that add some additional security.
Nginx Reverse Proxy on Asus Merlin
A reverse proxy is what you need when you want to make your home things with Web GUIs, like web cameras, media servers, web servers, etc available on the internet. I´ve got a Asus RT-N66U router with Asuswrt-Merlin firmware installed which means I can install lots of additional stuff using OPTWARE with ipkg command, like… Continue reading Nginx Reverse Proxy on Asus Merlin
Installing Deluge on FreeNAS
Here´s my quick and dirty notes on how I installed Deluge on FreeNAS 9.2. In my case I did a dual torrent client setup in the same jail as transmission but you might as well install a new jail if you like. freenas> jls JID IP Address Hostname Path 1 – transmission_1 /mnt/vol1/jails/transmission_1 freenas> jexec… Continue reading Installing Deluge on FreeNAS
OP5 Monitor notifications by RSS
If you are using OP5 Monitor free version for personal/non-production/lab use you will find that notifications by e-mail or SMS is a bit overkill and annoying. So I created this simple RSS function that consists of a notification script that is called from a check commmand that writes the notification to a text file on… Continue reading OP5 Monitor notifications by RSS
Automated rpm resigning using GPG key with passphrase
Sometimes you want to sign multiple RPMs with your custom GPG key using a script. But what if your GPG key has a passphrase? (which it should) You probably don´t want to sit by the keyboard and enter the passphrase for each RPM. This is simpler approach than using gpg-agent, a bash function that uses… Continue reading Automated rpm resigning using GPG key with passphrase