Stopping the runaway Bash train

If Perl is the duct tape that holds the Internet together, Bash would have to be the duct tape that holds a Linux system together. Love it or hate it, you’re going to use shell programming at some stage on a Linux system. From init scripts that start daemons to scripts that run backups, Bash [...]

April 09 2012 | Uncategorized | No Comments »

MiniCloud: a simple Cloud computing toolkit for Dev/Testing

I’ve been using a lot more Cloud computing tools over the last few months. While EC2 is great, it leaves you longing for the same functionality with an internal private Cloud. And there are private clouds out there. OpenStack, Eucalyptus, OpenNebula & Cloud.com are some of the more popular ones but they take a bit [...]

September 17 2011 | Uncategorized | No Comments »

PHP 5.3 on CentOS 5 with an existing mod_php installation

I have seen many ways of installing newer versions of PHP on a CentOS/RHEL system. Most include replacing the distribution provided RPMs with 3rd party RPMs, replacing the entire PHP installation. I don’t like this as there is often only a few web applications that require a newer version of PHP.
I decided to build a [...]

November 27 2010 | Linux | 1 Comment »

Bringing Postfix, Cyrus SASL, saslauthd, pam_mysql & MySQL all together

I have had a constant battle with getting SASL authentication working within Postfix. My email accounts are stored in a MySQL database with MD5 encrypted passwords. I use Courier Authlib (authdaemond) to authenticate IMAP users fine, but I could never get Postfix/Cyrus talking correctly with authdaemond. I decided to look at other ways I could [...]

October 17 2010 | Uncategorized | No Comments »

New paper: Frequency analysis of second-level domain names and detection of pseudo-random domain generation

Its long title I know. While doing some other related personal research, I wrote this excerpt:
We can also look at the randomness of a domain name. For example ajksudmapx.com looks to be random for a human. To reverse randomness would be similarly as difficult as reversing a hashing algorithm. We could look at how domain [...]

June 12 2010 | Uncategorized | No Comments »

Stratum 1 NTP, Garmin GPS 18 LVC on FreeBSD 8.0

In this tutorial, I will be going over setting up a Garmin GPS 18 VLC to work with NTP on FreeBSD 8.0. This is the result of many hours of researching and troubleshooting to get everything up and running on FreeBSD. It is based loosely on http://www.satsignal.eu/ntp/FreeBSD-GPS-PPS.htm but as I found out there are a [...]

January 25 2010 | Tutorials | 30 Comments »

Expanding a LVM partition to fill remaining drive space

When I deploy new servers through VMWare ESX, I usually copy an existing base that I have already setup. I keep the base image VMDK size small so it is quick to copy. When I have copied the image and am setting up a new server, I adjust the size of the VMDK in VMWare [...]

December 08 2009 | Linux | 1 Comment »

Provisioning a Linux web and shell server in an Active Directory environment

In this rather large tutorial, I will go over setting up a Linux server to be used for user web space, shell access, FTP access any anything else that is PAM aware. All user accounts will reside in Active Directory. There is no password syncronisation or dirty scripts to pull it all together.
Overview
This tutorial is [...]

August 31 2009 | Linux and Windows | 4 Comments »

SSD Drives, Failure Rates and some Graphs

Solid state hard drives are the new craze – and for good reason too. They offer a linear access speed regardless of where the data is located on the drive, a improved MTBF (Mean Time Between Failure) and have a lightening fast access/seek time. We are looking at using SSD drives for our new servers [...]

May 07 2009 | Uncategorized | No Comments »

Decoding the Skype Host Cache

The host cache in Skype keeps a database of peers that Skype talked to upon last running. A host cache is one of several bootstrapping technologies that peer-to-peer networks use to connect a peer into the overlay network.
The host cache is kept in the shared.xml file located in the users home directory. If you look [...]

May 01 2009 | Scribbles | 6 Comments »

Next »