Archive for Sysadmin

Storing mySQL database settings for php and perl in one file

I have a situation where there’s two scripts.

  1. The main core of the code which is PHP based.
  2. A perl script which is called by the mail server for parsing incoming mail.

Both of these scripts require database access to the same database.

Read the rest of this entry »

Comments (2)

Transfering domains from Godaddy.com to TuCows OpenSRS

I need to transfer a bunch of domains from Godaddy (aka Godamnannoying) to TuCows (aka OpenSRS), surly it can’t be that difficult? Right?

I found that there were lots of articles on how to transfer to Godaddy, but not how to get out. This is a short guide on how to transfer away from Godaddy, in this case we will be transferring to OpenSRS.

This guide is appropriate for .com, .net, .org, .name domain names.

Read the rest of this entry »

Comments

How I hacked my schools website - a look into the past

When I was about 16 I hacked my schools website, why? how? Let’s find out…

Read the rest of this entry »

Comments (3)

So how did I get infected in the first place?

People often ask me how their system got infected in the first place, this article attempts to make you aware of where infections come from, in an attempt to help you prevent them in the future.

Read the rest of this entry »

Comments

FreeBSD 6.2 “/usr/ports: No such file or directory”

I recently setup a new FreeBSD 6.2 server, only to find the following:

server# cd /usr/ports
/usr/ports: No such file or directory.

Read the rest of this entry »

Comments (2)

Next time i’m buying a mac

Recently I decided to get away for a break, so I left the country with all intention of not doing anything work related for a week.

This was all fine, but to check my personal emails I decided to find an internet café to rather than use my mobile phone to save my pennies.

Read the rest of this entry »

Comments (1)

HP Software Update

Today, I am trying to install a “HP Scanjet 7650n”, everything seems okay, until I come to install the software.

As part of the software installation it appears to install a piece of software called “HP Software Update”.

Unfortunately this causes me an error:

Product: HP Software Update — A newer version of this software has been found on your system. Setup will now exit.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Read the rest of this entry »

Comments (4)

Correct Documents and Settings folder on Windows 2000

Today I get a frantic call from a client who’s experiencing a little bit of trouble with his laptop.

“When it all loads up, it’s not the same as normal, my Outlook icon is missing, I can’t get to my email and my favourites are gone from Internet Explorer.”

He’s using Windows 2000, so my immediate suspicion is that he’s logged on as another user by mistake, so, it should be nothing more than a 5 minute job right?

Read the rest of this entry »

Comments (3)

How to create a boot CD for Windows ME

Today I was given a machine that has Windows ME installed (Yes, Windows ME sucks, I know).

Outline of the situation:

  • The user wants windows restored to a working state.
  • It does not boot into windows, reinstall is required.
  • I do not have the original setup disc, only the setup files.
  • I have no floppy disk drive to create a boot disk.
  • I need a bootable CD with the installation files on.
  • The user only has a license for Windows ME.

Read the rest of this entry »

Comments

Win32 Virtob/Virut removal

Today I got handed a machine riddled with a virus that avast! detects as “Win32 Virtob“, also known as “Win32 Virut“.

Read the rest of this entry »

Comments (9)

« Previous entries · Next entries »