# HG changeset patch # User Oleksandr Gavenko # Date 1239744115 -10800 # Node ID 053196efbed24efffda1011effcce0f3eb1d9edf # Parent 9e9dd64a410ca911e060d3ffbae3cfe6dc340733# Parent 22922fe27b6360aeac632afa37450a19d83fe91e Automated merge with file:///srv/hg/admin-doc diff -r 22922fe27b63 -r 053196efbed2 date.rst --- a/date.rst Wed Apr 15 00:21:45 2009 +0300 +++ b/date.rst Wed Apr 15 00:21:55 2009 +0300 @@ -62,3 +62,65 @@ Local time is now: Sun Feb 22 12:40:16 EET 2009. Universal Time is now: Sun Feb 22 10:40:16 UTC 2009. Your current time zone is set to Europe/Kiev + +Or using tzselect: + + $ sudo tzselect +Please identify a location so that time zone rules can be set correctly. +Please select a continent or ocean. + 1) Africa + 2) Americas + 3) Antarctica + 4) Arctic Ocean + 5) Asia + 6) Atlantic Ocean + 7) Australia + 8) Europe + 9) Indian Ocean +10) Pacific Ocean +11) none - I want to specify the time zone using the Posix TZ format. +#? 8 +Please select a country. + 1) Aaland Islands 18) Greece 35) Norway + 2) Albania 19) Guernsey 36) Poland + 3) Andorra 20) Hungary 37) Portugal + 4) Austria 21) Ireland 38) Romania + 5) Belarus 22) Isle of Man 39) Russia + 6) Belgium 23) Italy 40) San Marino + 7) Bosnia & Herzegovina 24) Jersey 41) Serbia + 8) Britain (UK) 25) Latvia 42) Slovakia + 9) Bulgaria 26) Liechtenstein 43) Slovenia +10) Croatia 27) Lithuania 44) Spain +11) Czech Republic 28) Luxembourg 45) Sweden +12) Denmark 29) Macedonia 46) Switzerland +13) Estonia 30) Malta 47) Turkey +14) Finland 31) Moldova 48) Ukraine +15) France 32) Monaco 49) Vatican City +16) Germany 33) Montenegro +17) Gibraltar 34) Netherlands +#? 48 +Please select one of the following time zone regions. +1) most locations 3) Zaporozh'ye, E Lugansk +2) Ruthenia 4) central Crimea +#? 1 + +The following information has been given: + + Ukraine + most locations + +Therefore TZ='Europe/Kiev' will be used. +Local time is now: Mon Mar 30 17:25:21 EEST 2009. +Universal Time is now: Mon Mar 30 14:25:21 UTC 2009. +Is the above information OK? +1) Yes +2) No +#? 1 + +You can make this change permanent for yourself by appending the line + TZ='Europe/Kiev'; export TZ +to the file '.profile' in your home directory; then log out and log in again. + +Here is that TZ value again, this time on standard output so that you +can use the /usr/bin/tzselect command in shell scripts: +Europe/Kiev diff -r 22922fe27b63 -r 053196efbed2 net.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net.rst Wed Apr 15 00:21:55 2009 +0300 @@ -0,0 +1,39 @@ +-*- outline -*- + +* How disable IPv6? + +** Debian kernel 2.6/Ubuntu ("official" method)/Fedora Core. + +Comment in /etc/modprobe.d/aliases "alias net-pf-10 ipv6" and add alias +"net-pf-10 off", "alias ipv6 off": + + $ sudo emacs /etc/modprobe.d/aliases +... + $ cat /etc/modprobe.d/aliases +... +# alias net-pf-10 ipv6 +alias net-pf-10 off +alias ipv6 off +... + +Reboot or + + $ sudo update-modules + +You can safely wipe out any IPv6 reference in "/etc/hosts" and +"/etc/network/interfaces". + +** RHEL4/Centos4. + +As for Debian, but "/etc/modprobe.d/aliases" has name "/etc/modprobe.conf". + +** KDE. + + $ cat /etc/environment +... +KDE_NO_IPV6=true +... + +** Firefox. + +See about:config page, set "network.dns.disableIPv6" to "true". diff -r 22922fe27b63 -r 053196efbed2 nntp.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nntp.rst Wed Apr 15 00:21:55 2009 +0300 @@ -0,0 +1,41 @@ +-*- outline -*- + +* Installing. + +** Debian. + + $ sudo apt-get install inn2 + $ cat /etc/news/inn.conf +... +mta: "/usr/sbin/exim4 -oi -oem %s" +organization: "My HOME nntp" +pathhost: my.org.int +domain: org.int +maxartsize: 10000 +maxconnections: 10 +... + $ cat /etc/news/readers.conf +... +auth bifit { + hosts: "*.org.int, 192.168.1.0/24" + default: "" +} +access bifit { + users: "" + newsgroups: "comp.*" + access: RP +} +... + $ sudo /etc/init.d/inn2 reload + $ sudo ctlinnd newgroup comp.general y gavenko@org.int + $ sudo ctlinnd newgroup comp.general.lang y gavenko@org.int + +* FAQ + +** innd: SERVER cant listen RCreader Address already in use + +You need disable IPv6, temporary this done by: + + $ su +... + # echo 1 > /proc/sys/net/ipv6/bindv6only