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

Содержание

Журнал

Пятница (05/29/09)

/dev/pts/8
10:53:55
#debsums --generate=missing
/usr/share/locale/sl/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/sl/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/nn/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/nn/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/nn/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/mr/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/mr/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/mr/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/zh_TW/LC_MESSAGES/apt.mo                                    OK
/usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg4.7.mo                          OK
...
/usr/bin/apt-sortpkgs                                                         OK
/usr/bin/apt-ftparchive                                                       OK
/usr/bin/apt-extracttemplates                                                 OK
/usr/share/locale/pt_BR/LC_MESSAGES/aptitude.mo                               OK
/usr/share/locale/ja/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/pl/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/sk/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/zh_TW/LC_MESSAGES/aptitude.mo                               OK
/usr/share/locale/it/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/lt/LC_MESSAGES/aptitude.mo                                  OK
/dev/pts/7
10:53:55
#debsums --generate=missing
/usr/share/locale/sl/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/sl/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/nn/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/nn/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/nn/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/mr/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/mr/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/mr/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/zh_TW/LC_MESSAGES/apt.mo                                    OK
/usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg4.7.mo                          OK
...
/usr/bin/apt-sortpkgs                                                         OK
/usr/bin/apt-ftparchive                                                       OK
/usr/bin/apt-extracttemplates                                                 OK
/usr/share/locale/pt_BR/LC_MESSAGES/aptitude.mo                               OK
/usr/share/locale/ja/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/pl/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/sk/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/zh_TW/LC_MESSAGES/aptitude.mo                               OK
/usr/share/locale/it/LC_MESSAGES/aptitude.mo                                  OK
/usr/share/locale/lt/LC_MESSAGES/aptitude.mo                                  OK
/dev/pts/8
10:57:08
#debsums | grep -v OK
debsums: no md5sums for at
debsums: no md5sums for binutils
debsums: no md5sums for bzip2
debsums: no md5sums for console-cyrillic
debsums: no md5sums for debian-archive-keyring
debsums: no md5sums for ed
debsums: no md5sums for initscripts
debsums: no md5sums for libbz2-1.0
debsums: no md5sums for libdb4.5
debsums: no md5sums for libgdbm3
debsums: no md5sums for liblockfile1
debsums: no md5sums for lockfile-progs
debsums: no md5sums for mawk
debsums: no md5sums for miscfiles
debsums: no md5sums for module-init-tools
debsums: no md5sums for netbase
debsums: no md5sums for sysv-rc
debsums: no md5sums for sysvinit
debsums: no md5sums for sysvinit-utils
/dev/pts/7
10:57:08
#debsums | grep -v OK
debsums: no md5sums for at
debsums: no md5sums for binutils
debsums: no md5sums for bzip2
debsums: no md5sums for console-cyrillic
debsums: no md5sums for debian-archive-keyring
debsums: no md5sums for ed
debsums: no md5sums for initscripts
debsums: no md5sums for libbz2-1.0
debsums: no md5sums for libdb4.5
debsums: no md5sums for libgdbm3
debsums: no md5sums for liblockfile1
debsums: no md5sums for lockfile-progs
debsums: no md5sums for mawk
debsums: no md5sums for miscfiles
debsums: no md5sums for module-init-tools
debsums: no md5sums for netbase
debsums: no md5sums for sysv-rc
debsums: no md5sums for sysvinit
debsums: no md5sums for sysvinit-utils
/dev/pts/8
10:57:31
#dig --help
Invalid option: --help
Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]
Use "dig -h" (or "dig -h | more") for complete list of options
/dev/pts/7
10:57:31
#dig --help
Invalid option: --help
Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]
Use "dig -h" (or "dig -h | more") for complete list of options
/dev/pts/8
10:59:00
#dig -h
Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]
Where:  domain    is in the Domain Name System
        q-class  is one of (in,hs,ch,...) [default: in]
        q-type   is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]
                 (Use ixfr=version for type ixfr)
        q-opt    is one of:
                 -x dot-notation     (shortcut for reverse lookups)
                 -i                  (use IP6.INT for IPv6 reverse lookups)
...
                 +[no]dnssec         (Request DNSSEC records)
                 +[no]nsid           (Request Name Server ID)
                 +[no]sigchase       (Chase DNSSEC signatures)
                 +trusted-key=####   (Trusted Key when chasing DNSSEC sigs)
                 +[no]topdown        (Do DNSSEC validation top down mode)
                 +[no]multiline      (Print records in an expanded format)
        global d-opts and servers (before host name) affect all queries.
        local d-opts and servers (after host name) affect only that lookup.
        -h                           (print help and exit)
        -v                           (print version and exit)
/dev/pts/7
10:59:00
#dig -h
Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
            {global-d-opt} host [@local-server] {local-d-opt}
            [ host [@local-server] {local-d-opt} [...]]
Where:  domain    is in the Domain Name System
        q-class  is one of (in,hs,ch,...) [default: in]
        q-type   is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]
                 (Use ixfr=version for type ixfr)
        q-opt    is one of:
                 -x dot-notation     (shortcut for reverse lookups)
                 -i                  (use IP6.INT for IPv6 reverse lookups)
...
                 +[no]dnssec         (Request DNSSEC records)
                 +[no]nsid           (Request Name Server ID)
                 +[no]sigchase       (Chase DNSSEC signatures)
                 +trusted-key=####   (Trusted Key when chasing DNSSEC sigs)
                 +[no]topdown        (Do DNSSEC validation top down mode)
                 +[no]multiline      (Print records in an expanded format)
        global d-opts and servers (before host name) affect all queries.
        local d-opts and servers (after host name) affect only that lookup.
        -h                           (print help and exit)
        -v                           (print version and exit)
/dev/pts/8
10:59:12
#ssh -l swd crimea-board.info
*  BattleStar_Galactica_Season_4
*
*           done     7403,0 MB Rate:   0,0 /   0,0 KB Uploaded:     0,0 MB                 [T  R: 0,00]
*
*
*
            ilot.avi
   Midsomer_Murders_S01_DVDRip
            done     7002,3 MB Rate:   0,0 /   0,0 KB Uploaded:     0,0 MB                 [T  R: 0,00]
   Louis_Armstrong_Gold
            done      611,9 MB Rate:   0,0 /   0,0 KB Uploaded:   611,9 MB                 [T  R: 1,00]
[Throttle 1000/1000 KB] [Rate   0,0/  0,0 KB] [Port: 40890]                                                       [U 1/210] [D 0/210] [H 0/32] [S 0/2/768] [F 128/128]
[detached]
swd@crimea-board:~$ exit
logout
Connection to crimea-board.info closed.
/dev/pts/7
10:59:12
#ssh -l swd crimea-board.info
*  BattleStar_Galactica_Season_4
*
*           done     7403,0 MB Rate:   0,0 /   0,0 KB Uploaded:     0,0 MB                 [T  R: 0,00]
*
*
*
            ilot.avi
   Midsomer_Murders_S01_DVDRip
            done     7002,3 MB Rate:   0,0 /   0,0 KB Uploaded:     0,0 MB                 [T  R: 0,00]
   Louis_Armstrong_Gold
            done      611,9 MB Rate:   0,0 /   0,0 KB Uploaded:   611,9 MB                 [T  R: 1,00]
[Throttle 1000/1000 KB] [Rate   0,0/  0,0 KB] [Port: 40890]                                                       [U 1/210] [D 0/210] [H 0/32] [S 0/2/768] [F 128/128]
[detached]
swd@crimea-board:~$ exit
logout
Connection to crimea-board.info closed.
/dev/pts/8
11:01:05
#cat /etc/apt/sources.list
deb http://10.0.35.1:9999/debian sid main
/dev/pts/7
11:01:05
#cat /etc/apt/sources.list
deb http://10.0.35.1:9999/debian sid main
/dev/pts/8
11:06:32
#apt-cache stats
Total package names: 32485 (1299k)
  Normal packages: 24756
  Pure virtual packages: 270
  Single virtual packages: 2309
  Mixed virtual packages: 232
  Missing: 4918
Total distinct versions: 24988 (1399k)
Total distinct descriptions: 24988 (600k)
Total dependencies: 152286 (4264k)
Total ver/file relations: 25580 (409k)
Total Desc/File relations: 24988 (400k)
Total Provides mappings: 4409 (88.2k)
Total globbed strings: 61 (422)
Total dependency version space: 627k
Total slack space: 83.9k
Total space accounted for: 7545k
/dev/pts/7
11:06:32
#apt-cache stats
Total package names: 32485 (1299k)
  Normal packages: 24756
  Pure virtual packages: 270
  Single virtual packages: 2309
  Mixed virtual packages: 232
  Missing: 4918
Total distinct versions: 24988 (1399k)
Total distinct descriptions: 24988 (600k)
Total dependencies: 152286 (4264k)
Total ver/file relations: 25580 (409k)
Total Desc/File relations: 24988 (400k)
Total Provides mappings: 4409 (88.2k)
Total globbed strings: 61 (422)
Total dependency version space: 627k
Total slack space: 83.9k
Total space accounted for: 7545k
прошло 18 минут
/dev/pts/8
11:25:24
#apt-get update
Get:1 http://www.debian-multimedia.org sid Release.gpg [197B]
Get:2 http://www.debian-multimedia.org sid/main Translation-en_US [14B]
Get:3 http://10.0.35.1 sid Release.gpg [1032B]
Get:4 http://www.debian-multimedia.org sid Release [13.2kB]
Ign http://10.0.35.1 sid/main Translation-en_US
Ign http://www.debian-multimedia.org sid Release
Get:5 http://www.debian-multimedia.org sid/main Packages [56.3kB]
Get:6 http://10.0.35.1 sid Release [94.4kB]
Ign http://10.0.35.1 sid/main Packages/DiffIndex
Ign http://10.0.35.1 sid/main Packages
Get:7 http://10.0.35.1 sid/main Packages [7750kB]
Fetched 7916kB in 5s (1463kB/s)
Reading package lists... Done
W: GPG error: http://www.debian-multimedia.org sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
/dev/pts/7
11:25:24
#apt-get update
Get:1 http://www.debian-multimedia.org sid Release.gpg [197B]
Get:2 http://www.debian-multimedia.org sid/main Translation-en_US [14B]
Get:3 http://10.0.35.1 sid Release.gpg [1032B]
Get:4 http://www.debian-multimedia.org sid Release [13.2kB]
Ign http://10.0.35.1 sid/main Translation-en_US
Ign http://www.debian-multimedia.org sid Release
Get:5 http://www.debian-multimedia.org sid/main Packages [56.3kB]
Get:6 http://10.0.35.1 sid Release [94.4kB]
Ign http://10.0.35.1 sid/main Packages/DiffIndex
Ign http://10.0.35.1 sid/main Packages
Get:7 http://10.0.35.1 sid/main Packages [7750kB]
Fetched 7916kB in 5s (1463kB/s)
Reading package lists... Done
W: GPG error: http://www.debian-multimedia.org sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
/dev/pts/8
11:25:40
#gpg --recv-key --keyserver wwwkeys.eu.pgp.net 07DC563D1F41B907
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 1F41B907 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 1F41B907: public key "Christian Marillat <marillat@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
/dev/pts/7
11:25:40
#gpg --recv-key --keyserver wwwkeys.eu.pgp.net 07DC563D1F41B907
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 1F41B907 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 1F41B907: public key "Christian Marillat <marillat@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
/dev/pts/8
11:27:12
#apt-key add
gpg: can't open `': No such file or directory
/dev/pts/7
11:27:12
#apt-key add
gpg: can't open `': No such file or directory
/dev/pts/8
11:27:53
#gpg --export 07DC563D1F41B907 | apt-key add -
OK
/dev/pts/7
11:27:53
#gpg --export 07DC563D1F41B907 | apt-key add -
OK
/dev/pts/8
11:28:31
#apt-get cache search lame
E: Invalid operation cache
/dev/pts/7
11:28:31
#apt-get cache search lame
E: Invalid operation cache
/dev/pts/8
11:28:54
#apt-cache search lame
caca-utils - text mode graphics utilities
cmt - Computer Music Toolkit (cmt) a collection of LADSPA plugins
cpufire-applet - GNOME panel applet showing the CPU load as a fire
darkice - Live audio streamer
electricsheep - screensaver showing collective dream of sleeping computers
flamerobin - graphical database administration tool for Firebird DBMS
flamethrower - Multicast file distribution utility
glame - versatile audio processor
hardware-monitor - Monitor applet for the Gnome panel
libavifile-0.7c2 - shared libraries for AVI read/writing
...
xscreensaver-gl-extra - GL(Mesa) screen hacks for xscreensaver
darkice-full - Live audio streamer
gstreamer0.10-lame - GStreamer lame plugins
lame - LAME Ain't an MP3 Encoder
libmp3lame-dev - LAME Ain't an MP3 Encoder
libmp3lame0 - LAME Ain't an MP3 Encoder
libogmrip-dev - Application for ripping and encoding DVD - development files
libogmrip0 - Application for ripping and encoding DVD - libraries files
ogmrip - Application for ripping and encoding DVD
ogmrip-doc - Application for ripping and encoding DVD - Documentation files
/dev/pts/7
11:28:54
#apt-cache search lame
caca-utils - text mode graphics utilities
cmt - Computer Music Toolkit (cmt) a collection of LADSPA plugins
cpufire-applet - GNOME panel applet showing the CPU load as a fire
darkice - Live audio streamer
electricsheep - screensaver showing collective dream of sleeping computers
flamerobin - graphical database administration tool for Firebird DBMS
flamethrower - Multicast file distribution utility
glame - versatile audio processor
hardware-monitor - Monitor applet for the Gnome panel
libavifile-0.7c2 - shared libraries for AVI read/writing
...
xscreensaver-gl-extra - GL(Mesa) screen hacks for xscreensaver
darkice-full - Live audio streamer
gstreamer0.10-lame - GStreamer lame plugins
lame - LAME Ain't an MP3 Encoder
libmp3lame-dev - LAME Ain't an MP3 Encoder
libmp3lame0 - LAME Ain't an MP3 Encoder
libogmrip-dev - Application for ripping and encoding DVD - development files
libogmrip0 - Application for ripping and encoding DVD - libraries files
ogmrip - Application for ripping and encoding DVD
ogmrip-doc - Application for ripping and encoding DVD - Documentation files
/dev/pts/8
11:29:02
#grep ^Package: /var/cache/apt/
apt-file/        archives/        pkgcache.bin     srcpkgcache.bin
/dev/pts/7
11:29:02
#grep ^Package: /var/cache/apt/
apt-file/        archives/        pkgcache.bin     srcpkgcache.bin
/dev/pts/8
11:29:02
#grep ^Package: /var/lib/apt/lists/
10.0.35.1:9999_debian_dists_sid_main_binary-i386_Packages                www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
10.0.35.1:9999_debian_dists_sid_Release                                  www.debian-multimedia.org_dists_sid_main_binary-i386_Packages.IndexDiff
10.0.35.1:9999_debian_dists_sid_Release.gpg                              www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS
lock                                                                     www.debian-multimedia.org_dists_sid_Release
partial/                                                                 www.debian-multimedia.org_dists_sid_Release.gpg
/dev/pts/7
11:29:02
#grep ^Package: /var/lib/apt/lists/
10.0.35.1:9999_debian_dists_sid_main_binary-i386_Packages                www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
10.0.35.1:9999_debian_dists_sid_Release                                  www.debian-multimedia.org_dists_sid_main_binary-i386_Packages.IndexDiff
10.0.35.1:9999_debian_dists_sid_Release.gpg                              www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS
lock                                                                     www.debian-multimedia.org_dists_sid_Release
partial/                                                                 www.debian-multimedia.org_dists_sid_Release.gpg
/dev/pts/8
11:29:02
#grep ^Package: /var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
Package: libavdevice-dev
Package: libavdevice52
Package: libavfilter-dev
Package: libavfilter0
Package: libavformat-dev
Package: libavformat52
Package: libavutil-dev
Package: libavutil50
Package: libdirac-dev
Package: libdirac0
...
Package: x264
Package: xcfa
Package: xdtv
Package: xdtv-dev
Package: xdvdshrink
Package: xvattr
Package: xvid4conf
Package: xvidcap
Package: xvidenc
Package: y4mscaler
/dev/pts/7
11:29:02
#grep ^Package: /var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
Package: libavdevice-dev
Package: libavdevice52
Package: libavfilter-dev
Package: libavfilter0
Package: libavformat-dev
Package: libavformat52
Package: libavutil-dev
Package: libavutil50
Package: libdirac-dev
Package: libdirac0
...
Package: x264
Package: xcfa
Package: xdtv
Package: xdtv-dev
Package: xdvdshrink
Package: xvattr
Package: xvid4conf
Package: xvidcap
Package: xvidenc
Package: y4mscaler
прошло 30 минут
/dev/pts/8
11:59:57
#grep ^Package: /var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_binary-i386_Packages | wc -l
244
/dev/pts/7
11:59:57
#grep ^Package: /var/lib/apt/lists/www.debian-multimedia.org_dists_sid_main_binary-i386_Packages | wc -l
244
/dev/pts/8
12:00:03
#traceroute www.expres-bank.ua
traceroute to www.expres-bank.ua (62.149.18.190), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  1.612 ms  1.839 ms  2.044 ms
 2  10.0.35.1 (10.0.35.1)  0.176 ms  0.143 ms  0.176 ms
 3  192.168.70.1 (192.168.70.1)  7.520 ms  43.515 ms  43.471 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  43.433 ms  43.406 ms  43.367 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  43.320 ms  43.300 ms  43.267 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  43.220 ms  43.116 ms  43.090 ms
 7  colocall-10G-gw.ix.net.ua (195.35.65.14)  125.441 ms  123.766 ms  199.575 ms
 8  athena.colocall.net (62.149.2.108)  19.513 ms  18.375 ms  18.330 ms
 9  * * *
...
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  *^C
/dev/pts/7
12:00:03
#traceroute www.expres-bank.ua
traceroute to www.expres-bank.ua (62.149.18.190), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  1.612 ms  1.839 ms  2.044 ms
 2  10.0.35.1 (10.0.35.1)  0.176 ms  0.143 ms  0.176 ms
 3  192.168.70.1 (192.168.70.1)  7.520 ms  43.515 ms  43.471 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  43.433 ms  43.406 ms  43.367 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  43.320 ms  43.300 ms  43.267 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  43.220 ms  43.116 ms  43.090 ms
 7  colocall-10G-gw.ix.net.ua (195.35.65.14)  125.441 ms  123.766 ms  199.575 ms
 8  athena.colocall.net (62.149.2.108)  19.513 ms  18.375 ms  18.330 ms
 9  * * *
...
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  *^C
/dev/pts/8
12:01:48
#man traceroute
/dev/pts/7
12:01:48
#man traceroute
12:02:16
#traceroute -T www.expres-bank.ua
traceroute to www.expres-bank.ua (62.149.18.190), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.814 ms  1.078 ms  1.285 ms
 2  10.0.35.1 (10.0.35.1)  0.157 ms  0.148 ms  0.158 ms
 3  192.168.70.1 (192.168.70.1)  6.213 ms  19.214 ms  19.184 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  19.137 ms  19.103 ms  19.089 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  19.106 ms  19.111 ms  19.098 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  18.965 ms  18.926 ms  18.864 ms
 7  colocall-10G-gw.ix.net.ua (195.35.65.14)  163.840 ms  199.418 ms  199.314 ms
 8  athena.colocall.net (62.149.2.108)  16.591 ms  20.607 ms  15.140 ms
 9  ekonom4.hostsila.com (62.149.18.190)  21.930 ms  21.276 ms  21.158 ms
/dev/pts/8
12:02:16
#traceroute -T www.expres-bank.ua
traceroute to www.expres-bank.ua (62.149.18.190), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.814 ms  1.078 ms  1.285 ms
 2  10.0.35.1 (10.0.35.1)  0.157 ms  0.148 ms  0.158 ms
 3  192.168.70.1 (192.168.70.1)  6.213 ms  19.214 ms  19.184 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  19.137 ms  19.103 ms  19.089 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  19.106 ms  19.111 ms  19.098 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  18.965 ms  18.926 ms  18.864 ms
 7  colocall-10G-gw.ix.net.ua (195.35.65.14)  163.840 ms  199.418 ms  199.314 ms
 8  athena.colocall.net (62.149.2.108)  16.591 ms  20.607 ms  15.140 ms
 9  ekonom4.hostsila.com (62.149.18.190)  21.930 ms  21.276 ms  21.158 ms
12:02:23
#traceroute -T crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.828 ms  1.046 ms  1.232 ms
 2  10.0.35.1 (10.0.35.1)  0.150 ms  0.134 ms  0.182 ms
 3  192.168.70.1 (192.168.70.1)  5.693 ms  17.449 ms  17.418 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  17.383 ms  17.333 ms  17.298 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  17.326 ms  17.342 ms  17.313 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  17.200 ms  17.133 ms  17.071 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  16.962 ms  15.956 ms  15.843 ms
 8  195.3.245.137 (195.3.245.137)  26.073 ms  30.256 ms  63.324 ms
 9  193.238.110.93 (193.238.110.93)  63.230 ms  62.685 ms  62.571 ms
10  193.238.109.57 (193.238.109.57)  62.467 ms  62.396 ms  62.346 ms
11  crimea-board.info (193.238.109.9)  288.075 ms  288.051 ms  287.994 ms
/dev/pts/7
12:02:23
#traceroute -T crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.828 ms  1.046 ms  1.232 ms
 2  10.0.35.1 (10.0.35.1)  0.150 ms  0.134 ms  0.182 ms
 3  192.168.70.1 (192.168.70.1)  5.693 ms  17.449 ms  17.418 ms
 4  ip.194.150.93.65.veer.net.ua (194.150.93.65)  17.383 ms  17.333 ms  17.298 ms
 5  uplink-uaix.veer.net.ua (194.150.92.14)  17.326 ms  17.342 ms  17.313 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  17.200 ms  17.133 ms  17.071 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  16.962 ms  15.956 ms  15.843 ms
 8  195.3.245.137 (195.3.245.137)  26.073 ms  30.256 ms  63.324 ms
 9  193.238.110.93 (193.238.110.93)  63.230 ms  62.685 ms  62.571 ms
10  193.238.109.57 (193.238.109.57)  62.467 ms  62.396 ms  62.346 ms
11  crimea-board.info (193.238.109.9)  288.075 ms  288.051 ms  287.994 ms
/dev/pts/8
12:03:05
#netselect
bash: netselect: command not found
/dev/pts/7
12:03:05
#netselect
bash: netselect: command not found
/dev/pts/8
12:03:20
#apt-get install netselect
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  netselect-apt
The following NEW packages will be installed:
  netselect
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 24.4kB of archives.
After this operation, 69.6kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main netselect 0.3.ds1-12.1 [24.4kB]
Fetched 24.4kB in 0s (1441kB/s)
Preconfiguring packages ...
Selecting previously deselected package netselect.
(Reading database ... 44841 files and directories currently installed.)
Unpacking netselect (from .../netselect_0.3.ds1-12.1_i386.deb) ...
Processing triggers for man-db ...
Setting up netselect (0.3.ds1-12.1) ...
/dev/pts/7
12:03:20
#apt-get install netselect
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  netselect-apt
The following NEW packages will be installed:
  netselect
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 24.4kB of archives.
After this operation, 69.6kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main netselect 0.3.ds1-12.1 [24.4kB]
Fetched 24.4kB in 0s (1441kB/s)
Preconfiguring packages ...
Selecting previously deselected package netselect.
(Reading database ... 44841 files and directories currently installed.)
Unpacking netselect (from .../netselect_0.3.ds1-12.1_i386.deb) ...
Processing triggers for man-db ...
Setting up netselect (0.3.ds1-12.1) ...
/dev/pts/8
12:04:50
#apt-get install netselect-apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  netselect-apt
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 9454B of archives.
After this operation, 20.5kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main netselect-apt 0.3.ds1-12.1 [9454B]
Fetched 9454B in 0s (682kB/s)
Selecting previously deselected package netselect-apt.
(Reading database ... 44851 files and directories currently installed.)
Unpacking netselect-apt (from .../netselect-apt_0.3.ds1-12.1_all.deb) ...
Processing triggers for man-db ...
Setting up netselect-apt (0.3.ds1-12.1) ...
/dev/pts/7
12:04:50
#apt-get install netselect-apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  netselect-apt
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 9454B of archives.
After this operation, 20.5kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main netselect-apt 0.3.ds1-12.1 [9454B]
Fetched 9454B in 0s (682kB/s)
Selecting previously deselected package netselect-apt.
(Reading database ... 44851 files and directories currently installed.)
Unpacking netselect-apt (from .../netselect-apt_0.3.ds1-12.1_all.deb) ...
Processing triggers for man-db ...
Setting up netselect-apt (0.3.ds1-12.1) ...
/dev/pts/8
12:05:05
#netselect --help
netselect: invalid option -- '-'
Usage: netselect [-v|-vv|-vvv] [-m max_ttl] [-s servers] [-t min_tries] host ...
/dev/pts/7
12:05:05
#netselect --help
netselect: invalid option -- '-'
Usage: netselect [-v|-vv|-vvv] [-m max_ttl] [-s servers] [-t min_tries] host ...
/dev/pts/8
12:05:12
#man netselect
/dev/pts/7
12:05:12
#man netselect
/dev/pts/8
12:05:35
#man apt-get
/dev/pts/7
12:05:35
#man apt-get
/dev/pts/8
12:13:25
#man DEBCONF
/dev/pts/7
12:13:25
#man DEBCONF
/dev/pts/8
12:22:09
#man 7 DEBCONF
/dev/pts/7
12:22:09
#man 7 DEBCONF
/dev/pts/8
12:22:12
#man DEBCONF
/dev/pts/7
12:22:12
#man DEBCONF
/dev/pts/8
12:22:21
#man 7 debconf-devel
/dev/pts/7
12:22:21
#man 7 debconf-devel
/dev/pts/8
12:22:32
#DEBIAN_FRONEND=lineedit dpkg-reconfigure locales
 │                                                                                                                                                                 │
 │ Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other character sets may be useful for  │
 │ backwards compatibility with older systems and software.                                                                                                        │
 │                                                                                                                                                                 │
 │ Locales to be generated:                                                                                                                                        │
 │                                                                                                                                                                 │
 │  [ ] All locales                                                                                                                                            ↑   │
 │    [ ] aa_DJ ISO-8859-1                                                                                                                                     ▮   │
 │    [ ] aa_DJ.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] aa_ER UTF-8                                                                                                                                          ▒   │
...
 │    [ ] ar_KW.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] ar_LB ISO-8859-6                                                                                                                                     ▒   │
 │    [ ] ar_LB.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] ar_LY ISO-8859-6                                                                                                                                     ▒   │
 │    [ ] ar_LY.UTF-8 UTF-8                                                                                                                                    ↓   │
 │                                                                                                                                                                 │
 │                                                                                                                                                                 │
 │                                              <Ok>k>                                                  <Cancel>l>                                                 │
 │                                                                                                                                                                 │
 └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────â”
/dev/pts/7
12:22:32
#DEBIAN_FRONEND=lineedit dpkg-reconfigure locales
 │                                                                                                                                                                 │
 │ Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other character sets may be useful for  │
 │ backwards compatibility with older systems and software.                                                                                                        │
 │                                                                                                                                                                 │
 │ Locales to be generated:                                                                                                                                        │
 │                                                                                                                                                                 │
 │  [ ] All locales                                                                                                                                            ↑   │
 │    [ ] aa_DJ ISO-8859-1                                                                                                                                     ▮   │
 │    [ ] aa_DJ.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] aa_ER UTF-8                                                                                                                                          ▒   │
...
 │    [ ] ar_KW.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] ar_LB ISO-8859-6                                                                                                                                     ▒   │
 │    [ ] ar_LB.UTF-8 UTF-8                                                                                                                                    ▒   │
 │    [ ] ar_LY ISO-8859-6                                                                                                                                     ▒   │
 │    [ ] ar_LY.UTF-8 UTF-8                                                                                                                                    ↓   │
 │                                                                                                                                                                 │
 │                                                                                                                                                                 │
 │                                              <Ok>k>                                                  <Cancel>l>                                                 │
 │                                                                                                                                                                 │
 └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────â”
/dev/pts/8
12:29:12
#DEBIAN_FRONTEND=lineedit dpkg-reconfigure locales
debconf: unable to initialize frontend: Lineedit
debconf: (Can't locate Debconf/FrontEnd/Lineedit.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 22) line 2.)
debconf: falling back to frontend: Noninteractive
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.CP1251... done
  ru_UA.UTF-8... done
  uk_UA.UTF-8... done
Generation complete.
/dev/pts/7
12:29:12
#DEBIAN_FRONTEND=lineedit dpkg-reconfigure locales
debconf: unable to initialize frontend: Lineedit
debconf: (Can't locate Debconf/FrontEnd/Lineedit.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 22) line 2.)
debconf: falling back to frontend: Noninteractive
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.CP1251... done
  ru_UA.UTF-8... done
  uk_UA.UTF-8... done
Generation complete.
/dev/pts/8
12:29:39
#DEBIAN_FRONTEND=editline dpkg-reconfigure locales
debconf: unable to initialize frontend: Editline
debconf: (Can't locate Debconf/FrontEnd/Editline.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 22) line 2.)
debconf: falling back to frontend: Noninteractive
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.CP1251... done
  ru_UA.UTF-8... done
  uk_UA.UTF-8... done
Generation complete.
/dev/pts/7
12:29:39
#DEBIAN_FRONTEND=editline dpkg-reconfigure locales
debconf: unable to initialize frontend: Editline
debconf: (Can't locate Debconf/FrontEnd/Editline.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 22) line 2.)
debconf: falling back to frontend: Noninteractive
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.CP1251... done
  ru_UA.UTF-8... done
  uk_UA.UTF-8... done
Generation complete.
/dev/pts/8
12:30:24
#DEBIAN_FRONTEND=readline dpkg-reconfigure locales
Configuring locales
-------------------
Locales are a framework to switch between multiple languages and allow users to use their language, country, characters, collation order, etc.
Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other character sets may be useful for
backwards compatibility with older systems and software.
  1. All locales                  108. en_AU ISO-8859-1               215. ga_IE ISO-8859-1           322. pa_PK UTF-8
  2. aa_DJ ISO-8859-1             109. en_AU.UTF-8 UTF-8              216. ga_IE.UTF-8 UTF-8          323. pap_AN UTF-8
  3. aa_DJ.UTF-8 UTF-8            110. en_BW ISO-8859-1               217. ga_IE@euro ISO-8859-15     324. pl_PL ISO-8859-2
  4. aa_ER UTF-8                  111. en_BW.UTF-8 UTF-8              218. gd_GB ISO-8859-15          325. pl_PL.UTF-8 UTF-8
  5. aa_ER@saaho UTF-8            112. en_CA ISO-8859-1               219. gd_GB.UTF-8 UTF-8          326. pt_BR ISO-8859-1
...
Locales to be generated: 338 135
Many packages in Debian use locales to display text in the correct language for the user. You can choose a default locale for the system from the generated locales.
This will select the default language for the entire system. If this system is a multi-user system where not all users are able to speak the default language, they
will experience difficulties.
  1. None  2. en_US.UTF-8  3. ru_UA.UTF-8
Default locale for the system environment: 2
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_UA.UTF-8... done
Generation complete.
/dev/pts/7
12:30:24
#DEBIAN_FRONTEND=readline dpkg-reconfigure locales
Configuring locales
-------------------
Locales are a framework to switch between multiple languages and allow users to use their language, country, characters, collation order, etc.
Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new installations. Other character sets may be useful for
backwards compatibility with older systems and software.
  1. All locales                  108. en_AU ISO-8859-1               215. ga_IE ISO-8859-1           322. pa_PK UTF-8
  2. aa_DJ ISO-8859-1             109. en_AU.UTF-8 UTF-8              216. ga_IE.UTF-8 UTF-8          323. pap_AN UTF-8
  3. aa_DJ.UTF-8 UTF-8            110. en_BW ISO-8859-1               217. ga_IE@euro ISO-8859-15     324. pl_PL ISO-8859-2
  4. aa_ER UTF-8                  111. en_BW.UTF-8 UTF-8              218. gd_GB ISO-8859-15          325. pl_PL.UTF-8 UTF-8
  5. aa_ER@saaho UTF-8            112. en_CA ISO-8859-1               219. gd_GB.UTF-8 UTF-8          326. pt_BR ISO-8859-1
...
Locales to be generated: 338 135
Many packages in Debian use locales to display text in the correct language for the user. You can choose a default locale for the system from the generated locales.
This will select the default language for the entire system. If this system is a multi-user system where not all users are able to speak the default language, they
will experience difficulties.
  1. None  2. en_US.UTF-8  3. ru_UA.UTF-8
Default locale for the system environment: 2
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_UA.UTF-8... done
Generation complete.
/dev/pts/8
12:32:22
#DEBIAN_PRIORITY=low dpkg-reconfigure console-cyrillic

/dev/pts/7
12:32:22
#DEBIAN_PRIORITY=low dpkg-reconfigure console-cyrillic

/dev/pts/8
12:33:40
#Package configuration
Cyrillic on Console
-------------------
Please enter a space delimited list of virtual consoles you use. The usual Unix filename wildcards are allowed (*, ? and [...]).
If you are unsure, then use the default /dev/tty[1-6], it is for six virtual consoles. If you use devfs, then enter /dev/vc/[1-6] instead.
What virtual consoles do you use? *
Please choose the keyboard layout to load at boot time.
  1. Belarusian     3. Bulgarian phonetic  5. Kazakh with letter IO  7. Mongolian  9. Russian Winkeys  11. Ukrainian
  2. Bulgarian BDS  4. Kazakh              6. Macedonian             8. Russian    10. Serbian         12. Ukrainian Winkeys
Choose the keyboard layout 8
How you will toggle between Cyrillic and Latin characters? Several possibilities are available.
...
If you live in Macedonia or Serbia and Montenegro, then ISO-8859-5 is for you.
If you live in Bulgaria or Belarus, then choose CP1251.
If you live in Kazakhstan or Mongolia, then choose UNICODE, PT154 or RK1048.
CP1251 is used in MS Windows and OS/2. MAC-CYRILLIC is used in the operating systems of Apple Computers. CP866 is Russian encoding for DOS. MIK is Bulgarian encoding
for DOS.
  1. UNICODE  2. CP866  3. CP1251  4. ISO-8859-5  5. KOI8-R  6. KOI8-U  7. MAC-CYRILLIC  8. MIK  9. PT154  10. RK1048
What is your encoding? 1
If you accept, the package console-cyrilic will setup Cyrillic on the console at boot-time.
Otherwise, refuse if you don't use Cyrillic the whole time or if for some reason you want to use the console setup by console-data package.
Do you want to setup Cyrillic on the console at boot-time? yes
/dev/pts/7
12:33:40
#Package configuration
Cyrillic on Console
-------------------
Please enter a space delimited list of virtual consoles you use. The usual Unix filename wildcards are allowed (*, ? and [...]).
If you are unsure, then use the default /dev/tty[1-6], it is for six virtual consoles. If you use devfs, then enter /dev/vc/[1-6] instead.
What virtual consoles do you use? *
Please choose the keyboard layout to load at boot time.
  1. Belarusian     3. Bulgarian phonetic  5. Kazakh with letter IO  7. Mongolian  9. Russian Winkeys  11. Ukrainian
  2. Bulgarian BDS  4. Kazakh              6. Macedonian             8. Russian    10. Serbian         12. Ukrainian Winkeys
Choose the keyboard layout 8
How you will toggle between Cyrillic and Latin characters? Several possibilities are available.
...
If you live in Macedonia or Serbia and Montenegro, then ISO-8859-5 is for you.
If you live in Bulgaria or Belarus, then choose CP1251.
If you live in Kazakhstan or Mongolia, then choose UNICODE, PT154 or RK1048.
CP1251 is used in MS Windows and OS/2. MAC-CYRILLIC is used in the operating systems of Apple Computers. CP866 is Russian encoding for DOS. MIK is Bulgarian encoding
for DOS.
  1. UNICODE  2. CP866  3. CP1251  4. ISO-8859-5  5. KOI8-R  6. KOI8-U  7. MAC-CYRILLIC  8. MIK  9. PT154  10. RK1048
What is your encoding? 1
If you accept, the package console-cyrilic will setup Cyrillic on the console at boot-time.
Otherwise, refuse if you don't use Cyrillic the whole time or if for some reason you want to use the console setup by console-data package.
Do you want to setup Cyrillic on the console at boot-time? yes
/dev/pts/8
12:37:44
#cat create_users
#!/bin/bash
> ./user_list
zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username
do
pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1`
useradd -m $username >& /dev/null
( echo $pass ; echo $pass ) | passwd $username >& /dev/null
echo $username $pass >> ./user_list
echo 'User '$username' created'
done
/dev/pts/7
12:37:44
#cat create_users
#!/bin/bash
> ./user_list
zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username
do
pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1`
useradd -m $username >& /dev/null
( echo $pass ; echo $pass ) | passwd $username >& /dev/null
echo $username $pass >> ./user_list
echo 'User '$username' created'
done
/dev/pts/8
12:37:54
#cat del_users
#!/bin/bash
cat ./user_list | awk '{print $1}' | while read username
do
userdel -rf $username >& /dev/null
echo 'User '$username' deleted'
done
> ./user_list
/dev/pts/7
12:37:54
#cat del_users
#!/bin/bash
cat ./user_list | awk '{print $1}' | while read username
do
userdel -rf $username >& /dev/null
echo 'User '$username' deleted'
done
> ./user_list
/dev/pts/8
12:38:32
#apt-get install approx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  openbsd-inetd update-inetd
The following NEW packages will be installed:
  approx openbsd-inetd update-inetd
0 upgraded, 3 newly installed, 0 to remove and 22 not upgraded.
Need to get 1102kB/1119kB of archives.
After this operation, 3039kB of additional disk space will be used.
...
Selecting previously deselected package openbsd-inetd.
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20080125-2_i386.deb) ...
Selecting previously deselected package approx.
Unpacking approx (from .../archives/approx_4.0-1_i386.deb) ...
Processing triggers for man-db ...
Setting up update-inetd (4.31) ...
Setting up openbsd-inetd (0.20080125-2) ...
Stopping internet superserver: inetd.
Not starting internet superserver: no services enabled.
Setting up approx (4.0-1) ...
/dev/pts/7
12:38:32
#apt-get install approx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  openbsd-inetd update-inetd
The following NEW packages will be installed:
  approx openbsd-inetd update-inetd
0 upgraded, 3 newly installed, 0 to remove and 22 not upgraded.
Need to get 1102kB/1119kB of archives.
After this operation, 3039kB of additional disk space will be used.
...
Selecting previously deselected package openbsd-inetd.
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20080125-2_i386.deb) ...
Selecting previously deselected package approx.
Unpacking approx (from .../archives/approx_4.0-1_i386.deb) ...
Processing triggers for man-db ...
Setting up update-inetd (4.31) ...
Setting up openbsd-inetd (0.20080125-2) ...
Stopping internet superserver: inetd.
Not starting internet superserver: no services enabled.
Setting up approx (4.0-1) ...
/dev/pts/8
12:39:36
#dpkg -L appox | grep conf
Package `appox' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/dev/pts/7
12:39:36
#dpkg -L appox | grep conf
Package `appox' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/dev/pts/8
12:39:50
#dpkg -L approx | grep conf
/usr/share/man/man5/approx.conf.5.gz
/etc/approx/approx.conf
/dev/pts/7
12:39:50
#dpkg -L approx | grep conf
/usr/share/man/man5/approx.conf.5.gz
/etc/approx/approx.conf
/dev/pts/8
12:40:07
#vi /etc/approx/approx.conf
--- /tmp/l3-saved-3447.16802.18340	2009-05-29 12:40:18.000000000 +0300
+++ /etc/approx/approx.conf	2009-05-29 12:41:59.000000000 +0300
@@ -1,7 +1,7 @@
 # Here are some examples of remote repository mappings.
 # See http://www.debian.org/mirror/list for mirror sites.
 
-#debian		http://ftp.debian.org/debian
+debian		http://10.0.35.1:9999/debian
 #security	http://security.debian.org/debian-security
 #volatile	http://volatile.debian.org/debian-volatile
 
/dev/pts/7
12:40:07
#vi /etc/approx/approx.conf
/dev/pts/8
12:42:59
#apt-get install openbsd-inetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
openbsd-inetd is already the newest version.
openbsd-inetd set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/dev/pts/7
12:42:59
#apt-get install openbsd-inetd
Reading package lists... Done
Building dependency tree
Reading state information... Done
openbsd-inetd is already the newest version.
openbsd-inetd set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/dev/pts/8
12:44:48
#/etc/init.d/openbsd-inetd restart
Restarting internet superserver: inetd.
/dev/pts/7
12:44:48
#/etc/init.d/openbsd-inetd restart
Restarting internet superserver: inetd.
/dev/pts/8
12:45:21
#apt-get update
Hit http://www.debian-multimedia.org sid Release.gpg
Hit http://www.debian-multimedia.org sid/main Translation-en_US
Get:1 http://127.0.0.1 sid Release.gpg [1032B]
Hit http://www.debian-multimedia.org sid Release
Hit http://www.debian-multimedia.org sid/main Packages/DiffIndex
Ign http://127.0.0.1 sid/main Translation-en_US
Get:2 http://127.0.0.1 sid Release [94.4kB]
Ign http://127.0.0.1 sid/main Packages
Get:3 http://127.0.0.1 sid/main Packages [7751kB]
Fetched 7846kB in 7s (1117kB/s)
Reading package lists... Done
/dev/pts/7
12:45:21
#apt-get update
Hit http://www.debian-multimedia.org sid Release.gpg
Hit http://www.debian-multimedia.org sid/main Translation-en_US
Get:1 http://127.0.0.1 sid Release.gpg [1032B]
Hit http://www.debian-multimedia.org sid Release
Hit http://www.debian-multimedia.org sid/main Packages/DiffIndex
Ign http://127.0.0.1 sid/main Translation-en_US
Get:2 http://127.0.0.1 sid Release [94.4kB]
Ign http://127.0.0.1 sid/main Packages
Get:3 http://127.0.0.1 sid/main Packages [7751kB]
Fetched 7846kB in 7s (1117kB/s)
Reading package lists... Done
/dev/pts/8
12:45:40
#ls /var/lib/apt/lists/
127.0.0.1:9999_debian_dists_sid_main_binary-i386_Packages  www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
127.0.0.1:9999_debian_dists_sid_Release                    www.debian-multimedia.org_dists_sid_main_binary-i386_Packages.IndexDiff
127.0.0.1:9999_debian_dists_sid_Release.gpg                www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS
lock                                                       www.debian-multimedia.org_dists_sid_Release
partial                                                    www.debian-multimedia.org_dists_sid_Release.gpg
/dev/pts/7
12:45:40
#ls /var/lib/apt/lists/
127.0.0.1:9999_debian_dists_sid_main_binary-i386_Packages  www.debian-multimedia.org_dists_sid_main_binary-i386_Packages
127.0.0.1:9999_debian_dists_sid_Release                    www.debian-multimedia.org_dists_sid_main_binary-i386_Packages.IndexDiff
127.0.0.1:9999_debian_dists_sid_Release.gpg                www.debian-multimedia.org_dists_sid_main_i18n_Translation-en%5fUS
lock                                                       www.debian-multimedia.org_dists_sid_Release
partial                                                    www.debian-multimedia.org_dists_sid_Release.gpg
/dev/pts/8
12:46:16
#mkdir /tmp/deb

/dev/pts/7
12:46:16
#mkdir /tmp/deb

прошло 84 минуты
/dev/pts/8
14:10:39
#debootstrap --help
bash: debootstrap: command not found
/dev/pts/7
14:10:39
#debootstrap --help
bash: debootstrap: command not found
14:11:10
#apt-get install debootstrap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  debootstrap
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 53.5kB of archives.
After this operation, 266kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main debootstrap 1.0.13 [53.5kB]
Fetched 53.5kB in 0s (637kB/s)
Selecting previously deselected package debootstrap.
(Reading database ... 44891 files and directories currently installed.)
Unpacking debootstrap (from .../debootstrap_1.0.13_all.deb) ...
Processing triggers for man-db ...
Setting up debootstrap (1.0.13) ...
/dev/pts/8
14:11:10
#apt-get install debootstrap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  debootstrap
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 53.5kB of archives.
After this operation, 266kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main debootstrap 1.0.13 [53.5kB]
Fetched 53.5kB in 0s (637kB/s)
Selecting previously deselected package debootstrap.
(Reading database ... 44891 files and directories currently installed.)
Unpacking debootstrap (from .../debootstrap_1.0.13_all.deb) ...
Processing triggers for man-db ...
Setting up debootstrap (1.0.13) ...
14:11:39
#debootstrap --help
Usage: debootstrap [OPTION]... <suite> <target> [<mirror> [<script>]]
Bootstrap Debian base system.
      --help                 display this help and exit
      --version              display version information and exit
      --verbose              don't turn off the output of wget
      --download-only        download packages, but don't perform installation
      --print-debs           print the packages to be installed, and exit
      --arch=A               set the target architecture (use if no dpkg)
                               [ --arch=powerpc ]
      --include=A,B,C        adds specified names to the list of base packages
...
      --keyring=K            check Release files against keyring K
      --no-resolve-deps      don't try to resolve dependencies automatically
      --unpack-tarball=T     acquire .debs from a tarball instead of http
      --make-tarball=T       download .debs and create a tarball (tgz format)
      --second-stage-target=DIR
                             Run second stage in a subdirectory instead of root
                               (can be used to create a foreign chroot)
                               (requires --second-stage)
      --boot-floppies        used for internal purposes by boot-floppies
      --debian-installer     used for internal purposes by debian-installer

Файлы

  • /etc/apt/sources.list
  • create_users
  • del_users
  • /etc/apt/sources.list
    >
    deb http://10.0.35.1:9999/debian sid main
    
    create_users
    >
    #!/bin/bash
    > ./user_list
    zcat /usr/share/dict/propernames.gz | tr A-Z a-z | head -200 | while read username
    do
    pass=`cat /dev/urandom | tr -cd 0-9A-Za-z'\n' | grep ........ | awk '{print substr($0,1,8)}' | head -1`
    useradd -m $username >& /dev/null
    ( echo $pass ; echo $pass ) | passwd $username >& /dev/null
    echo $username $pass >> ./user_list
    echo 'User '$username' created'
    done
    
    del_users
    >
    #!/bin/bash
    cat ./user_list | awk '{print $1}' | while read username
    do
    userdel -rf $username >& /dev/null
    echo 'User '$username' deleted'
    done
    > ./user_list
    

    Статистика

    Время первой команды журнала10:53:55 2009- 5-29
    Время последней команды журнала14:11:39 2009- 5-29
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %17.82
    Процент синтаксически неверно набранных команд, % 3.96
    Суммарное время работы с терминалом *, час 1.37
    Количество командных строк в единицу времени, команда/мин 1.23
    Частота использования команд
    apt-get16|==============| 14.41%
    man14|============| 12.61%
    grep14|============| 12.61%
    traceroute6|=====| 5.41%
    cat6|=====| 5.41%
    dpkg4|===| 3.60%
    dig4|===| 3.60%
    apt-key4|===| 3.60%
    debsums4|===| 3.60%
    gpg4|===| 3.60%
    netselect4|===| 3.60%
    apt-cache4|===| 3.60%
    debootstrap3|==| 2.70%
    Package2|=| 1.80%
    mkdir2|=| 1.80%
    DEBIAN_FRONTEND=editline2|=| 1.80%
    DEBIAN_FRONTEND=readline2|=| 1.80%
    DEBIAN_FRONEND=lineedit2|=| 1.80%
    /etc/init.d/openbsd-inetd2|=| 1.80%
    DEBIAN_FRONTEND=lineedit2|=| 1.80%
    DEBIAN_PRIORITY=low2|=| 1.80%
    wc2|=| 1.80%
    vi2|=| 1.80%
    ls2|=| 1.80%
    ssh2|=| 1.80%
    ____
    *) Интервалы неактивности длительностью 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$