I thought I would share the script I use to keep track of port updates across all my FreeBSD servers. As usual know your basic FreeBSD (I assume that you have already use screen, portsnap and portmaster) to use this guide. Put this script in /usr/local/sbin/daily.sh (and change the email). Add the script to root’s [...]
Archive for category FreeBSD
I recently had to shape the connection of a FreeBSD firewall due to massive packet loss when the 2Mbit line reached full capacity in either direction. As usual know your basic FreeBSD (incl. how to compile a kernel) to use this guide. A lot of this guide can be found in the FreeBSD Handbook. In [...]
Due to a recent situation where I had to install FreeBSD on a IBM X3250 without the remote control upgrade to the IMM (to mount images virtually) and with no CD/DVD drive available an alternative solution had to be cooked up. These files will enable you to use the zfsinstaller from mfsBSD SE in the [...]
With Christmas, new year and my wedding over I figured it was time to add another tutorial. One of the things many would like is a decent monitoring solution for their server and after trying and using many of the available free packages around (some are ntop, Munin, Cacti, Monit, Zabbix, Zenoss and Nagios) I [...]
Clarification (31st of October 2010): This guide will give you a PPTP based 4 user VPN server on FreeBSD, using pf for NAT. Clients can use the built in VPN client in Windows/Ubuntu/Mac etc so no need for 3rd party applications like OpenVPN etc. This post will be short and to the point, as I [...]
Just a quick update, I thought I might as well share the scripts I use to create vhosts, so if you are using the setup I described in the other blog posts, this will make life easier for you, else just modify it to suit your needs. vhost.sh (interactive script) – Screenshot autovhost.sh Apache template [...]
Luckily I have not been the victim of a slowloris attack but that is no reason not to take action. So when I was setting up a webserver solution based on Apache, MySQL and PHP5 I might as well add a caching frontend for Apache. This howto guide assumes you have basic knowledge of FreeBSD [...]
As I got my hands on a machine today with 4x 250GB hard drives I wanted to try ZFS after reading and hearing so much good about it. As I had never used ZFS before on neither FreeBSD or OpenSolaris/OpenIndiana I decided it would be a good time to write another post on this blog. [...]
After taking over a server that had been through a few (very) different system administrators I had to write the MySQL backup all over again.
This resulted in a nice little script that does backup pr. database, compresses it with 7zip and has detailed log of the event.