Category: Sys Admin

Running WordPress & PHP Behind ISA Proxy

Running WordPress & PHP Behind ISA Proxy

Some things work well on their own but when mixed make your life hard. Things like Linux and PHP work very well. Microsoft ISA proxy also does a good job in a corporate MS environment. But making the two work together in a controlled environment can be an exercise in frustration. In this post I’ll …

+ Read More

Using 7zip in Cron Jobs Fails

Using 7zip in Cron Jobs Fails

For those people tearing their hair out trying to use the 7z util in a cron job, have a look in the Ubuntu forums for the solution. Strangely as soon as you start sending the output to a log file, the 7z part of your script will work. I struck the problem in the Hardy …

+ Read More

MySQL Replication on Ubuntu with DRBD

MySQL Replication on Ubuntu with DRBD

I’ve been looking around for some easy and open-source ways to handle database replication for a handful of small but important MySQL databases. A few options were viable but usually included too many config changes for things like creating a new database. DRDB on a Linux server seems to be one of the fastest and …

+ Read More

MS Exchange Local vs Hosted vs Google for 10,000 Users

MS Exchange Local vs Hosted vs Google for 10,000 Users

After looking at some comments around Exchange Hosted Services, I thought I might do a quick (and very dirty) comparison between that and Google for 10,000 users. (This is no way reflects on the three options and may not resemble your reality). MS Exchange Hosted Services would cost US$90k/month for company with 10k email users …

+ Read More

Upgrading to VMware Server 2 on Ubuntu 8.04

Upgrading to VMware Server 2 on Ubuntu 8.04

After downloading the latest Windows 7 RC I loaded it into VMware Server 1.06 that I installed on Ubuntu Server a while back. All going well until the Windows 7 installer wouldn’t see the disk I had created. It seems that Windows 7 doesn’t like the SCSI virtual disk, so I removed that and created …

+ Read More

Enable WakeUp from PS2 Keyboard in Ubuntu 8.10

Enable WakeUp from PS2 Keyboard in Ubuntu 8.10

One of the annoying “missing features” I’ve struggled with under Ubuntu is that I was unable to wakeup the PC from suspend or hibernate with my keyboard. Of course, Windows just does it – tap the keyboard and the PC starts up again. I could press the power button on the front of the PC, …

+ Read More

Mount USB Drives as Folders in Windows

Mount USB Drives as Folders in Windows

I’d like to say that I could make a title like “did you know . . .?” into a series of short articles but I’m not that knowledgeable or interesting. But one thing I did discover today was that Windows can mount external USB drives into folders and not just drive letters. We have a …

+ Read More

Installing VMware Server 1.06 on Linux

Installing VMware Server 1.06 on Linux

Installing the free VMware Server is a common but slightly tricky process on some newer Linux systems. Having had to go through it again recently I thought I’d write some of it down. Of course if you are using Ubuntu 7.10 then the simple option is to enable the Canonical Partner repository and just use …

+ Read More

Creating Windows Server Print Queues From the Cmd Line

Creating Windows Server Print Queues From the Cmd Line

I’d been given the task of setting up two Windows print servers with a touch over 300 print queues. The queues would be split between the two servers, with one holding all the even numbered queues (they’re named things like CityA094 or CityB031) and the other the odd names. Well, it gets rather boring doing …

+ Read More

Creating UNIX Time in Windows Script

Creating UNIX Time in Windows Script

I recently found myself needing to convert a date/time in a Windows vbs script to UNIX time and struggled to find an example of how to do this. Correct me if I’m wrong, but there doesn’t seem to be any built-in function to change 20070109161723+720 to 1168359443. After fine-tuning a few Google queries I found …

+ Read More