Puppet on FreeBSD connecting to servers using a self-signed certificate.
Debugging shell scripts comes handy, especially when unexpected things happen. Trust me, they do. I use two different approaches, based on what’s needed: debug while running it or when ran in the background, maybe by […]
How to extend ZFS on FreeBSD How to extend ext4 on Ubuntu using LVM (Linux Volume Group)
vi and vim are two out of many text editors on Unix, this is my .vimrc. I put this here mostly so I can easily grab it.
This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:
My idea about not to rotate empty log files on FreeBSD has made it to newsyslog, yay 😀 ! Big thanks for Dan Langille who made this happen!
On FreeBSD /var/cache/pkg can use up a significant amount of space. The good news is the content of this directory is not required. However it is useful if you want to rollback to an older […]
A tiny bit of cfengine
I’m sure your server is running at least one service which needs network. Once in awhile happens that the server will start all, or at least is trying to start all services but the network […]
Recently I found a forum entry with a script for blocking ad’s via DNS for WRT (or any other OS using sh and dnsmasq). However it was missing two features: a white list and a […]