Linux

Ubuntu Linux 7.10 Beta on HP Compaq 8510p (laptop)

I experienced problems booting the install-CD for both Ubuntu 7.04 and Fedora Core 7 on my HP Compaq 8510p laptop because the kernel didn’t have the correct SATA driver, so I decided to try the beta of Ubuntu 7.10. The booting problem was fixed on 7.10 Beta and the installation process halted at 88% “importing […]

Read More
Scripting

Courier-IMAP to Dovecot Migration Script

I’ve just migrated a couple of servers from Courier-IMAP to Dovecot, and am very happy with the latter so far. I thought I’d share the courier2dovecot shell script I whipped together (based on the instructions I found in the migration how-to), for converting Courier-IMAP maildirs to Dovecot format. While the script is rather simple, it […]

Read More
Linux

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

Read More
Linux

Open a range of ports with iptables

In RedHat/Fedora you can define firewall rules in the file /etc/sysconfig/iptables. By adding this line you open ports in the range 5920-5960 -A RH-Firewall-1-INPUT -p tcp –destination-port 5920:5960 -j ACCEPT

Read More
Linux

rpm and yum stop working on Fedora Core 5

yum and rpm stop doing their magic because of corrupt files etc and no updates can be performed on the system. A simple, but maybe not recommended solution is to delete the files located in /var/lib/rpm -rw-r–r– 1 root root 0 Jan 22 10:10 __db.000 -rw-r–r– 1 root root 24576 Jan 19 17:12 __db.001 -rw-r–r– […]

Read More