Archive for July, 2007

Backing up the WordPress Database

Tuesday, July 31st, 2007

At some point you need to be able to back up your blog. Since WordPress uses a MySQL back end I had to figure out how to back up a MySQL database. It turns out that this is a fairly simple thing to do. You just use the mysqldump utility. The command to backup a database is:

mysqldump –user=<user_name> –password=<pwd> <database_name> > <backup_file>


mysqldump –user=root –password=***** blog >c:\backups\blog.bak

Virtualization - Step 5 Fixing it when it goes wrong

Monday, July 23rd, 2007

After substituting the onboard ethernet controller for one that actually worked, VMware networking stopped working. Everytime I tried to start a virtual machine it would give a message to the effect that ‘The bridge network is not functioning because the virtual network vmnet0 is offline’. (more…)

Samba Performance Woes

Monday, July 23rd, 2007

I just spent a couple of frustrating days (are there any other kind?) troubleshooting a Samba performance problem on our new Linux server (kernel  Network I/O between our XP machines and the server was SSLLOOWW!!  After much tearing of hair and gnashing of teeth, it turns out that the drivers for the onboard ethernet controller (Realtek 8168B 1GB ethernet) are buggy.  Some fairly exhaustive searches with Google failed to turn up any patches that were reported to work, so I disabled the onboard controller and stuck in an old 3Com 905B that I had in an old machine.  Presto, everything started to work just as it should.

Some fun we’re having.

Installing and Configuring Wordpress on Windows 2000

Wednesday, July 18th, 2007

To install the Wordpress blogging software on a Windows 2000 system you need to do the following steps: (more…)

Virtualization - Step 4 Creating a Virtual Machine

Tuesday, July 17th, 2007

Once you actually get VMware installed and running actually creating a virtual machine is incredibly simple. Here is how you do it: (more…)

Virtualization - Step 3 Install VMware Server

Tuesday, July 17th, 2007

The next step is to install and configure VMware server so that I can configure virtual machines to run various other operating systems concurrently with Slackware. There is an excellent, although a bit outdated, article about configuring VMware for Slackware here:

An updated version of the installation instructions for Slackware 12 follows: (more…)

Virtualization - Step 2 Setting up Remote Access via X (Xdmcp)

Monday, July 16th, 2007

To make life easy for myself I want to be able to access the Linux server from my desktop using KDM. This is incredibly easy to set up, yet difficult to find out how to set it up. Again, my first stop was Google where I found any number of Xdmcp HOWTOs but these all talked about xdm and gdm but said very little about kdm. And the little that was mentioned was wrong.

On Slackware, this is how you do it: (more…)

Virtualization - Step 1 Installation and Raid-1

Monday, July 16th, 2007

I got my new server on Friday, so the first step was to get Linux installed with the boot partition mirrored. I started from a Linux Raid HOWTO that I found on the web. I looked at several different versions of this HOWTO and they all seemed to agree on the basics. That is, they all said that you need to install Linux to a non-raid partition, then create your raid array, copy the installed OS to the array and then fiddle LILO to point to the Raid array. I wasted most of Saturday trying to get this approach to work, only to find out that nothing could be further from the truth. With Slackware, all you need to do is create the Raid array before running setup and then install directly to the Raid array.

Here is how I finally got it to work: (more…)

Consolidating my Servers

Monday, July 9th, 2007

Today I begin my first foray into the murky world of virtualized servers. My intention is to combine my existing Linux (Slackware) and Windows 2000 servers into one machine. I also want to be able to get rid of my test machine. This machine currently has the ability to multi-boot Windows 98, Windows XP and Windows 2000. I also need to be able to add Windows Vista to this mix. My intention is to create a separate virtual machine for each of these test environments which I will be able to boot as necessary.

With all of this in mind I have ordered a 2.4GHz Intel Core-Duo system with 4GB of ram, a 256MB video card, gigabit ethernet and 2 250GB SATA drives. I have downloaded Slackware version 11 and 12 along with VMWare server edition.

My first goal is to get Slackware installed and running to the same point as my existing Slackware server. I need to have Samba configured and running, KDE configured as my desktop and remote access to the server via an X server on my development workstation. I hope to keep this blog updated with details about how all of this works out as I go along.

Wish me luck.

404 errors when trying to retrieve .aspx or CGI pages from 2003 servers

Monday, July 9th, 2007

Windows 2003 servers come with security more tightly locked down than previous versions of Windows. By default 2003 servers will only serv static content. To enable dynamic content like ASP.Net and CGI applications you must specifically allow it. To do this you must: (more…)