falko's blog

How To Implement SPF In Postfix

This tutorial shows how to implement SPF (Sender Policy Framework) in a Postfix 2.x installation. The Sender Policy Framework is an open standard specifying a technical method to prevent sender address forgery. There are lots of SPF extensions and patches available for Postfix, but most require that you recompile Postfix. Therefore we will install the postfix-policyd-spf-perl package from openspf.org which is a Perl package and can be implemented in existing Postfix installations (no Postfix compilation required). http://www.howtoforge.com/postfix_spf

Install and Configure Auth Shadow on Debian/Ubuntu

Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable. http://www.howtoforge.com/apache_mod_auth_shadow_debian_ubuntu

How To Search For Missing Packages With apt-file On Debian and Ubuntu

This short article describes how you can search for missing packages with apt-file on Debian and Ubuntu systems. apt-file allows you to search for a file name, and it gives back the name(s) of the package(s) containing that file so that you can install the appropriate package. http://www.howtoforge.com/apt_file_debian_ubuntu

Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop

This article shows how you can convert a physical Windows system (XP, 2003, 2000, NT4 SP4+) into a VMware virtual machine with the free VMware Converter Starter. The resulting virtual machine can be run in the free VMware Player and VMware Server, and also in VMware Workstation and other VMware products. VMware Converter comes in handy if you want to switch to a Linux desktop, but feel the need to run your old Windows desktop from time to time. By converting your Windows desktop into a virtual machine, you can run it under VMware Server/Player, etc. on your Linux desktop. http://www.howtoforge.com/vmware_converter_windows_linux

Setting up a serial console

This tutorial will show you how to set up a serial console on a Linux system, and connect to it via a null modem cable. This is quite useful if your Linux server is in a headless configuration (no keyboard or monitor), as it allows you to easily get a console on the system if there are any problems with it (especially network problems, when SSH is not available). In the end, the GRUB menu will appear over the serial link, as will the bootup messages (output when booting the system). I am using Debian Etch on the server and Ubuntu Edgy on my client, although this should work on any Linux distribution. http://www.howtoforge.com/setting_up_a_serial_console

Run Your Own Webradio Station With Icecast2 And Ices2

This tutorial describes how to set up an audio streaming server with Icecast2. In order that Icecast2 can stream audio to listeners we install Ices2. Ices2 is a program that sends audio data to an Icecast2 server to broadcast to clients. Ices2 can either read audio data from disk (Ogg Vorbis files), or sample live audio from a sound card and encode it on the fly. In this article we will let Ices2 read .ogg files from the local hard disk. http://www.howtoforge.com/linux_webradio_with_icecast2_ices2

How to Set up Network Bonding in Ubuntu 6.10

Network Bonding, otherwise known as port trunking allows you to combine multiple network ports into a single group, effectively aggregating the bandwidth of multiple interfaces into a single connection. For example, you can aggregate two gigabyte ports into a two-gigabyte trunk port. Bonding is used primarily to provide network load balancing and fault tolerance. http://www.howtoforge.com/network_bonding_ubuntu_6.10

Fight Image Spam With FuzzyOCR And SpamAssassin On Debian/Ubuntu

This tutorial describes how to scan emails for image spam with FuzzyOCR. FuzzyOCR is a plugin for SpamAssassin which is aimed at unsolicited bulk mail containing images as the main content carrier. Using different methods, it analyzes the content and properties of images to distinguish between normal mails (ham) and spam mails. FuzzyOCR tries to keep the system load low by scanning only mails that have not already been categorized as spam by SpamAssassin, thus avoiding unnecessary work. http://www.howtoforge.com/fight_image_spam_with_fuzzyocr_spamassassin

Installing Ubuntu/Kubuntu Dapper Drake on a Single/Multi-Boot RAID System

This guide describes how to install Ubuntu (Ubuntu+GNOME) or Kubuntu (Ubuntu+KDE) 6.06.1 LTS (Dapper Drake) on a single or a multi-boot RAID system. It is meant as a variation of Ubuntu Wiki FakeRAID HowTo document, but digested and with minimum commentary. Its goal is to allow new Ubuntu users to complete an entire installation within 30 minutes, almost entirely by copy and paste. http://www.howtoforge.com/ubuntu_dapper_raid_system

Replacing A Failed Hard Drive In A Software RAID1 Array

This guide shows how to remove a failed hard drive from a Linux RAID1 array (software RAID), and how to add a new hard disk to the RAID1 array without losing data. http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array

Back Up Linux And Windows Systems With BackupPC

This tutorial shows how you can back up Linux and Windows systems with BackupPC. BackupPC acts as a server and is installed on a Linux system, and from there it can connect to all Linux and Windows systems in your local network to back them up and restore them without interfering with the user's work on that system. On the clients minimal to no configuration is needed. BackupPC supports full and incremental backups, and it comes with a neat web frontend for the administrator and normal user so that backups and recoveries can be managed through a web browser. It should be noted, however, that BackupPC does file-based backups, not bit-wise backups like Ghost4Linux, for example, so it is not made for disk/partition imaging. http://www.howtoforge.com/linux_backuppc

Setting Up A News-Voting Website With Pligg

This article shows how to set up your own news-voting website with Pligg. Pligg is a content-management system published under the Affero General Public License, and it is written in PHP and uses a MySQL database for storing its data. With a little work you can create your own community and let users vote news to the front page. http://www.howtoforge.com/news_voting_with_pligg

Modify Your Partitions With GParted Without Losing Data

This article shows how you can modify the partitioning of your Linux system with GParted (Gnome Partition Editor) without losing data. This includes resizing partitions (enlarging and shrinking), moving partitions on the hard drive, creating and deleting partitions, and even modifying filesystem types. GParted is a free partition editor available as a desktop program and also as a Live-CD. It supports the following filesystems: ext2, ext3, fat16, fat32, hfs, hfs+, jfs, linux-swap, reiserfs, reiser4, ufs, xfs, and even ntfs (Windows). http://www.howtoforge.com/partitioning_with_gparted

Using XenExpress To Virtualize Your Server

This guide covers the installation of XenExpress and the creation of virtual machines with the XenServer Administrator Console. XenExpress is the free virtualization platform from XenSource, the company behind the well known Xen virtualization engine. XenExpress makes it easy to create, run and manage Xen virtual machines with the XenServer Administrator Console. XenExpress can run up to 4 virtual machines at the same time with a max. total amount of 4GB RAM. The XenExpress installation CD contains a full Linux distribution which is customized to run XenExpress. http://www.howtoforge.com/virtualization_with_xenexpress

Installing The Native Linux Flash Player 9 On Ubuntu

This article describes how to install the new native Linux Flash Player 9 from Adobe on an Ubuntu Edgy Eft desktop so that it can be used within Firefox. The procedure works for other Ubuntu versions and Debian as well. http://www.howtoforge.com/native_linux_flash_player9_in_ubuntu