Skip to content

Tag: Debian

Creating a Xen bridge with bonding on Debian

Like this, but then with bonding: Read More »

Creating a drbd for an existing Xen domain

I needed some VMs to be available on a backup node, which I accomplished with the distributed remote block device, or DRBD. My host machine is Debian 6. Read More »

Fixing mailscanner insecure dependancy

Mailscanner cut out on me, without errors in the log. It was only after turning on debug (which prevents backgrounding and it then only processes one batch) that it showed me. Read More »

Executing system commands from PHP with SUID executable.

If you want to execute system commands from something like PHP, you need a SUID executable which you can call from your PHP scripts. This is such a script. It could be extended to support parameters for the commands you want to execute, but that would be an enormous security risk, because then anybody can execute any command. If you need something as flexible as that, you need to think about adding some kind of security restrictions, like a list of allowed commands. Read More »

Allowing apache to set Nagios cmd file

On debian, to prevent: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! Read More »

Disabling exim port 25 listening when zimbra is installed

Edit: This doesn't work anymore I don't think, because more modern versions check for SMTP conflicts and don't allow this. Read More »

grml

grml seems like an interesting Debian-based Linux Live CD. It seems interesting because “[it] includes a collection of GNU/Linux software especially for system administrators and users of texttools.”

Read More »

Find all manually installed packages on a Debian system

This should find all manually installed packages on a Debian system:

aptitude search '~i!~E' | grep -v "i A" | cut -d " " -f 4 Read More »

Making a Debian Squeeze machine into a Xen virtual machine host

My attempts to get Xen working right on Debian stable (Lenny) were not really successful. Xen has had some interesting developments and the version in Lenny is just too old. Plus, the debian bootstrap scripts used to create images don't support Ubuntu Maverick... Squeeze (testing) has the newest Xen and deboostrap, so that's cool. I used the AMD64 architecture. Read More »

Configuring a Debian exim server for internet delivery

I wanted an Exim server which could send mail on its own without the use of another SMTP server. Read More »