Skip to content

Tag: Debian

Saving and loading iptables rules on Debian

For some reason, Debian can't do "/etc/init.d/iptables save". So, we have to fix something ourselves. I used this article as source, which also has some useful comments. Apparently, the iptables initscript used to exist... Read More »

Installing Xen with Lenny guest on a Debian machine

This will explain how to install the paravirtualization software Xen on Debian. It is more involved than KVM, but more elegant if you can setup up a dedicated machine to run virtual machines (in fact, KVM on Debian seems quite clunky). I use this Debian wiki page as base. Read More »

Configuring a static IP address on Debian

This is a simple netconfig for a static IP address on a Debian machine. In /etc/network/interfaces, replace your eth0 (or whatever) with this: Read More »

Debian volatile: keep fast moving packages working on Debian stable

The concept of Debian stable is kind of nice, since you don't have to be affraid of upgrade breakages all the time, but it can also be annoying, because things like spamfilters and virusscanners are fast-moving and you often end up with old versions of those. That is why the Debian volatile project exists. Read More »

Quickly removing and adding bootscripts in Debian

Debian still uses the System V init scripts, which are very clumsy to use. Here are two Debian commands you might need often: Read More »

Preventing NameVirtualHost *:80 has no VirtualHosts

I often get the "NameVirtualHost *:80 has no VirtualHosts" on my webservers. It seems that every version of every distro has different requirements. My existing Debian config was fine, until I upgraded to Lenny. With fiddling, I determined the solution: Read More »

Debian network bridge setup for kvm/qemu

When you run virtual machines, the most convenient network setup is having a bridge between the virtual machine and your normal ethernet network. In Debian, I use the following config in /etc/network/interfaces to have such a bridge: Read More »

Tracking /etc/ updates with Git

During my recent Gentoo update session, I was once again confronted with the inconvenience of not having my /etc/ directory under version management. This time, I thought I had the ideal SCM for this job: Git. Read More »

Configuring a Debian satellite Exim server

A very common way to configure Exim on a Debian machine, is to make it a 'satellite'; a server which uses another SMTP server for sending and does not do local delivery, the latter being the difference with a 'smarthost'. It can be used by other computers in the network to send mail, but also by the machine itself, to send system notifications and such (one of my favorite apps, arpwatch, for example). Read More »