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

Содержание

Журнал

Пятница (10/21/11)

/dev/pts/4
10:09:03
#less /etc/asterisk/chan-dahdi.conf
/dev/pts/1
10:09:14
#less /etc/asterisk/chann-dahdi.conf
/dev/pts/4
10:09:14
#less /etc/asterisk/chann-dahdi.conf
/dev/pts/1
10:09:40
#less /etc/asterisk/chan_dahdi.conf
/dev/pts/4
10:09:40
#less /etc/asterisk/chan_dahdi.conf
/dev/pts/1
10:11:37
#asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
...
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
Wildcard TDM410P Board 1                 OK      0      0      0      CAS Unk  YEL      0 db (CSU)/0-133 feet (DSX-1)
linux6*CLI> dahdi show cha
No such command 'dahdi show cha' (type 'core show help dahdi show cha' for other possible commands)
linux6*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked    State
 pseudo            default                    default                         In Service
linux6*CLI> pri show spans
linux6*CLI> quit
Executing last minute cleanups
/dev/pts/4
10:11:37
#asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
...
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
Wildcard TDM410P Board 1                 OK      0      0      0      CAS Unk  YEL      0 db (CSU)/0-133 feet (DSX-1)
linux6*CLI> dahdi show cha
No such command 'dahdi show cha' (type 'core show help dahdi show cha' for other possible commands)
linux6*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked    State
 pseudo            default                    default                         In Service
linux6*CLI> pri show spans
linux6*CLI> quit
Executing last minute cleanups
/dev/tty
10:11:37
#asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
...
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
Wildcard TDM410P Board 1                 OK      0      0      0      CAS Unk  YEL      0 db (CSU)/0-133 feet (DSX-1)
linux6*CLI> dahdi show cha
No such command 'dahdi show cha' (type 'core show help dahdi show cha' for other possible commands)
linux6*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked    State
 pseudo            default                    default                         In Service
linux6*CLI> pri show spans
linux6*CLI> quit
Executing last minute cleanups
/dev/pts/1
10:12:43
## #include /etc/asterisk/dahdi-channels.conf

/dev/pts/4
10:12:43
## #include /etc/asterisk/dahdi-channels.conf

/dev/tty
10:12:43
## #include /etc/asterisk/dahdi-channels.conf

/dev/pts/1
10:15:05
##include /etc/asterisk/dahdi-channels.conf
                 # exten => _1[34]XX,1,Macro(monitor,DAHDI/G63/${EXTEN})
/dev/pts/4
10:15:05
##include /etc/asterisk/dahdi-channels.conf
                 # exten => _1[34]XX,1,Macro(monitor,DAHDI/G63/${EXTEN})
/dev/tty
10:15:05
##include /etc/asterisk/dahdi-channels.conf
                 # exten => _1[34]XX,1,Macro(monitor,DAHDI/G63/${EXTEN})
/dev/pts/1
10:20:28
## [international]

/dev/pts/4
10:20:28
## [international]

/dev/tty
10:20:28
## [international]

/dev/pts/1
10:20:40
#lsmod | grep duhdi

/dev/pts/4
10:20:40
#lsmod | grep duhdi

/dev/tty
10:20:40
#lsmod | grep duhdi

прошло 43 минуты
/dev/pts/1
11:04:12
#lsmod
Module                  Size  Used by
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
acpi_cpufreq            4951  0
cpufreq_conservative     4018  0
cpufreq_userspace       1480  0
cpufreq_powersave        602  0
cpufreq_stats           1997  0
sco                     5885  2
bridge                 33031  0
...
libata                115869  2 ahci,ata_generic
ehci_hcd               28693  0
thermal                 9206  0
thermal_sys             9378  3 video,processor,thermal
scsi_mod              104853  4 sg,sr_mod,sd_mod,libata
usbcore                98969  3 usbhid,ehci_hcd
nls_base                4541  1 usbcore
firewire_core          31243  1 firewire_ohci
crc_itu_t               1035  1 firewire_core
e1000e                110270  0
/dev/pts/4
11:04:12
#lsmod
Module                  Size  Used by
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
acpi_cpufreq            4951  0
cpufreq_conservative     4018  0
cpufreq_userspace       1480  0
cpufreq_powersave        602  0
cpufreq_stats           1997  0
sco                     5885  2
bridge                 33031  0
...
libata                115869  2 ahci,ata_generic
ehci_hcd               28693  0
thermal                 9206  0
thermal_sys             9378  3 video,processor,thermal
scsi_mod              104853  4 sg,sr_mod,sd_mod,libata
usbcore                98969  3 usbhid,ehci_hcd
nls_base                4541  1 usbcore
firewire_core          31243  1 firewire_ohci
crc_itu_t               1035  1 firewire_core
e1000e                110270  0
/dev/tty
11:04:12
#lsmod
Module                  Size  Used by
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
acpi_cpufreq            4951  0
cpufreq_conservative     4018  0
cpufreq_userspace       1480  0
cpufreq_powersave        602  0
cpufreq_stats           1997  0
sco                     5885  2
bridge                 33031  0
...
libata                115869  2 ahci,ata_generic
ehci_hcd               28693  0
thermal                 9206  0
thermal_sys             9378  3 video,processor,thermal
scsi_mod              104853  4 sg,sr_mod,sd_mod,libata
usbcore                98969  3 usbhid,ehci_hcd
nls_base                4541  1 usbcore
firewire_core          31243  1 firewire_ohci
crc_itu_t               1035  1 firewire_core
e1000e                110270  0
/dev/pts/1
11:04:22
#lsmod | grep dah
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
dahdi_voicebus         29859  1 wctdm24xxp
dahdi                 176034  3 dahdi_echocan_oslec,wctdm24xxp,dahdi_voicebus
crc_ccitt               1039  2 wctdm24xxp,dahdi
/dev/pts/4
11:04:22
#lsmod | grep dah
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
dahdi_voicebus         29859  1 wctdm24xxp
dahdi                 176034  3 dahdi_echocan_oslec,wctdm24xxp,dahdi_voicebus
crc_ccitt               1039  2 wctdm24xxp,dahdi
/dev/tty
11:04:22
#lsmod | grep dah
dahdi_echocan_oslec     1038  2
echo                    3020  1 dahdi_echocan_oslec
dahdi_voicebus         29859  1 wctdm24xxp
dahdi                 176034  3 dahdi_echocan_oslec,wctdm24xxp,dahdi_voicebus
crc_ccitt               1039  2 wctdm24xxp,dahdi
/dev/pts/1
11:04:43
#man vim
/dev/pts/4
11:04:43
#man vim
/dev/tty
11:04:43
#man vim
/dev/pts/1
11:11:31
#No next tag (press RETURN)
bash: syntax error near unexpected token `newline'
/dev/pts/4
11:11:31
#No next tag (press RETURN)
bash: syntax error near unexpected token `newline'
/dev/tty
11:11:31
#No next tag (press RETURN)
bash: syntax error near unexpected token `newline'
/dev/pts/1
11:11:31
##include /etc/asterisk/dahdi-channels.conf
                 asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
Verbosity is at least 4
linux6*CLI> show dahdi cadences
No such command 'show dahdi cadences' (type 'core show help show dahdi' for other possible commands)
linux6*CLI> dahdi show cadences
r1: 125,125,2000,4000
r2: 250,250,500,1000,250,250,500,4000
r3: 125,125,125,125,125,4000
r4: 1000,500,2500,5000
linux6*CLI> quit
Executing last minute cleanups
/dev/pts/4
11:11:31
##include /etc/asterisk/dahdi-channels.conf
                 asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
Verbosity is at least 4
linux6*CLI> show dahdi cadences
No such command 'show dahdi cadences' (type 'core show help show dahdi' for other possible commands)
linux6*CLI> dahdi show cadences
r1: 125,125,2000,4000
r2: 250,250,500,1000,250,250,500,4000
r3: 125,125,125,125,125,4000
r4: 1000,500,2500,5000
linux6*CLI> quit
Executing last minute cleanups
/dev/tty
11:11:31
##include /etc/asterisk/dahdi-channels.conf
                 asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux6 (pid = 1735)
Verbosity is at least 4
linux6*CLI> show dahdi cadences
No such command 'show dahdi cadences' (type 'core show help show dahdi' for other possible commands)
linux6*CLI> dahdi show cadences
r1: 125,125,2000,4000
r2: 250,250,500,1000,250,250,500,4000
r3: 125,125,125,125,125,4000
r4: 1000,500,2500,5000
linux6*CLI> quit
Executing last minute cleanups
/dev/pts/1
11:20:49
## FOP = Flash Operator Panel

/dev/pts/4
11:20:49
## FOP = Flash Operator Panel

/dev/tty
11:20:49
## FOP = Flash Operator Panel

/dev/pts/1
11:21:02
## Upravlenie zvonkami

/dev/pts/4
11:21:02
## Upravlenie zvonkami

/dev/tty
11:21:02
## Upravlenie zvonkami

/dev/pts/1
11:21:53
## cherez web-interface

/dev/pts/4
11:21:53
## cherez web-interface

/dev/tty
11:21:53
## cherez web-interface

/dev/pts/1
11:22:21
#wget http://www.asternic.org/files/op_panel-0.30.tar.gz
--2011-10-21 12:23:29--  http://www.asternic.org/files/op_panel-0.30.tar.gz
Resolving www.asternic.org... 200.61.177.8
Connecting to www.asternic.org|200.61.177.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355782 (347K) [application/x-gzip]
Saving to: “op_panel-0.30.tar.gz”
100%[=================================>] 355,782     73.8K/s   in 5.3s
2011-10-21 12:23:35 (65.0 KB/s) - “op_panel-0.30.tar.gz” saved [355782/355782]
/dev/pts/4
11:22:21
#wget http://www.asternic.org/files/op_panel-0.30.tar.gz
--2011-10-21 12:23:29--  http://www.asternic.org/files/op_panel-0.30.tar.gz
Resolving www.asternic.org... 200.61.177.8
Connecting to www.asternic.org|200.61.177.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355782 (347K) [application/x-gzip]
Saving to: “op_panel-0.30.tar.gz”
100%[=================================>] 355,782     73.8K/s   in 5.3s
2011-10-21 12:23:35 (65.0 KB/s) - “op_panel-0.30.tar.gz” saved [355782/355782]
/dev/tty
11:22:21
#wget http://www.asternic.org/files/op_panel-0.30.tar.gz
--2011-10-21 12:23:29--  http://www.asternic.org/files/op_panel-0.30.tar.gz
Resolving www.asternic.org... 200.61.177.8
Connecting to www.asternic.org|200.61.177.8|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355782 (347K) [application/x-gzip]
Saving to: “op_panel-0.30.tar.gz”
100%[=================================>] 355,782     73.8K/s   in 5.3s
2011-10-21 12:23:35 (65.0 KB/s) - “op_panel-0.30.tar.gz” saved [355782/355782]
/dev/pts/1
11:23:35
#cd op_panel-0.30
bash: cd: op_panel-0.30: No such file or directory
/dev/pts/4
11:23:35
#cd op_panel-0.30
bash: cd: op_panel-0.30: No such file or directory
/dev/tty
11:23:35
#cd op_panel-0.30
bash: cd: op_panel-0.30: No such file or directory
/dev/pts/1
11:24:32
#cd /etc/op_panel-0.30
bash: cd: /etc/op_panel-0.30: No such file or directory
/dev/pts/4
11:24:32
#cd /etc/op_panel-0.30
bash: cd: /etc/op_panel-0.30: No such file or directory
/dev/tty
11:24:32
#cd /etc/op_panel-0.30
bash: cd: /etc/op_panel-0.30: No such file or directory
/dev/pts/1
11:24:54
#apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common ssl-cert
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
...
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.16-6+squeeze4) ...
Starting web server: apache2.
Setting up apache2 (2.2.16-6+squeeze4) ...
Setting up ssl-cert (1.0.28) ...
/dev/pts/4
11:24:54
#apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common ssl-cert
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
...
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.16-6+squeeze4) ...
Starting web server: apache2.
Setting up apache2 (2.2.16-6+squeeze4) ...
Setting up ssl-cert (1.0.28) ...
/dev/tty
11:24:54
#apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common ssl-cert
Suggested packages:
  apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
...
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.16-6+squeeze4) ...
Starting web server: apache2.
Setting up apache2 (2.2.16-6+squeeze4) ...
Setting up ssl-cert (1.0.28) ...
/dev/pts/1
11:25:15
#apt-cache search php
ampache-themes - Themes for Ampache
ampache - web-based audio file management system
aolserver4-doc - AOL web server version 4 - documentation
apache2-prefork-dev - Apache development headers - non-threaded MPM
apertium - Shallow-transfer machine translation engine
libawl-php - Andrew's Web Libraries - PHP Utility Libraries
bandwidthd-pgsql - Tracks usage of TCP/IP and builds html files with graphs
bandwidthd - Tracks usage of TCP/IP and builds html files with graphs
cacti-spine - Multi-Threading poller for cacti
cacti - Frontend to rrdtool for monitoring systems and services
...
php-zeroc-ice - Ice for PHP extension
zoph - Web based digital image presentation and management system
phpmyadmin - MySQL web administration tool
libjs-jquery-jush - jQuery Syntax Highlighter
libfpdf-tpl-php - PHP library to use PDF templates with FPDF
libfpdi-php - PHP library for importing existing PDF documents into FPDF
libkohana2-modules-php - lightweight PHP5 MVC framework (extension modules)
libkohana2-php - lightweight PHP5 MVC framework
nzbget - command-line based binary newsgrabber for nzb files
swig2.0 - Generate scripting interfaces to C/C++ code
/dev/pts/4
11:25:15
#apt-cache search php
ampache-themes - Themes for Ampache
ampache - web-based audio file management system
aolserver4-doc - AOL web server version 4 - documentation
apache2-prefork-dev - Apache development headers - non-threaded MPM
apertium - Shallow-transfer machine translation engine
libawl-php - Andrew's Web Libraries - PHP Utility Libraries
bandwidthd-pgsql - Tracks usage of TCP/IP and builds html files with graphs
bandwidthd - Tracks usage of TCP/IP and builds html files with graphs
cacti-spine - Multi-Threading poller for cacti
cacti - Frontend to rrdtool for monitoring systems and services
...
php-zeroc-ice - Ice for PHP extension
zoph - Web based digital image presentation and management system
phpmyadmin - MySQL web administration tool
libjs-jquery-jush - jQuery Syntax Highlighter
libfpdf-tpl-php - PHP library to use PDF templates with FPDF
libfpdi-php - PHP library for importing existing PDF documents into FPDF
libkohana2-modules-php - lightweight PHP5 MVC framework (extension modules)
libkohana2-php - lightweight PHP5 MVC framework
nzbget - command-line based binary newsgrabber for nzb files
swig2.0 - Generate scripting interfaces to C/C++ code
/dev/tty
11:25:15
#apt-cache search php
ampache-themes - Themes for Ampache
ampache - web-based audio file management system
aolserver4-doc - AOL web server version 4 - documentation
apache2-prefork-dev - Apache development headers - non-threaded MPM
apertium - Shallow-transfer machine translation engine
libawl-php - Andrew's Web Libraries - PHP Utility Libraries
bandwidthd-pgsql - Tracks usage of TCP/IP and builds html files with graphs
bandwidthd - Tracks usage of TCP/IP and builds html files with graphs
cacti-spine - Multi-Threading poller for cacti
cacti - Frontend to rrdtool for monitoring systems and services
...
php-zeroc-ice - Ice for PHP extension
zoph - Web based digital image presentation and management system
phpmyadmin - MySQL web administration tool
libjs-jquery-jush - jQuery Syntax Highlighter
libfpdf-tpl-php - PHP library to use PDF templates with FPDF
libfpdi-php - PHP library for importing existing PDF documents into FPDF
libkohana2-modules-php - lightweight PHP5 MVC framework (extension modules)
libkohana2-php - lightweight PHP5 MVC framework
nzbget - command-line based binary newsgrabber for nzb files
swig2.0 - Generate scripting interfaces to C/C++ code
/dev/pts/1
11:25:39
#apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 libonig2 libqdbm14 php5-cli
  php5-common php5-suhosin
Suggested packages:
...
Setting up libqdbm14 (1.8.77-4) ...
Setting up php5-common (5.3.3-7+squeeze3) ...
Setting up libapache2-mod-php5 (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2.
Setting up php5 (5.3.3-7+squeeze3) ...
Setting up php5-cli (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-suhosin (0.9.32.1-1) ...
/dev/pts/4
11:25:39
#apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 libonig2 libqdbm14 php5-cli
  php5-common php5-suhosin
Suggested packages:
...
Setting up libqdbm14 (1.8.77-4) ...
Setting up php5-common (5.3.3-7+squeeze3) ...
Setting up libapache2-mod-php5 (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2.
Setting up php5 (5.3.3-7+squeeze3) ...
Setting up php5-cli (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-suhosin (0.9.32.1-1) ...
/dev/tty
11:25:39
#apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  mysql-common libmysqlclient16
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 libonig2 libqdbm14 php5-cli
  php5-common php5-suhosin
Suggested packages:
...
Setting up libqdbm14 (1.8.77-4) ...
Setting up php5-common (5.3.3-7+squeeze3) ...
Setting up libapache2-mod-php5 (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/apache2/php.ini with new version
Reloading web server config: apache2.
Setting up php5 (5.3.3-7+squeeze3) ...
Setting up php5-cli (5.3.3-7+squeeze3) ...
Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode.
Setting up php5-suhosin (0.9.32.1-1) ...
/dev/pts/1
11:25:58
#sudo /etc/init.d/apache2 start
Starting web server: apache2httpd (pid 3759) already running
.
/dev/pts/4
11:25:58
#sudo /etc/init.d/apache2 start
Starting web server: apache2httpd (pid 3759) already running
.
/dev/tty
11:25:58
#sudo /etc/init.d/apache2 start
Starting web server: apache2httpd (pid 3759) already running
.
/dev/pts/1
11:26:29
#sudo /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
/dev/pts/4
11:26:29
#sudo /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
/dev/tty
11:26:29
#sudo /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
/dev/pts/1
11:26:38
#cp -R flash /var/www/panel
cp: cannot stat `flash': No such file or directory
/dev/pts/4
11:26:38
#cp -R flash /var/www/panel
cp: cannot stat `flash': No such file or directory
/dev/tty
11:26:38
#cp -R flash /var/www/panel
cp: cannot stat `flash': No such file or directory
/dev/pts/1
11:28:08
#scp linux9:root/op_panel-0.30.tag.gz
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
/dev/pts/4
11:28:08
#scp linux9:root/op_panel-0.30.tag.gz
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
/dev/tty
11:28:08
#scp linux9:root/op_panel-0.30.tag.gz
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
/dev/pts/1
11:28:59
#scp linux9:root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: root/op_panel-0.30.tag.gz: No such file or directory
/dev/pts/4
11:28:59
#scp linux9:root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: root/op_panel-0.30.tag.gz: No such file or directory
/dev/tty
11:28:59
#scp linux9:root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: root/op_panel-0.30.tag.gz: No such file or directory
/dev/pts/1
11:29:30
#scp linux9:/root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: /root/op_panel-0.30.tag.gz: No such file or directory
/dev/pts/4
11:29:30
#scp linux9:/root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: /root/op_panel-0.30.tag.gz: No such file or directory
/dev/tty
11:29:30
#scp linux9:/root/op_panel-0.30.tag.gz .
root@linux9's password:
scp: /root/op_panel-0.30.tag.gz: No such file or directory
/dev/pts/1
11:29:44
#ls
11           digits.txt    op_panel-0.30.tar.gz  ru.txt
convert.py   followme.txt  pbdirectory.txt       sip.conf
dictate.txt  letters.txt   phonetic.txt          sip.conf.SAVED
/dev/pts/4
11:29:44
#ls
11           digits.txt    op_panel-0.30.tar.gz  ru.txt
convert.py   followme.txt  pbdirectory.txt       sip.conf
dictate.txt  letters.txt   phonetic.txt          sip.conf.SAVED
/dev/tty
11:29:44
#ls
11           digits.txt    op_panel-0.30.tar.gz  ru.txt
convert.py   followme.txt  pbdirectory.txt       sip.conf
dictate.txt  letters.txt   phonetic.txt          sip.conf.SAVED
/dev/pts/1
11:30:37
#cd\
> ls
bash: cdls: command not found
/dev/pts/4
11:30:37
#cd\
> ls
bash: cdls: command not found
/dev/tty
11:30:37
#cd\
> ls
bash: cdls: command not found
/dev/pts/1
11:30:44
#cd /

/dev/pts/4
11:30:44
#cd /

/dev/tty
11:30:44
#cd /

/dev/pts/1
11:30:48
#ls
bin   etc         initrd.img.old  media  proc  selinux  tmp  vmlinuz
boot  home        lib             mnt    root  srv      usr  vmlinuz.old
dev   initrd.img  lost+found      opt    sbin  sys      var
/dev/pts/4
11:30:48
#ls
bin   etc         initrd.img.old  media  proc  selinux  tmp  vmlinuz
boot  home        lib             mnt    root  srv      usr  vmlinuz.old
dev   initrd.img  lost+found      opt    sbin  sys      var
/dev/tty
11:30:48
#ls
bin   etc         initrd.img.old  media  proc  selinux  tmp  vmlinuz
boot  home        lib             mnt    root  srv      usr  vmlinuz.old
dev   initrd.img  lost+found      opt    sbin  sys      var
/dev/pts/1
11:30:58
#perl op_server.pl
Can't open perl script "op_server.pl": No such file or directory
/dev/pts/4
11:30:58
#perl op_server.pl
Can't open perl script "op_server.pl": No such file or directory
/dev/tty
11:30:58
#perl op_server.pl
Can't open perl script "op_server.pl": No such file or directory
/dev/pts/1
11:31:24
#perl op-server.pl
Can't open perl script "op-server.pl": No such file or directory
/dev/pts/4
11:31:24
#perl op-server.pl
Can't open perl script "op-server.pl": No such file or directory
/dev/tty
11:31:24
#perl op-server.pl
Can't open perl script "op-server.pl": No such file or directory
/dev/pts/1
11:31:29
#cd $HOME

/dev/pts/4
11:31:29
#cd $HOME

/dev/tty
11:31:29
#cd $HOME

Статистика

Время первой команды журнала10:09:03 2011-10-21
Время последней команды журнала11:31:29 2011-10-21
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %29.70
Процент синтаксически неверно набранных команд, % 2.97
Суммарное время работы с терминалом *, час 0.65
Количество командных строк в единицу времени, команда/мин 2.60
Частота использования команд
#15|=============| 13.27%
cd12|==========| 10.62%
scp9|=======| 7.96%
lsmod9|=======| 7.96%
/etc/init.d/apache26|=====| 5.31%
sudo6|=====| 5.31%
perl6|=====| 5.31%
#include6|=====| 5.31%
apt-get6|=====| 5.31%
grep6|=====| 5.31%
ls6|=====| 5.31%
less5|====| 4.42%
asterisk3|==| 2.65%
wget3|==| 2.65%
man3|==| 2.65%
cp3|==| 2.65%
No3|==| 2.65%
apt-cache3|==| 2.65%
cd\3|==| 2.65%
____
*) Интервалы неактивности длительностью 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$