mySQL search and replace
UPDATE ´tablename´ set field = replace(field, ’searchString’, ‘replaceString’);
Howto duplicate a Debian setup
This post describes howto reinstall or duplicate a Debian or Debian based distribution like Ubuntu. First we need to extract the installed packages on the source server and save them in a file debian:~# dpkg –get-selections >> packages Now we move to the target server and set the package selections according to the package file […]
Howto install Fedora Core 5 (FC5) from a USB stick
Download the Fedora disk image from a mirror: # wget http://mirrors.dotsrc.org/fedora/5/i386/os/images/diskboot.img Make sure that the USB device is unmounted: # sudo umount /dev/sda1 Copy the img to the usb key device: # dd if=diskboot.img of=/dev/sda Reboot and then select a network based install by typing: linux askmethod