Category: Linux

Running multiple instances of mysql on the same machine

24 August, 2010 (15:33) | Linux, SQL, Programming

There are a lot of ways to run two instances of mysqld on one machine. Generally all you need to do is specify different ports and data directories. The method I describe below is basically to copy the default configuration shipped with Ubuntu Server into a different directory and name everything associated with […]

Copy a Linux system over the network, with no intermediate files

27 October, 2008 (21:41) | Linux

I had an old Red Had Linux system I wanted to convert to a Virtual Machine. The typical method recommended by most people is to back up the system, then restore it inside the VM. The problem I had with that is that you end up wasting a lot of time creating an […]

Updating Linux systems for 2007 Daylight Savings Time changes.

5 March, 2007 (20:51) | Linux

This works on most systems. First download the updated DST packages:
wget ‘ftp://elsie.nci.nih.gov/pub/tz*.tar.gz’
Extract and compile the utilities:

tar -zxvvf tzco*
tar -zxvvf tzda*
make

Now compile the data:

mkdir temp
./zic -d temp northamerica

Verify the new data file is correct:

./zdump -v temp/EST5EDT | grep 2007
/etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0
/etc/localtime […]