Debian

warning: Creating default object from empty value in /home/users/djz88/ygg.cz/web/modules/taxonomy/taxonomy.pages.inc on line 34.
Remove a package - break dependencies

If you need to remove some package from your Debian based system you can do that by this

dpkg --force-depends --purge package_name

and install it back by

apt-get install package_name

*package_name is your package

Maildir format - notification, mailx command

Using Maildir format in Debian 7:

  • mail notification after login
  • mail notification after ssh login
  • read mail using mailx or mail command

BTW: set delivery agents to use Maildir before

open XEN | open XCP notes

U can see some usefull things below.

XCP:

  • VNC console cs_CZ keymap = use en layout(gnome) while connection to DOM0 console(via tunnel like ssh -CN -L 5900(localport):localhost:5901 $HOST)
  • no LVM in storage type = create symlink from LVHDSR.py to LVHDSR in /usr/lib/xcp/sm/
  • HVC console = /etc/default/grub (CMDLINE_LINUX="console=hvc0") /etc/inittab (co:2345:respawn:/sbin/getty hvc0 9600 linux)
network bonding aka etherchannel

Network bonding on debian:

mode used: balance roundrobin
NICs: 2x 100Mbit
application: ifenslave-2.6 (Debian Wheezy repos)
configs: /etc/network/interfaces
kernel: 3.2 (deb official)

sometimes is need to put "alias bond0 bonding \
options miimon=100 downdelay=200 updelay=200"
to /etc/modules|modprobe.d/

Suburban Glory Web Design
„Čas si vymysleli lidé, aby věděli, od kdy do kdy a co za to.“ Jan Werich