Tag: linux

udev-Quick setup for pci-based persistent network rules

This is just a short one. Based on the short script found [[http://www.linuxfromscratch.org/blfs/view/development/chapter07/network.html|in the linuxfromscratch-documentation]], I wrote this small script, that creates persistent network rules based on the pci bus. Just pipe the output to /etc/udev/rules.d/70-persistent-net.rules and edit the output there, if you want to do renaming. #!/bin/bash for dir in /sys/class/net/* ; do [ Read More

Creating a DHCP HA-cluster on Ubuntu

===== Basics ===== I’m currently fiddling around with high availability on Linux. I haven’t done this before, but a colleague of mine pointed me towards [[http://clusterlabs.org/|Pacemaker]] together with [[http://corosync.github.io/corosync/|Corosync]] (to keep things short: corosync keeps the cluster nodes in sync and pacemaker stops/starts/monitors services on the nodes). I’d like to walk you through a fairly Read More

Setting the default locale in Ubuntu

This is merely a reminder for me, as I always have to look it up, when I need it. Debian (and Ubuntu prior 10.04) had a nice way of selecting and generating system locales. I don’t know exactly why Ubuntu removed that in its latter versions, but „dpkg-reconfigure locales“ doesn’t allow you to select the Read More

libapr2 on Sles11 64bit

I’m currently having a hard time getting libapr2 with the Perl Module Apache2::Request and the Apache2 Module to run properly on a SLES (SuSE Linux Enterprise Server) 11 with a 64 bit kernel. I’m getting undefined symbols and missing libraries etc. I need that module for a network documentation tool called [[https://netdot.uoregon.edu/trac/|Netdot]] I found out Read More