Puppet on FreeBSD connecting to servers using a self-signed certificate.
Category: freebsd
Enable Debug For Shell Scripts
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 HDD
How to extend ZFS on FreeBSD How to extend ext4 on Ubuntu using LVM (Linux Volume Group)
.vimrc
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.
Capture IP From PING
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:
newsyslog: don’t rotate empty log files
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!
/var/cache/pkg
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 […]
CFengine
Netwait on FreeBSD
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 […]
DNS Blacklist on WRT
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 […]