Blog uživatele Zdenek Key
Playing with postfix check_headers directive
Application: Postfix
Version: 2.9
System: Debian
Description:
Use check_headers to replace some headers from emails send by postfix
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
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 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/
How to backup drive and examine mdadm over the image file using loop
How to check your WPA passphrase security.
Progs needed:
extundelete (check repository or http://extundelete.sourceforge.net/)
#change dir to place where can u write/read with enought space
cd /YOUR_FOLDER_W_RW_RIGHTS
#remount(umount/mount) disk with files w8ing for restore with read only att
umount /dev/xxx
mount -o ro /dev/xxx /media/yyy
#see which inode belongs to you desired folder(with deleted files)
ls -il /zzz
#do the job
extundelete /dev/xxx --restore-inode aaaa
-----
List of Firefox plugins I have.
http://ygg.cz/upload/ext_ff.htm
- Pro psaní komentářů se přihlašte