Dec
21
2008
Here’s a package managers basic commands quick reminder/comparative for (in this order) – Linux Debian/Ubuntu, – Linux Redhat/Suse and – Solaris/OpenSolaris. rpm and dpkg are basic package managers while yum (rpm) and apt-get/aptitude (dpkg) manage dependancies and (online) repositories. # List ALL installed packages dpkg –list rpm -qa | grep rpm pkginfo […]
Tags: debian, linux, redhat, solaris, suse, ubuntu
Aug
30
2008
Channel bonding – or port truncking – gives the ability to apply a policy to a group of network interfaces. It is then possible to load-balance the traffic accross different ports, or keep one aside for failover. Module Loading Declare the channel bonding bond0 interface into /etc/modprobe.conf # Channel Bonding alias bond0 bonding options […]
Tags: linux, network, redhat
Apr
19
2008
Disabling Image Files Xen usually stores running domains in /var/lib/xen/save, causing a /var full on many systems when dom0 is shut down. Edit /etc/sysconfig/xendomains or /etc/default/xendomains and replace “XENDOMAINS_SAVE=/var/lib/xen/save” with “XENDOMAINS_SAVE=” This sends a shutdown signal to all virtual machines before dom0 reboots. A 300 second timeout is defined before killing an OS that hangs […]
Tags: console, linux, NTP, redhat, virtualization
Feb
25
2008
When modifying the partition table, fdisk usually returns “Device or resource busy” error messages such as: Partprobe from the “parted” package helps fixing this issue, avoiding a useless reboot. From the man page:“partprobe is a program that informs the operating system kernel of partition table changes, by requesting that the operating system re-read the partition […]
Tags: linux, redhat
Oct
15
2007
Got an old PC or server you want to leave running in a remote place? Don’t want to bother with cables? Add a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots. We’ve chosen a Netgear because it integrates an Atheros based chipset. They’re well supported under […]
Tags: fedora, linux, network, redhat, wifi