Linux
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
- admin's blog
- Pro psaní komentářů se přihlašte
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
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
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
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
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)
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
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/
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
How to backup drive and examine mdadm over the image file using loop
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
How to check your WPA passphrase security.
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál
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
-----
- Zdenek Key's blog
- Pro psaní komentářů se přihlašte
- Číst dál