Журнал лабораторных работ

Содержание

Журнал

Пятница (10/29/10)

/dev/pts/7
10:13:30
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Releasing IAX2/nk-4723 and IAX2/msk-3029
    -- Hungup 'IAX2/msk-3029'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/nk-4723' in macro 'dial-with-callerid2'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/nk-4723'
    -- Hungup 'IAX2/nk-4723'
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 13 минут
/dev/pts/10
10:26:41
#rm /etc/zaptel.conf

/dev/pts/10
10:27:33
#scp /etc/asterisk/zapata.conf ids@linux5:
The authenticity of host 'linux5 (192.168.105.1)' can't be established.
RSA key fingerprint is a8:20:0f:d6:b2:91:28:43:ee:36:02:27:88:87:2f:d5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'linux5,192.168.105.1' (RSA) to the list of known hosts.
ids@linux5's password:
zapata.conf                                   100%   24KB  23.6KB/s   00:00
10:27:58
#scp /etc/asterisk/../
Display all 214 possibilities? (y or n)
10:27:58
#scp /etc/asterisk/../t
/etc/asterisk/../terminfo/  /etc/asterisk/../timezone
/etc/asterisk/../texmf/     /etc/asterisk/../ts.conf
/dev/pts/8
10:29:13
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
bb/kv            192.168.111.1   (D)  255.255.255.255  4569          OK (5 ms)
msk/kv           192.168.107.1   (D)  255.255.255.255  4569          OK (5 ms)
vn/vn            192.168.104.1   (S)  255.255.255.255  4569          OK (5 ms)
rv/kv            192.168.102.1   (D)  255.255.255.255  4569          OK (8 ms)
nk/kv            192.168.101.1   (D)  255.255.255.255  4569          OK (5 ms)
5 iax2 peers [5 online, 0 offline, 0 unmonitored]
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/7
10:29:13
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
bb/kv            192.168.111.1   (D)  255.255.255.255  4569          OK (5 ms)
msk/kv           192.168.107.1   (D)  255.255.255.255  4569          OK (5 ms)
vn/vn            192.168.104.1   (S)  255.255.255.255  4569          OK (5 ms)
rv/kv            192.168.102.1   (D)  255.255.255.255  4569          OK (8 ms)
nk/kv            192.168.101.1   (D)  255.255.255.255  4569          OK (5 ms)
5 iax2 peers [5 online, 0 offline, 0 unmonitored]
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/8
10:30:56
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/7
10:30:56
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 30 минут
/dev/pts/8
11:01:00
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Executing [2101@group1:1] Macro("SIP/1301-08af2ab0", "dial-with-callerid2|zap/g1/2101") in new stack
    -- Executing [s@macro-dial-with-callerid2:1] Set("SIP/1301-08af2ab0", "CALLERID(name)="Roma Krul'ko (Ukraine)"") in new stack
    -- Executing [s@macro-dial-with-callerid2:2] Dial("SIP/1301-08af2ab0", "zap/g1/2101") in new stack
[Oct 29 12:11:51] WARNING[6626]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'zap' (cause 34 - Circuit/channel congestion)
  == Everyone is busy/congested at this time (1:0/1/0)
  == Auto fallthrough, channel 'SIP/1301-08af2ab0' status is 'CONGESTION'
linux3*CLI>
linux3*CLI>
/dev/pts/7
11:01:00
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Got SIP response 405 "Method Not Allowed" back from 192.168.103.202
    -- Executing [2101@group1:1] Macro("SIP/1301-08af2ab0", "dial-with-callerid2|zap/g1/2101") in new stack
    -- Executing [s@macro-dial-with-callerid2:1] Set("SIP/1301-08af2ab0", "CALLERID(name)="Roma Krul'ko (Ukraine)"") in new stack
    -- Executing [s@macro-dial-with-callerid2:2] Dial("SIP/1301-08af2ab0", "zap/g1/2101") in new stack
[Oct 29 12:11:51] WARNING[6626]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'zap' (cause 34 - Circuit/channel congestion)
  == Everyone is busy/congested at this time (1:0/1/0)
  == Auto fallthrough, channel 'SIP/1301-08af2ab0' status is 'CONGESTION'
linux3*CLI>
linux3*CLI>
прошло 11 минут
/dev/pts/8
11:12:09
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 6579)
Verbosity is at least 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/7
11:12:09
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 6579)
Verbosity is at least 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/8
11:12:56
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 29 12:13:28] WARNING[6682]: file.c:912 ast_streamfile: Unable to open /tmp/message-6 (format 0x48 (alaw|slin)): No such file or directory
[Oct 29 12:13:28] WARNING[6682]: pbx.c:5730 pbx_builtin_background: ast_streamfile failed on Zap/1-1 for /tmp/message-6
    -- Executing [s@menu:5] WaitExten("Zap/1-1", "5") in new stack
    -- Timeout on Zap/1-1, continuing...
    -- Executing [s@menu:6] BackGround("Zap/1-1", "/tmp/message-2") in new stack
[Oct 29 12:13:33] WARNING[6682]: file.c:602 ast_openstream_full: File /tmp/message-2 does not exist in any format
[Oct 29 12:13:33] WARNING[6682]: file.c:912 ast_streamfile: Unable to open /tmp/message-2 (format 0x48 (alaw|slin)): No such file or directory
[Oct 29 12:13:33] WARNING[6682]: pbx.c:5730 pbx_builtin_background: ast_streamfile failed on Zap/1-1 for /tmp/message-2
    -- Executing [s@menu:7] WaitExten("Zap/1-1", "5") in new stack
linux3*CLI>
/dev/pts/7
11:12:56
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 29 12:13:28] WARNING[6682]: file.c:912 ast_streamfile: Unable to open /tmp/message-6 (format 0x48 (alaw|slin)): No such file or directory
[Oct 29 12:13:28] WARNING[6682]: pbx.c:5730 pbx_builtin_background: ast_streamfile failed on Zap/1-1 for /tmp/message-6
    -- Executing [s@menu:5] WaitExten("Zap/1-1", "5") in new stack
    -- Timeout on Zap/1-1, continuing...
    -- Executing [s@menu:6] BackGround("Zap/1-1", "/tmp/message-2") in new stack
[Oct 29 12:13:33] WARNING[6682]: file.c:602 ast_openstream_full: File /tmp/message-2 does not exist in any format
[Oct 29 12:13:33] WARNING[6682]: file.c:912 ast_streamfile: Unable to open /tmp/message-2 (format 0x48 (alaw|slin)): No such file or directory
[Oct 29 12:13:33] WARNING[6682]: pbx.c:5730 pbx_builtin_background: ast_streamfile failed on Zap/1-1 for /tmp/message-2
    -- Executing [s@menu:7] WaitExten("Zap/1-1", "5") in new stack
linux3*CLI>
/dev/pts/8
11:13:37
#cp /root/message-* /tmp/

/dev/pts/7
11:13:37
#cp /root/message-* /tmp/

/dev/pts/8
11:14:01
#chown asterisk:asterisk /tmp/message-*

/dev/pts/7
11:14:01
#chown asterisk:asterisk /tmp/message-*

прошло 90 минут
/dev/pts/1
12:44:03
#~

/dev/pts/2
12:44:03
#~

прошло 22 минуты
/dev/pts/1
13:06:59
#apt-get install
^Cтение списков пакетов... 96%
/dev/pts/2
13:06:59
#apt-get install
^Cтение списков пакетов... 96%
/dev/pts/1
13:07:25
#apt-get install ejabberd
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Будут установлены следующие дополнительные пакеты:
  erlang-base erlang-nox libsctp1 lksctp-tools
Предлагаемые пакеты:
  libunix-syslog-perl erlang-x11 erlang erlang-manpages erlang-doc-html
НОВЫЕ пакеты, которые будут установлены:
  ejabberd erlang-base erlang-nox libsctp1 lksctp-tools
обновлено 0, установлено 5 новых пакетов, для удаления отмечено 0 пакетов, и 5 пакетов не обновлено.
...
Настраивается пакет erlang-base (1:12.b.3-dfsg-4) ...
Searching for services which depend on erlang and should be started...none found.
Настраивается пакет erlang-nox (1:12.b.3-dfsg-4) ...
Настраивается пакет ejabberd (2.0.1-6+lenny2) ...
adduser: Предупреждение: домашний каталог `/var/lib/ejabberd' не принадлежит пользователю, который сейчас создаётся.
Generating SSL certificate /etc/ejabberd/ejabberd.pem...
Creating config file /etc/ejabberd/ejabberd.cfg with new version
Starting jabber server: ejabberd.
Настраивается пакет lksctp-tools (1.0.9.dfsg-1) ...
Обрабатываются триггеры для menu ...
/dev/pts/2
13:07:25
#apt-get install ejabberd
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Будут установлены следующие дополнительные пакеты:
  erlang-base erlang-nox libsctp1 lksctp-tools
Предлагаемые пакеты:
  libunix-syslog-perl erlang-x11 erlang erlang-manpages erlang-doc-html
НОВЫЕ пакеты, которые будут установлены:
  ejabberd erlang-base erlang-nox libsctp1 lksctp-tools
обновлено 0, установлено 5 новых пакетов, для удаления отмечено 0 пакетов, и 5 пакетов не обновлено.
...
Настраивается пакет erlang-base (1:12.b.3-dfsg-4) ...
Searching for services which depend on erlang and should be started...none found.
Настраивается пакет erlang-nox (1:12.b.3-dfsg-4) ...
Настраивается пакет ejabberd (2.0.1-6+lenny2) ...
adduser: Предупреждение: домашний каталог `/var/lib/ejabberd' не принадлежит пользователю, который сейчас создаётся.
Generating SSL certificate /etc/ejabberd/ejabberd.pem...
Creating config file /etc/ejabberd/ejabberd.cfg with new version
Starting jabber server: ejabberd.
Настраивается пакет lksctp-tools (1.0.9.dfsg-1) ...
Обрабатываются триггеры для menu ...
/dev/pts/1
13:08:29
#dp
dpkg                 dpkg-checkbuilddeps  dpkg-divert          dpkg-gensymbols      dpkg-preconfigure    dpkg-scanpackages    dpkg-source          dpkg-trigger
dpkg-architecture    dpkg-deb             dpkg-genchanges      dpkg-name            dpkg-query           dpkg-scansources     dpkg-split           dprofpp
dpkg-buildpackage    dpkg-distaddfile     dpkg-gencontrol      dpkg-parsechangelog  dpkg-reconfigure     dpkg-shlibdeps       dpkg-statoverride
/dev/pts/2
13:08:29
#dp
dpkg                 dpkg-checkbuilddeps  dpkg-divert          dpkg-gensymbols      dpkg-preconfigure    dpkg-scanpackages    dpkg-source          dpkg-trigger
dpkg-architecture    dpkg-deb             dpkg-genchanges      dpkg-name            dpkg-query           dpkg-scansources     dpkg-split           dprofpp
dpkg-buildpackage    dpkg-distaddfile     dpkg-gencontrol      dpkg-parsechangelog  dpkg-reconfigure     dpkg-shlibdeps       dpkg-statoverride
/dev/pts/1
13:08:29
#dpkg
dpkg                 dpkg-checkbuilddeps  dpkg-divert          dpkg-gensymbols      dpkg-preconfigure    dpkg-scanpackages    dpkg-source          dpkg-trigger
dpkg-architecture    dpkg-deb             dpkg-genchanges      dpkg-name            dpkg-query           dpkg-scansources     dpkg-split
dpkg-buildpackage    dpkg-distaddfile     dpkg-gencontrol      dpkg-parsechangelog  dpkg-reconfigure     dpkg-shlibdeps       dpkg-statoverride
13:08:29
#dpkg-reconfigure ejaberd
Пакет ejaberd не установлен, информация о нём недоступна.
Для проверки файлов архивов используйте команду dpkg --info (dpkg-deb --info),
для вывода списка файлов в них -- команду dpkg--contents (dpkg-deb --contents).
/usr/sbin/dpkg-reconfigure: Пакет ejaberd не установлен
/dev/pts/2
13:08:29
#dpkg
dpkg                 dpkg-checkbuilddeps  dpkg-divert          dpkg-gensymbols      dpkg-preconfigure    dpkg-scanpackages    dpkg-source          dpkg-trigger
dpkg-architecture    dpkg-deb             dpkg-genchanges      dpkg-name            dpkg-query           dpkg-scansources     dpkg-split
dpkg-buildpackage    dpkg-distaddfile     dpkg-gencontrol      dpkg-parsechangelog  dpkg-reconfigure     dpkg-shlibdeps       dpkg-statoverride
13:08:29
#dpkg-reconfigure ejaberd
Пакет ejaberd не установлен, информация о нём недоступна.
Для проверки файлов архивов используйте команду dpkg --info (dpkg-deb --info),
для вывода списка файлов в них -- команду dpkg--contents (dpkg-deb --contents).
/usr/sbin/dpkg-reconfigure: Пакет ejaberd не установлен
прошло 16 минут
/dev/pts/1
13:25:27
#telnet 127.0.0.1 5280
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
/dev/pts/2
13:25:27
#telnet 127.0.0.1 5280
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
/dev/pts/1
13:27:51
#cat /etc/
Display all 216 possibilities? (y or n)
/dev/pts/2
13:27:51
#cat /etc/
Display all 216 possibilities? (y or n)
/dev/pts/1
13:27:51
#cat /etc/
Display all 216 possibilities? (y or n)
acpi/                   cron.d/                 fonts/                  idmapd.conf             lsb-base/               networks                rc2.d/                  skel/
adduser.conf            cron.daily/             foomatic/               inetd.conf              magic                   nsswitch.conf           rc3.d/                  sound/
adjtime                 cron.hourly/            fstab                   init.d/                 magic.mime              ODBCDataSources/        rc4.d/                  ssh/
aliases                 cron.monthly/           gai.conf                initramfs-tools/        mail/                   odbc.ini                rc5.d/                  ssl/
alsa/                   crontab                 gconf/                  inittab                 mailcap                 odbcinst.ini            rc6.d/                  sudoers
alternatives/           cron.weekly/            gdm/                    inputrc                 mailcap.order           openal/                 rc.local                sysctl.conf
apm/                    cups/                   gimp/                   insserv.conf            mailname                openoffice/             rcS.d/                  sysctl.d/
apparmor.d/             dbus-1/                 gnome/                  iproute2/               mail.rc                 openvpn/                rearj.cfg               terminfo/
apt/                    debconf.conf            gnome-app-install/      issue                   manpath.config          opt/                    reportbug.conf          texmf/
...
bluetooth/              dpkg/                   gssapi_mech.conf        libgda-3.0/             motd                    ppp/                    scrollkeeper.conf       vga/
bogofilter.cf           ejabberd/               gtk-2.0/                libpaper.d/             motd.tail               profile                 scsi_id.config          vim/
bonobo-activation/      emacs/                  gtkmathview/            lilalo/                 mtab                    protocols               securetty               vpnc/
ca-certificates/        email-addresses         hal/                    locale.alias            Muttrc                  .pwd.lock               security/               w3m/
ca-certificates.conf    environment             host.conf               locale.gen              Muttrc.d/               python/                 sensors.conf            wgetrc
calendar/               esound/                 hostname                localtime               mysql/                  python2.5/              services                wodim.conf
console/                exim4/                  hosts                   logcheck/               nanorc                  qpopper.conf            sgml/                   wpa_supplicant/
console-cyrillic        fam.conf                hosts.allow             login.defs              netscsid.conf           radiusclient-ng/        shadow                  X11/
console-setup/          farsight/               hosts.deny              logrotate.conf          network/                rc0.d/                  shadow-                 xdg/
console-tools/          festival.scm            hotplug/                logrotate.d/            NetworkManager/         rc1.d/                  shells                  xml/
/dev/pts/2
13:27:51
#cat /etc/
Display all 216 possibilities? (y or n)
acpi/                   cron.d/                 fonts/                  idmapd.conf             lsb-base/               networks                rc2.d/                  skel/
adduser.conf            cron.daily/             foomatic/               inetd.conf              magic                   nsswitch.conf           rc3.d/                  sound/
adjtime                 cron.hourly/            fstab                   init.d/                 magic.mime              ODBCDataSources/        rc4.d/                  ssh/
aliases                 cron.monthly/           gai.conf                initramfs-tools/        mail/                   odbc.ini                rc5.d/                  ssl/
alsa/                   crontab                 gconf/                  inittab                 mailcap                 odbcinst.ini            rc6.d/                  sudoers
alternatives/           cron.weekly/            gdm/                    inputrc                 mailcap.order           openal/                 rc.local                sysctl.conf
apm/                    cups/                   gimp/                   insserv.conf            mailname                openoffice/             rcS.d/                  sysctl.d/
apparmor.d/             dbus-1/                 gnome/                  iproute2/               mail.rc                 openvpn/                rearj.cfg               terminfo/
apt/                    debconf.conf            gnome-app-install/      issue                   manpath.config          opt/                    reportbug.conf          texmf/
...
bluetooth/              dpkg/                   gssapi_mech.conf        libgda-3.0/             motd                    ppp/                    scrollkeeper.conf       vga/
bogofilter.cf           ejabberd/               gtk-2.0/                libpaper.d/             motd.tail               profile                 scsi_id.config          vim/
bonobo-activation/      emacs/                  gtkmathview/            lilalo/                 mtab                    protocols               securetty               vpnc/
ca-certificates/        email-addresses         hal/                    locale.alias            Muttrc                  .pwd.lock               security/               w3m/
ca-certificates.conf    environment             host.conf               locale.gen              Muttrc.d/               python/                 sensors.conf            wgetrc
calendar/               esound/                 hostname                localtime               mysql/                  python2.5/              services                wodim.conf
console/                exim4/                  hosts                   logcheck/               nanorc                  qpopper.conf            sgml/                   wpa_supplicant/
console-cyrillic        fam.conf                hosts.allow             login.defs              netscsid.conf           radiusclient-ng/        shadow                  X11/
console-setup/          farsight/               hosts.deny              logrotate.conf          network/                rc0.d/                  shadow-                 xdg/
console-tools/          festival.scm            hotplug/                logrotate.d/            NetworkManager/         rc1.d/                  shells                  xml/
/dev/pts/1
13:27:51
#cat /etc/ejabberd/
ejabberd.cfg  ejabberd.pem  inetrc
/dev/pts/2
13:27:51
#cat /etc/ejabberd/
ejabberd.cfg  ejabberd.pem  inetrc
/dev/pts/1
13:27:51
#cat /etc/ejabberd/ejabberd.cfg
%%%
%%%     Debian ejabberd configuration file
%%%     This config must be in UTF-8 encoding
%%%
%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is available at
%%% /usr/share/doc/ejabberd/guide.html
%%%   ===================================
%%%   OVERRIDE OPTIONS STORED IN DATABASE
...
  {mod_stats,    []},
  {mod_time,     []},
  {mod_vcard,    []},
  {mod_version,  []}
 ]}.
%%% $Id: ejabberd.cfg.example 1178 2008-02-08 18:28:36Z badlop $
%%% Local Variables:
%%% mode: erlang
%%% End:
%%% vim: set filetype=erlang tabstop=8:
/dev/pts/2
13:27:51
#cat /etc/ejabberd/ejabberd.cfg
%%%
%%%     Debian ejabberd configuration file
%%%     This config must be in UTF-8 encoding
%%%
%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is available at
%%% /usr/share/doc/ejabberd/guide.html
%%%   ===================================
%%%   OVERRIDE OPTIONS STORED IN DATABASE
...
  {mod_stats,    []},
  {mod_time,     []},
  {mod_vcard,    []},
  {mod_version,  []}
 ]}.
%%% $Id: ejabberd.cfg.example 1178 2008-02-08 18:28:36Z badlop $
%%% Local Variables:
%%% mode: erlang
%%% End:
%%% vim: set filetype=erlang tabstop=8:
прошло 30 минут
/dev/pts/1
13:58:16
#e
e2fsck                         ejabberd                       enchant                        erlc                           esdsample                      exec
e2image                        ejabberdctl                    enchant-lsmod                  erl_call                       espeak                         exit
e2label                        eject                          env                            esac                           espeak-synthesis-driver        expand
e2undo                         ekiga                          envsubst                       escript                        etrn                           expiry
echo                           ekiga-config-tool              eog                            esdcat                         eval                           expn
ed                             elif                           epiphany                       esdctl                         eventlogadm                    export
edit                           else                           epiphany-browser               esddsp                         evince                         expr
editkeep                       empathy                        epiphany-gecko                 esdfilt                        evince-thumbnailer
editmap                        empathy-accounts               epmd                           esdloop                        evolution
editor                         empathy-logs                   eps2eps                        esdmon                         evolution-addressbook-export
editres                        enable                         eqn                            esdplay                        ex
egrep                          enc2xs                         erl                            esdrec                         exchange-connector-setup-2.22
13:58:16
#ej
ejabberd     ejabberdctl  eject
/dev/pts/2
13:58:16
#e
e2fsck                         ejabberd                       enchant                        erlc                           esdsample                      exec
e2image                        ejabberdctl                    enchant-lsmod                  erl_call                       espeak                         exit
e2label                        eject                          env                            esac                           espeak-synthesis-driver        expand
e2undo                         ekiga                          envsubst                       escript                        etrn                           expiry
echo                           ekiga-config-tool              eog                            esdcat                         eval                           expn
ed                             elif                           epiphany                       esdctl                         eventlogadm                    export
edit                           else                           epiphany-browser               esddsp                         evince                         expr
editkeep                       empathy                        epiphany-gecko                 esdfilt                        evince-thumbnailer
editmap                        empathy-accounts               epmd                           esdloop                        evolution
editor                         empathy-logs                   eps2eps                        esdmon                         evolution-addressbook-export
editres                        enable                         eqn                            esdplay                        ex
egrep                          enc2xs                         erl                            esdrec                         exchange-connector-setup-2.22
13:58:16
#ej
ejabberd     ejabberdctl  eject
/dev/pts/1
13:58:16
#ejabberdctl
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/2
13:58:16
#ejabberdctl
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/1
13:59:38
#ejabberdctl connected-users
roma@kv.unix.nt/Miranda
/dev/pts/2
13:59:38
#ejabberdctl connected-users
roma@kv.unix.nt/Miranda
/dev/pts/1
14:04:13
#ejabberdctl connected-users
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-2.gsm        message-7.gsm        .rnd                 .wapi/
.bash_history        Desktop/             .gnome2/             .ICEauthority        linux3.unix.nt.key   message-3.gsm        .metacity/           .ssh/                .Xauthority
.bash_profile        .festival_history    .gnome2_private/     install              linux3.unix.nt.pub   message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bashrc              .gconf/              .gnupg/              .l3rc                .mc/                 message-5.gsm        .profile             .viminfo
14:04:13
#ejabberdctl connected-users
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-2.gsm        message-7.gsm        .rnd                 .wapi/
.bash_history        Desktop/             .gnome2/             .ICEauthority        linux3.unix.nt.key   message-3.gsm        .metacity/           .ssh/                .Xauthority
.bash_profile        .festival_history    .gnome2_private/     install              linux3.unix.nt.pub   message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bashrc              .gconf/              .gnupg/              .l3rc                .mc/                 message-5.gsm        .profile             .viminfo
/dev/pts/2
14:04:13
#ejabberdctl connected-users
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-2.gsm        message-7.gsm        .rnd                 .wapi/
.bash_history        Desktop/             .gnome2/             .ICEauthority        linux3.unix.nt.key   message-3.gsm        .metacity/           .ssh/                .Xauthority
.bash_profile        .festival_history    .gnome2_private/     install              linux3.unix.nt.pub   message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bashrc              .gconf/              .gnupg/              .l3rc                .mc/                 message-5.gsm        .profile             .viminfo
14:04:13
#ejabberdctl connected-users
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-2.gsm        message-7.gsm        .rnd                 .wapi/
.bash_history        Desktop/             .gnome2/             .ICEauthority        linux3.unix.nt.key   message-3.gsm        .metacity/           .ssh/                .Xauthority
.bash_profile        .festival_history    .gnome2_private/     install              linux3.unix.nt.pub   message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bashrc              .gconf/              .gnupg/              .l3rc                .mc/                 message-5.gsm        .profile             .viminfo
/dev/pts/1
14:04:13
#ejabberdctl add-rosteritem roma kv.unix.nt temon br.unix.nt
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/2
14:04:13
#ejabberdctl add-rosteritem roma kv.unix.nt temon br.unix.nt
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/1
14:09:34
#ejabberdctl add-rosteritem roma@kv.unix.nt temon@br.unix.nt
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/2
14:09:34
#ejabberdctl add-rosteritem roma@kv.unix.nt temon@br.unix.nt
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/1
14:09:54
#ejabberdctl push-alltoall server group

/dev/pts/2
14:09:54
#ejabberdctl push-alltoall server group

/dev/pts/1
14:15:21
#vi /etc/ejabberd/ejabberd.cfg
/dev/pts/2
14:15:21
#vi /etc/ejabberd/ejabberd.cfg
--- /tmp/l3-saved-3779.21786.8431	2010-10-29 15:15:29.000000000 +0300
+++ /etc/ejabberd/ejabberd.cfg	2010-10-29 15:16:02.000000000 +0300
@@ -503,6 +503,7 @@
   {mod_stats,    []},
   {mod_time,     []},
   {mod_vcard,    []},
+  {mod_shared_roster, [{iqdisc, no_queue}]},
   {mod_version,  []}
  ]}.
 
/dev/pts/1
14:16:07
#ejabberdctl restert
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/2
14:16:07
#ejabberdctl restert
Usage: ejabberdctl [--node nodename] command [options]
Available commands in this ejabberd node:
  status                                                      get ejabberd status
  stop                                                        stop ejabberd
  restart                                                     restart ejabberd
  reopen-log                                                  reopen log file
  register user server password                               register a user
  unregister user server                                      unregister a user
  backup file                                                 store a database backup to file
  restore file                                                restore a database backup from file
...
  rem-rosteritem user1 server1 user2 server2                  Remove user2@server2 from user1@server1's roster
  compile file                                                recompile and reload file
  status-num status                                           number of logged users with status
  push-alltoall server group                                  adds all the users to all the users in Group
  srg-user-del user server group host                         delete user@server from group on host
  connected-users                                             list all established sessions
Examples:
  ejabberdctl restart
  ejabberdctl --node ejabberd@host restart
  ejabberdctl vhost jabber.example.org ...
/dev/pts/1
14:16:14
#ejabberdctl restart

/dev/pts/2
14:16:14
#ejabberdctl restart

/dev/pts/1
14:16:25
#ejabberdctl restart

/dev/pts/2
14:16:25
#ejabberdctl restart

прошло 35 минут
/dev/pts/4
14:51:52
#vi /etc/ejabberd/
/dev/pts/3
14:51:52
#vi /etc/ejabberd/
/dev/pts/4
14:51:52
#vi /etc/ejabberd/ejabberd.cfg
/dev/pts/3
14:51:52
#vi /etc/ejabberd/ejabberd.cfg
прошло 83 минуты
/dev/pts/4
16:15:51
#516 %%% vim: set filetype=erlang tabstop=8:
    Октябрь 2010
Вс Пн Вт Ср Чт Пт Су
                1  2
 3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
/dev/pts/3
16:15:51
#516 %%% vim: set filetype=erlang tabstop=8:
    Октябрь 2010
Вс Пн Вт Ср Чт Пт Су
                1  2
 3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
прошло >7 часов
/dev/pts/2
23:43:46
#mount /dev/cdrom1 /mnt
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/pts/1
23:43:46
#mount /dev/cdrom1 /mnt
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/pts/2
23:44:01
#cd /mnt

/dev/pts/1
23:44:01
#cd /mnt

/dev/pts/2
23:44:05
#ls
manifest.txt  VMwareTools-8.4.4-301548.tar.gz
/dev/pts/1
23:44:05
#ls
manifest.txt  VMwareTools-8.4.4-301548.tar.gz
/dev/pts/2
23:44:08
#cp VMwareTools-8.4.4-301548.tar.gz /root/

/dev/pts/1
23:44:08
#cp VMwareTools-8.4.4-301548.tar.gz /root/

/dev/pts/2
23:44:30
#rasterisk
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 2909)
linux3*CLI>
linux3*CLI>
linux3*CLI>
linux3*CLI>
/dev/pts/1
23:44:30
#rasterisk
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 2909)
linux3*CLI>
linux3*CLI>
linux3*CLI>
linux3*CLI>
/dev/pts/2
23:44:40
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:29:df:07:f3
          inet addr:192.168.103.1  Bcast:192.168.103.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fedf:7f3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:28002 (27.3 KiB)
          Interrupt:19 Base address:0x2000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:566 errors:0 dropped:0 overruns:0 frame:0
          TX packets:566 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:141405 (138.0 KiB)  TX bytes:141405 (138.0 KiB)
/dev/pts/1
23:44:40
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:29:df:07:f3
          inet addr:192.168.103.1  Bcast:192.168.103.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fedf:7f3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:28002 (27.3 KiB)
          Interrupt:19 Base address:0x2000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:566 errors:0 dropped:0 overruns:0 frame:0
          TX packets:566 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:141405 (138.0 KiB)  TX bytes:141405 (138.0 KiB)
/dev/pts/2
23:44:53
#ping ya.ru
^C
/dev/pts/1
23:44:53
#ping ya.ru
^C
/dev/pts/2
23:45:19
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.103.1 icmp_seq=2 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3003ms
/dev/pts/1
23:45:19
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.103.1 icmp_seq=2 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3003ms
/dev/pts/2
23:45:28
#vi /etc/network
/dev/pts/1
23:45:28
#vi /etc/network
/dev/pts/2
23:45:28
#vi /etc/network/
/dev/pts/1
23:45:28
#vi /etc/network/
/dev/pts/2
23:45:28
#vi /etc/network/interfaces
--- /tmp/l3-saved-3606.16208.26003	2010-10-30 00:46:06.000000000 +0300
+++ /etc/network/interfaces	2010-10-30 00:47:03.000000000 +0300
@@ -8,11 +8,11 @@
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet static
-	address 192.168.103.1
+	address 192.168.1.40
 	netmask 255.255.255.0
-	network 192.168.103.0
-	broadcast 192.168.103.255
-	gateway 192.168.103.254
+	network 192.168.1.0
+	broadcast 192.168.1.255
+	gateway 192.168.1.1
 	# dns-* options are implemented by the resolvconf package, if installed
-	dns-nameservers 10.0.35.1
+	dns-nameservers 8.8.8.8
 	dns-search unix.nt
/dev/pts/1
23:45:28
#vi /etc/network/interfaces
/dev/pts/2
23:47:03
#se
seahorse                 sendmail-msp             setarch
seahorse-agent           sendmail-mta             sethdlc-new
seahorse-daemon          sensible-browser         setkeycodes
seahorse-preferences     sensible-editor          set-language-env
seahorse-tool            sensible-mda             setleds
sed                      sensible-pager           setlogcons
see                      seq                      setmetamode
select                   serpentine               setpci
select-default-ispell    service                  setsid
select-default-iwrap     services-admin           setterm
select-default-wordlist  serviceTag               setupcon
sendmail                 sessreg                  setvesablank
sendmailconfig           set                      setxkbmap
23:47:03
#ser
serpentine      service         services-admin  serviceTag
23:47:03
#service
service         services-admin  serviceTag
23:47:03
#service
service         services-admin  serviceTag
23:47:03
#service
acpid                       mountnfs-bootclean.sh
alsa-utils                  mountnfs.sh
asterisk                    mountoverflowtmp
atd                         mtab.sh
avahi-daemon                networking
bind9                       network-manager
binfmt-support              network-manager-dispatcher
bluetooth                   nfs-common
bootlogd                    openbsd-inetd
bootmisc.sh                 openvpn
...
console-screen.sh           rc.local
console-setup               rcS
cron                        README
cups                        reboot
dbus                        resolvconf
dhcdbd                      rmnologin
dhcp3-server                rsync
ejabberd                    rsyslog
exim4                       samba
fam                         saned
23:47:03
#service network
networking                  network-manager-dispatcher
network-manager

Файлы

  • /etc/ejabberd/ejabberd.cfg
  • /etc/ejabberd/ejabberd.cfg
    >
    %%%
    %%%     Debian ejabberd configuration file
    %%%     This config must be in UTF-8 encoding
    %%%
    %%% The parameters used in this configuration file are explained in more detail
    %%% in the ejabberd Installation and Operation Guide.
    %%% Please consult the Guide in case of doubts, it is available at
    %%% /usr/share/doc/ejabberd/guide.html
    %%%   ===================================
    %%%   OVERRIDE OPTIONS STORED IN DATABASE
    %%
    %% Override global options (shared by all ejabberd nodes in a cluster).
    %%
    %%override_global.
    %%
    %% Override local options (specific for this particular ejabberd node).
    %%
    %%override_local.
    %%
    %% Remove the Access Control Lists before new ones are added.
    %%
    %%override_acls.
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %% Options which are set by Debconf and managed by ucf
    %% Admin user
    {acl, admin, {user, "roma", "kv.unix.nt"}}.
    %% Hostname
    {hosts, ["kv.unix.nt"]}.
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    %%% This configuration file contains Erlang terms.
    %%% In case you want to understand the syntax, here are the concepts:
    %%%
    %%%  - The character to comment a line is %
    %%%
    %%%  - Each term ends in a dot, for example:
    %%%      override_global.
    %%%
    %%%  - A tuple has a fixed definition, its elements are
    %%%    enclosed in {}, and separated with commas:
    %%%      {loglevel, 4}.
    %%%
    %%%  - A list can have as many elements as you want,
    %%%    and is enclosed in [], for example:
    %%%      [http_poll, web_admin, tls]
    %%%
    %%%  - A keyword of ejabberd is a word in lowercase.
    %%%    The strings are enclosed in "" and can have spaces, dots...
    %%%      {language, "en"}.
    %%%      {ldap_rootdn, "dc=example,dc=com"}.
    %%%
    %%%  - This term includes a tuple, a keyword, a list and two strings:
    %%%      {hosts, ["jabber.example.net", "im.example.com"]}.
    %%%
    %%%   =========
    %%%   DEBUGGING
    %%
    %% loglevel: Verbosity of log files generated by ejabberd.
    %% 0: No ejabberd log at all (not recommended)
    %% 1: Critical
    %% 2: Error
    %% 3: Warning
    %% 4: Info
    %% 5: Debug
    %%
    {loglevel, 4}.
    %%
    %% watchdog_admins: If an ejabberd process consumes too much memory,
    %% send live notifications to those Jabber accounts.
    %%
    %%{watchdog_admins, ["bob@example.com"]}.
    %%%   ================
    %%%   SERVED HOSTNAMES
    %%
    %% hosts: Domains served by ejabberd.
    %% You can define one or several, for example:
    %% {hosts, ["example.net", "example.com", "example.org"]}.
    %%
    %% (This option is defined by debconf earlier)
    %% {hosts, ["localhost"]}.
    %%
    %% route_subdomains: Delegate subdomains to other Jabber server.
    %% For example, if this ejabberd serves example.org and you want
    %% to allow communication with a Jabber server called im.example.org.
    %%
    %%{route_subdomains, s2s}.
    %%%   ===============
    %%%   LISTENING PORTS
    %%
    %% listen: Which ports will ejabberd listen, which service handles it
    %% and what options to start it with.
    %%
    {listen,
     [
      {5222, ejabberd_c2s, [
                            {access, c2s},
                            {shaper, c2s_shaper},
                            {max_stanza_size, 65536},
                            starttls, {certfile, "/etc/ejabberd/ejabberd.pem"}
                           ]},
      %%
      %% To enable the old SSL connection method (deprecated) in port 5223:
      %%
      %%{5223, ejabberd_c2s, [
      %%                    {access, c2s},
      %%                    {shaper, c2s_shaper},
      %%                    {max_stanza_size, 65536},
      %%                    tls, {certfile, "/etc/ejabberd/ejabberd.pem"}
      %%                   ]},
      {5269, ejabberd_s2s_in, [
                               {shaper, s2s_shaper},
                               {max_stanza_size, 131072}
                              ]},
      %% External MUC jabber-muc (but internal mod_muc is better :))
      %%{5554, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {host, "muc.localhost", [{password, "secret"}]}
      %%                        ]},
      %% Jabber ICQ Transport
      %%{5555, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {hosts, ["icq.localhost", "sms.localhost"],
      %%                                   [{password, "secret"}]}
      %%                        ]},
      %% AIM Transport
      %%{5556, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {host, "aim.localhost", [{password, "secret"}]}
      %%                        ]},
      %% MSN Transport
      %%{5557, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {host, "msn.localhost", [{password, "secret"}]}
      %%                        ]},
      %% Yahoo! Transport
      %%{5558, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {host, "yahoo.localhost", [{password, "secret"}]}
      %%                        ]},
      %% External JUD (internal is more powerful,
      %% but doesn't allow to register users from other servers)
      %%{5559, ejabberd_service, [
      %%                        {ip, {127, 0, 0, 1}},
      %%                        {access, all},
      %%                        {shaper_rule, fast},
      %%                        {host, "jud.localhost", [{password, "secret"}]}
      %%                        ]},
      {5280, ejabberd_http, [
                             http_poll,
                             web_admin
                            ]}
     ]}.
    %%
    %% s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.
    %% Allowed values are: true or false.
    %% You must specify a certificate file.
    %%
    {s2s_use_starttls, true}.
    %%
    %% s2s_certfile: Specify a certificate file.
    %%
    {s2s_certfile, "/etc/ejabberd/ejabberd.pem"}.
    %%
    %% domain_certfile: Specify a different certificate for each served hostname.
    %%
    %%{domain_certfile, "example.org", "/path/to/example_org.pem"}.
    %%{domain_certfile, "example.com", "/path/to/example_com.pem"}.
    %%
    %% S2S whitelist or blacklist
    %%
    %% Default s2s policy for undefined hosts.
    %%
    %%{s2s_default_policy, allow}.
    %%
    %% Allow or deny communication with specific servers.
    %%
    %%{{s2s_host, "goodhost.org"}, allow}.
    %%{{s2s_host, "badhost.org"}, deny}.
    %%%   ==============
    %%%   AUTHENTICATION
    %%
    %% auth_method: Method used to authenticate the users.
    %% The default method is the internal.
    %% If you want to use a different method,
    %% comment this line and enable the correct ones.
    %%
    {auth_method, internal}.
    %%
    %% Authentication using external script
    %% Make sure the script is executable by ejabberd.
    %%
    %%{auth_method, external}.
    %%{extauth_program, "/path/to/authentication/script"}.
    %%
    %% Authentication using ODBC
    %% Remember to setup a database in the next section.
    %%
    %%{auth_method, odbc}.
    %%
    %% Authentication using PAM
    %%
    %%{auth_method, pam}.
    %%{pam_service, "pamservicename"}.
    %%
    %% Authentication using LDAP
    %%
    %%{auth_method, ldap}.
    %%
    %% List of LDAP servers:
    %%{ldap_servers, ["localhost"]}.
    %%
    %% Encryption of connection to LDAP servers (LDAPS):
    %%{ldap_encrypt, tls}.
    %%
    %% Port connect to LDAP server:
    %%{ldap_port, 636}.
    %%
    %% LDAP manager:
    %%{ldap_rootdn, "dc=example,dc=com"}.
    %%
    %% Password to LDAP manager:
    %%{ldap_password, "******"}.
    %%
    %% Search base of LDAP directory:
    %%{ldap_base, "dc=example,dc=com"}.
    %%
    %% LDAP attribute that holds user ID:
    %%{ldap_uids, [{"mail", "%u@mail.example.org"}]}.
    %%
    %% LDAP filter:
    %%{ldap_filter, "(objectClass=shadowAccount)"}.
    %%
    %% Anonymous login support:
    %%   auth_method: anonymous
    %%   anonymous_protocol: sasl_anon | login_anon | both
    %%   allow_multiple_connections: true | false
    %%
    %%{host_config, "public.example.org", [{auth_method, anonymous},
    %%                                     {allow_multiple_connections, false},
    %%                                     {anonymous_protocol, sasl_anon}]}.
    %%
    %% To use both anonymous and internal authentication:
    %%
    %%{host_config, "public.example.org", [{auth_method, [internal, anonymous]}]}.
    %%%   ==============
    %%%   DATABASE SETUP
    %% ejabberd uses by default the internal Mnesia database,
    %% so you can avoid this section.
    %% This section provides configuration examples in case
    %% you want to use other database backends.
    %% Please consult the ejabberd Guide for details about database creation.
    %%
    %% MySQL server:
    %%
    %%{odbc_server, {mysql, "server", "database", "username", "password"}}.
    %%
    %% If you want to specify the port:
    %%{odbc_server, {mysql, "server", 1234, "database", "username", "password"}}.
    %%
    %% PostgreSQL server:
    %%
    %%{odbc_server, {pgsql, "server", "database", "username", "password"}}.
    %%
    %% If you want to specify the port:
    %%{odbc_server, {pgsql, "server", 1234, "database", "username", "password"}}.
    %%
    %% If you use PostgreSQL, have a large database, and need a
    %% faster but inexact replacement for "select count(*) from users"
    %%
    %%{pgsql_users_number_estimate, true}.
    %%
    %% ODBC compatible or MSSQL server:
    %%
    %%{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.
    %%
    %% Number of connections to open to the database for each virtual host
    %%
    %%{odbc_pool_size, 10}.
    %%
    %% Interval to make a dummy SQL request to keep alive the connections
    %% to the database. Specify in seconds: for example 28800 means 8 hours
    %%
    %%{odbc_keepalive_interval, undefined}.
    %%%   ===============
    %%%   TRAFFIC SHAPERS
    %%
    %% The "normal" shaper limits traffic speed to 1.000 B/s
    %%
    {shaper, normal, {maxrate, 1000}}.
    %%
    %% The "fast" shaper limits traffic speed to 50.000 B/s
    %%
    {shaper, fast, {maxrate, 50000}}.
    %%%   ====================
    %%%   ACCESS CONTROL LISTS
    %%
    %% The 'admin' ACL grants administrative privileges to Jabber accounts.
    %% You can put as many accounts as you want.
    %%
    %%{acl, admin, {user, "aleksey", "localhost"}}.
    %%{acl, admin, {user, "ermine", "example.org"}}.
    %%
    %% Blocked users
    %%
    %%{acl, blocked, {user, "baduser", "example.org"}}.
    %%{acl, blocked, {user, "test"}}.
    %%
    %% Local users: don't modify this line.
    %%
    {acl, local, {user_regexp, ""}}.
    %%
    %% More examples of ACLs
    %%
    %%{acl, jabberorg, {server, "jabber.org"}}.
    %%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.
    %%{acl, test, {user_regexp, "^test"}}.
    %%{acl, test, {user_glob, "test*"}}.
    %%%   ============
    %%%   ACCESS RULES
    %% Define the maximum number of time a single user is allowed to connect:
    {access, max_user_sessions, [{10, all}]}.
    %% This rule allows access only for local users:
    {access, local, [{allow, local}]}.
    %% Only non-blocked users can use c2s connections:
    {access, c2s, [{deny, blocked},
                   {allow, all}]}.
    %% For all users except admins used "normal" shaper
    {access, c2s_shaper, [{none, admin},
                          {normal, all}]}.
    %% For all S2S connections used "fast" shaper
    {access, s2s_shaper, [{fast, all}]}.
    %% Only admins can send announcement messages:
    {access, announce, [{allow, admin}]}.
    %% Only admins can use configuration interface:
    {access, configure, [{allow, admin}]}.
    %% Admins of this server are also admins of MUC service:
    {access, muc_admin, [{allow, admin}]}.
    %% All users are allowed to use MUC service:
    {access, muc, [{allow, all}]}.
    %% No username can be registered via in-band registration:
    %% To enable in-band registration, replace 'deny' with 'allow'
    % (note that if you remove mod_register from modules list then users will not
    % be able to change their password as well as register).
    % This setting is default because it's more safe.
    {access, register, [{deny, all}]}.
    %% Everybody can create pubsub nodes
    {access, pubsub_createnode, [{allow, all}]}.
    %%%   ================
    %%%   DEFAULT LANGUAGE
    %%
    %% language: Default language used for server messages.
    %%
    {language, "en"}.
    %%%   =======
    %%%   MODULES
    %%
    %% Modules enabled in all ejabberd virtual hosts.
    %%
    {modules,
     [
      {mod_adhoc,    []},
      {mod_announce, [{access, announce}]}, % requires mod_adhoc
      {mod_caps,     []},
      {mod_configure,[]}, % requires mod_adhoc
      {mod_ctlextra, []},
      {mod_disco,    []},
      %%{mod_echo,   [{host, "echo.localhost"}]},
      {mod_irc,      []},
      {mod_last,     []},
      {mod_muc,      [
                      %%{host, "conference.@HOST@"},
                      {access, muc},
                      {access_create, muc},
                      {access_persistent, muc},
                      {access_admin, muc_admin},
                      {max_users, 500}
                     ]},
      %%{mod_muc_log,[]},
      {mod_offline,  []},
      {mod_privacy,  []},
      {mod_private,  []},
      {mod_proxy65,  [
                      {access, local},
                      {shaper, c2s_shaper}
                     ]},
      {mod_pubsub,   [ % requires mod_caps
                      {access_createnode, pubsub_createnode},
                      {plugins, ["default", "pep"]}
                     ]},
      {mod_register, [
                      %%
                      %% After successful registration, the user receives
                      %% a message with this subject and body.
                      %%
                      {welcome_message, {"Welcome!",
                                         "Welcome to a Jabber service powered by Debian. "
                                         "For information about Jabber visit "
                                         "http://www.jabber.org"}},
                      %% Replace it with 'none' if you don't want to send such message:
                      %%{welcome_message, none},
                      %%
                      %% When a user registers, send a notification to
                      %% these Jabber accounts.
                      %%
                      %%{registration_watchers, ["admin1@example.org"]},
                      {access, register}
                     ]},
      {mod_roster,   []},
      %%{mod_service_log,[]},
      %%{mod_shared_roster,[]},
      {mod_stats,    []},
      {mod_time,     []},
      {mod_vcard,    []},
      {mod_version,  []}
     ]}.
    %%% $Id: ejabberd.cfg.example 1178 2008-02-08 18:28:36Z badlop $
    %%% Local Variables:
    %%% mode: erlang
    %%% End:
    %%% vim: set filetype=erlang tabstop=8:
    

    Статистика

    Время первой команды журнала10:13:30 2010-10-29
    Время последней команды журнала23:47:03 2010-10-29
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %23.76
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 1.59
    Количество командных строк в единицу времени, команда/мин 1.06
    Частота использования команд
    ejabberdctl20|===================| 19.80%
    vi12|===========| 11.88%
    asterisk11|==========| 10.89%
    cat8|=======| 7.92%
    ping4|===| 3.96%
    service4|===| 3.96%
    cp4|===| 3.96%
    apt-get4|===| 3.96%
    scp3|==| 2.97%
    ifconfig2|=| 1.98%
    dpkg2|=| 1.98%
    telnet2|=| 1.98%
    chown2|=| 1.98%
    ej2|=| 1.98%
    mount2|=| 1.98%
    cd2|=| 1.98%
    e2|=| 1.98%
    dpkg-reconfigure2|=| 1.98%
    ~2|=| 1.98%
    ls2|=| 1.98%
    rasterisk2|=| 1.98%
    dp2|=| 1.98%
    5162|=| 1.98%
    se1|| 0.99%
    rm1|| 0.99%
    ser1|| 0.99%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$