Tag Archives: FreeBSD

OpenSSL Creating a CSR with Additional names

As part of the new bailout project here at Gconnect, I needed an SSL cert with an additional domain in it. the first is the name of the server, the second is the name of the cluster. In order to … Continue reading

Posted in FreeBSD Administration | Tagged , , , , | Leave a comment

FreeBSD & Carp – failover and load balancing

FreeBSD supports CARP (Common Address Redundancy Protocol) and has done for many years now. We’ve been using it here at Gconnect as part of our ‘Mailout’ system with no issues at all and it’s served use well since FreeBSD version … Continue reading

Posted in FreeBSD Administration | Tagged , , , | Leave a comment

Sloppy File Handling – Perl

When reading around the subject of file handling in Perl its easy to get sloppy, phrases like ‘automatic cleanup’ and the like lull us into believing that the close statement is just a ‘nice to have’. Well this burnt me … Continue reading

Posted in FreeBSD Administration, MySQL, Perl | Tagged , , , | Leave a comment

Synchronising Nameservers (Bind + FreeBSD) with Perl

A funny thing happened to a colleague’s name servers the other day. Whilst very diligent in almost every respect when it comes to failover, redundancy, etc, etc he was bitten by a simple yet overlooked  issue. We all synchronise name … Continue reading

Posted in FreeBSD Administration, Perl | Tagged , , | Leave a comment

FreeBSD ZFS Deduplication

Time to prove or disprove the ZFS dedup capabilities. First its important to understand that as with compression, if we change the settings on the storage block then only new data written to that area will be de-duped or compressed. … Continue reading

Posted in FreeBSD Administration, ZFS | Tagged , , | Leave a comment

Quick MySQL backups

As a hosting provider we are often asked to provide a backup or dump of a mysql database. The easiest way to do it is to performa MySQLdump into a file into the webspace and the secure it with file … Continue reading

Posted in Apache, FreeBSD Administration, MySQL | Tagged , , , | Leave a comment

FreeBSD ZFS – Connecting an existing zpool to a new OS

Imagine that you have your server with an external RAID array running a ZFS file system, or even a separate internal array on the box and the OS array is trashed. Now you have your nice redundant ZFS partition, but … Continue reading

Posted in FreeBSD Administration, ZFS | Tagged , , , | Leave a comment

ModSecure – exempting a domain

Having installed modSecure2 onto a few web servers, it seems that, even with the base_rules do not get on well with Actinic software. Our options were to start removing rules from within the base_rules set or simply exclude the domain … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment

FreeBSD Jails with EZJail

The last post was a success in that a jail was created and everything worked fine and as expected. However, before I go charging off to the server store and configuring my production server, I’m going to do a bit … Continue reading

Posted in FreeBSD Administration | Tagged , , | Leave a comment

Apache and mod_secure2 (Modsecure)

There comes a time when preaching and asking nicely about securing websites on a community server is finished.  I was looking for a global method of restricting what was uploaded to the server when I came across mod_secure. This Apache … Continue reading

Posted in Apache, FreeBSD Administration | Tagged , , , | Leave a comment