Archive for the ‘Sysadmin’ Category

Easily migrate IIS6 sites to IIS7 with remote service

Wednesday, April 22nd, 2009

Here’s a quick howto on how to migrate IIS6 sites to IIS7. Install the Web Deployment Tool (x64/x86) on both the source as destination IIS machine. Select a custom install on the source machine and choose to install the remote service as well. On the destination ...

Release of Centos 5.3

Wednesday, April 1st, 2009

We are pleased to announce the immediate availability of CentOS-5.3 for the i386 and x86_64 Architectures. CentOS-5.3 is based on the upstream release EL 5.3.0, and includes packages from all variants including Server and Client. All upstream repositories have been combined into one, to make it easier for end users to ...

Change volume type from MSDOS to GPT

Wednesday, March 18th, 2009

To use a volume larger than 2GB it needs the GPT volume label in stead of MSDOS. I used this with Openfiler 2.3. You can change it like this. THIS REMOVES ALL DATA! parted /dev/sdb mklabel GPT quit Check: parted /dev/sdb print Disk geometry for /dev/sdb: 0.000-2000000.000 megabytes Disk label type: gpt Minor ...

Linux History command with timestamp

Tuesday, March 17th, 2009

History is a common command for shell to list out all the executed commands. It is very useful when it comes to investigation on what commands was executed that tear down the server or to find that one command you used in the past. If the command line history could provides ...

Windows cannot access the specified device, path or file

Thursday, January 15th, 2009

In recent Windows 2003 server or Vista installations you might get this error when trying to launch an executable file: Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item. SOLUTION: Right click the file, select Properties. On ...

What to do when you have a corrupted LVM filesystem (centos)?

Thursday, January 8th, 2009

- Boot the server with a Centos cd. - Press [F5-Rescue]:; > [linux rescue] - Don't startup the network interfaces - Skip mounting the filesystem (don't even mount it read-only !) lvm vgchange --ignorelockingfailure -P -a y fdisk -l The output will be something like this: Disk /dev/sda: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units ...

Retrieving Files From Backup Archives

Monday, December 15th, 2008

To restore your data on a Plesk 8 machine, use the pleskrestore utility as described in the Restoring Your Data (on page 10) section of this guide. Plesk for Linux stores backup files in compressed GZIP archives. Only the server administrator with access to server shell can unpack these archives. To unpack ...

DIG useful commands

Sunday, December 14th, 2008

Traces starting from root nameservers. Useful for getting the current nameservers set on a domain; dig connexeon.com +trace ; <<>> DiG 9.3.3rc2 <<>> @85.158.106.50 connexeon.be +trace ; (1 server found) ;; global options: printcmd . ...

Open Source Support with public mirrors

Friday, December 12th, 2008

Connexeon provides services based on some open source software solutions. We want to support the open source community with free public mirrors. Following public mirrors are currently available on our network: Centos (full mirror): http://centos.mirror.connexeon.net Putty: http://putty.mirror.connexeon.net Following services are also available on our network: Plesk update mirror (CentOS latest 8 and 9 versions ...

Find largest files on Linux system with sorting

Friday, December 12th, 2008

Finds files larger than 20MB in / and sort from biggest to smallest find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $5 " " $9 }' | column -t | sort -nr | less