Puppet on FreeBSD connecting to servers using a self-signed certificate.
This is mostly a reminder for myself that http://169.254.169.254/latest/meta-data/ on a aws ec2 is really cool because you get get all sort of information with it.
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!
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
Delete a Single Line From History
Did you ever wanted to remove a single line from your shell history? This is how you can easily do it: use: history -d line number to remove the line, for example history -d 431, […]
A Magic Trick From ZFS
This is a short description about how to recover a single or multiple files from a ZFS snapshot on FreeBSD. The same trick might work on Linux, I haven’t tried, if you did please let […]
How’s YOUR server doin’?
If you are using FreeBSD then you must be familiar with daily run output or daily security run output messages. They can be found in the root user’s mailbox by simply typing mail as root. If you’re […]
The Power Of CTRL+T
Did you know that you can check what a process is doing by pressing CTRL+T? Has it happened to you before that you were waiting for something to be finished that can take a lot […]
FreeBSD and jails
ezjail is a perfect tool for jails. What it does is actually saving you a lot of keystrokes. It is a very nice bash script. When you create a new jail one of the task ezjail […]