FreeBSD

Configuring unbound on FreeBSD 10.x

NOTE: I found out these settings do not persist after a reboot. Annoying. I’ll get back to that soon for a fix. EDIT 2021-05-05: On more recent FreeBSD, say 12.2, to disable resolvconf.conf, do this, as provided by [dvl@r720-02:~] $ cat /etc/resolvconf.conf resolvconf=NO [dvl@r720-02:~] $ The above is documented in man 8 resolvconf.conf (search for disable). I now return you to the original article. Today I was setting up my new server, varm, […]

Configuring unbound on FreeBSD 10.x Read More »

New external HDD

While in Ottawa for BSDCan 2015 and PGCon 2015, I obtained a 4TB external USB HDD. It now contains copies of the videos back to 2012 for BSDCan and PGCon. This is for backup. All these videos exist elsewhere (e.g. Youtube) and I have these just for backup. NOTE: the videos for BSDCan 2015 and PGCon 2015 will be online as soon as they are available. There is no ETA. Here’s what it

New external HDD Read More »

More Bacula Excludes with Jails and FreeBSD

Following on from my post about excluding the base OS with a Bacula FileSet, I decided to exclude some more. The starting point Here are the baselines: What else will I exclude? I decided to exclude the following as well: Adding iocage support Along the way, I extended the Exclude to work on server using the iocage jail management tool. I also split the Exclude out into its own file. Here is the

More Bacula Excludes with Jails and FreeBSD Read More »

WordPress and Fail2ban

I recently implemented Fail2ban on a FreeBSD jail host. It monitors log files within the jails, from the host. Offensive IP addresses which act up in one jail will be blocked at the host, thus blocking the rascal IP from all jails. This has been running for about two weeks. Today I added another tool, the WP fail2ban plugin. The plugin comes with a wordpress.local file, but to make it work with FreeBSD,

WordPress and Fail2ban Read More »

Excluding the base-OS when backing up FreeBSD jails with Bacula

I felt I was backing up way too much on my jail server. I was backing up files which would be installed as part of the OS. Let’s look at the esimate: *estimate level=full job=”slocum jail snapshots” Using Catalog “MyCatalog” Connecting to Client slocum-fd at slocum.int.unixathome.org:9102 2000 OK estimate files=2,824,716 bytes=239,568,332,325 * I decided to add these to the FileSet: Options { Exclude = yes WildDir = “/usr/jails/*/.zfs/snapshot/basejail” WildDir = “/usr/jails/*/.zfs/snapshot/bin” WildDir =

Excluding the base-OS when backing up FreeBSD jails with Bacula Read More »

drive letters changed?

I have no idea when I wrote this. It got saved but never published, until today. I recently had the boot drive at one of my servers change. It’s really a VM on a box, but at least it’s running FreeBSD. To fix it, I got a VNC session going to their server, and was greeted by the prompt: mountroot> ? List of GEMO managed disk devices: ufsid/48ee594bdcbf83e3 ufsid/48dd594bad4c1d6f ufsif/48ee594b514a21e1 ufsid/48ee594b75a0ff85 acd0 ad1s1f

drive letters changed? Read More »

ezjail with freebsd-update

I wrote this back in July 2013, but never published it. Might as well share it now. Lately, I’ve been moving away from tracking FreeeBSD STABLE and more towards using freebsd-update(8). Today, I’ll be setting up a jail, using ezjail and freebsd-update. ############## NOTE: Please read the comments before you read the article. ############## Installing Installing ezjail is straight forward: Installing the base jail My first attempt at creating a base jail failed:

ezjail with freebsd-update Read More »

What I would do differently when upgrading from 9.3 to 10.1

Last night I upgraded the main jail server in my lab from FreeBSD 9.3 to FreeBSD 10.1. I just started using the term, home lab, after discovering http://www.reddit.com/r/homelab/. That server contains, amongst other things, these jails: my development environment for http://dev.freshports.org/ my in house webserver, which hosts the above mentioned website my svn repo an installation of ElasticSearch and Kibana (ELK) an Nginx for web proxy 21 instances of Bacula for tutorial sessions

What I would do differently when upgrading from 9.3 to 10.1 Read More »

Upgrading from FreeBSD 9.3 to FreeBSD 10.1 using beadm and freebsd-update

In this post, I will use boot environments to upgrade an existing FreeBSD 9.3 to FreeBSD 10.1, and I will do this from within a chroot. Why? Because I can. You might want to read about my previous attempt and one or two, actually three, things I did to get ready for this. In the following commands, I clone the existing running environment to 10.1-RELEASE, then I mount it to /mnt, chroot into

Upgrading from FreeBSD 9.3 to FreeBSD 10.1 using beadm and freebsd-update Read More »

Scroll to Top