# HG changeset patch # User Oleksandr Gavenko # Date 1245938964 -10800 # Node ID 761a47cf5400a655c7e9b5537a2ef2e929012485 # Parent 71b552d3cd0b91c95a1d9c49d899505b3b9929db# Parent ff931ad0ec669c9726e375599e3cd0200b00a705 Automated merge with file:///d:\srv\hg\admin-doc diff -r ff931ad0ec66 -r 761a47cf5400 debian-apt.rst --- a/debian-apt.rst Thu Jun 25 17:09:11 2009 +0300 +++ b/debian-apt.rst Thu Jun 25 17:09:24 2009 +0300 @@ -26,3 +26,24 @@ deb http://www.backports.org/debian/ etch-backports main contrib non-free +* Getting new keys for packages. + + $ sudo apt-get update +... +W: There is no public key available for the following key IDs: +9AA38DCD55BE302B +W: GPG error: http://http.us.debian.org etch Release: The following signatures +couldn't be verified because the public key is not available: NO_PUBKEY +9AA38DCD55BE302B +... + + $ gpg --keyserver pgp.mit.edu --recv-key 9AA38DCD55BE302B \ +--keyserver-options http-proxy=http://user:pass@192.168.1.1:3128 +gpg: requesting key 55BE302B from hkp server pgp.mit.edu +gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) " imported +gpg: no ultimately trusted keys found +gpg: Total number processed: 1 +gpg: imported: 1 (RSA: 1) + + $ gpg --export 9AA38DCD55BE302B | sudo apt-key add - +OK diff -r ff931ad0ec66 -r 761a47cf5400 latex.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/latex.rst Thu Jun 25 17:09:24 2009 +0300 @@ -0,0 +1,12 @@ +-*- outline -*- + +* Compact slides for nice printing. + +Installing: + + $ sudo aptitude install pdfjam + +Using: + + $ pdfnup --nup "2x3" --offset ".25cm .25cm" --delta ".25cm .5cm" \ + --frame true --scale 0.9 slides.pdf diff -r ff931ad0ec66 -r 761a47cf5400 locale.rst --- a/locale.rst Thu Jun 25 17:09:11 2009 +0300 +++ b/locale.rst Thu Jun 25 17:09:24 2009 +0300 @@ -22,6 +22,10 @@ $ sudo apt-get install locales-all +**** Generate locales. + + $ sudo dpkg-reconfigure locales + * FreeBSD. ** How see current locale settings? diff -r ff931ad0ec66 -r 761a47cf5400 net.rst --- a/net.rst Thu Jun 25 17:09:11 2009 +0300 +++ b/net.rst Thu Jun 25 17:09:24 2009 +0300 @@ -20,6 +20,10 @@ $ sudo update-modules +Another way is adding to /etc/modprobe.d/blacklist.local lines + + blacklist ipv6 + You can safely wipe out any IPv6 reference in "/etc/hosts" and "/etc/network/interfaces". diff -r ff931ad0ec66 -r 761a47cf5400 terminal.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/terminal.rst Thu Jun 25 17:09:24 2009 +0300 @@ -0,0 +1,14 @@ +-*- outline -*- + +* X window pseudo terminal. + +** luit. + +Luit is a filter that can be run between an arbitrary application and a UTF-8 +terminal emulator. It will convert application output from the locale’s +encoding into UTF-8, and convert terminal input from UTF-8 into the locale’s +encoding. + +Example: + + $ luit -encoding ’ISO 8859-1’ emacs -nw diff -r ff931ad0ec66 -r 761a47cf5400 virus.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/virus.rst Thu Jun 25 17:09:24 2009 +0300 @@ -0,0 +1,29 @@ +-*- mode: outline; coding: utf-8 -*- + +* Rootkit. + +** Debian. + + $ sudo apt-get install rkhunter chkrootkit + +*** rkhunter. + + $ sudo rkhunter -c +... + + http://www.rootkit.nl/projects/rootkit_hunter.html + +*** + + $ sudo chkrootkit +... + +* Virus. + +** Debian. + +*** ClamAV. + +anti-virus utility for Unix. + + $ sudo apt-get install clamav