Automated merge with file:///srv/hg/admin-doc
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 24 Jun 2009 21:20:09 +0300
changeset 133 273697a58117
parent 126 71b552d3cd0b (diff)
parent 132 3ae3569e80bb (current diff)
child 134 74162c72014b
Automated merge with file:///srv/hg/admin-doc
--- a/debian-apt.rst	Wed Jun 24 21:20:03 2009 +0300
+++ b/debian-apt.rst	Wed Jun 24 21:20:09 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) <ftpmaster@debian.org>" 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/latex.rst	Wed Jun 24 21:20:09 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
--- a/locale.rst	Wed Jun 24 21:20:03 2009 +0300
+++ b/locale.rst	Wed Jun 24 21:20:09 2009 +0300
@@ -22,6 +22,10 @@
 
   $ sudo apt-get install locales-all
 
+**** Generate locales.
+
+  $ sudo dpkg-reconfigure locales
+
 * FreeBSD.
 
 ** How see current locale settings?
--- a/net.rst	Wed Jun 24 21:20:03 2009 +0300
+++ b/net.rst	Wed Jun 24 21:20:09 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".
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/terminal.rst	Wed Jun 24 21:20:09 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
--- a/thunderbird.rst	Wed Jun 24 21:20:03 2009 +0300
+++ b/thunderbird.rst	Wed Jun 24 21:20:09 2009 +0300
@@ -34,7 +34,6 @@
 
 * Customization.
 
-
 These files do not exist by default, so you need to create it before you can
 start adding your preferences:
 
@@ -54,3 +53,9 @@
 ** user.js
 
 This is the additional preferences file for Thunderbird.
+
+** Make newsgroup names appear expanded, not abbreviated.
+
+The newsgroup server names appear abbreviated in the folder pane. To display
+the full name, use the Config Editor to change the value of the preference
+'mail.server.default.abbreviate' to 'false'.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/virus.rst	Wed Jun 24 21:20:09 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