/l3/users/2014-11-nt-voip/nt-voip/debian5/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 |
|
#(02
> (02:53:00 PM) user5: пару раз пришлось ос bash: syntax error near unexpected token `user5:' |
#(02:54:06 PM) user8: уже побежало
bash: syntax error near unexpected token `user8:' |
#(02:55:19 PM) user8: http://xgu.cc/nt-voip-2014-nov
bash: syntax error near unexpected token `user8:' |
#(02:57:13 PM) user0: файл лежит в /tmp/1.sql
bash: syntax error near unexpected token `user0:' |
#(02:57
> Enter password: > ERROR 1008 (HY000) at line 2: Can't drop bash: syntax error near unexpected token `(' |
#[root@debian8:~]#
bash: [root@debian8:~]#: command not found |
#(02:59:38 PM) user8: нам строка drop database asterisk;
bash: syntax error near unexpected token `user8:' |
#не нужна
bash: $'\320\275\320\265': command not found |
#Ð(02:59:41 PM) user8: ее на
bash: syntax error near unexpected token `02:59:41' |
#(03:06:43 PM) user
bash: syntax error near unexpected token `user' |
#(03:14:42 PM) user0: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
bash: syntax error near unexpected token `user0:' |
#on asterisk.*
bash: on: command not found |
#to 'asterisk'@'localhost';
bash: to: command not found |
#(03:15:14 PM) user0: SET PASSWORD FOR 'aster
bash: syntax error near unexpected token `user0:' |
#(03:17:06 PM) user5: мы без сикв
bash: syntax error near unexpected token `user5:' |
#Ð(03:19:53 PM) user0:
bash: syntax error near unexpected token `03:19:53' |
#Ð(03:20:21 PM) user0: на маÑина
bash: syntax error near unexpected token `03:20:21' |
#(03:20:44 PM) user6: вообще астериск вылетел
bash: syntax error near unexpected token `user6:' |
#(03:23:06 PM) engineer1 left the room.
bash: syntax error near unexpected token `engineer1' |
#(03:23:11 P
> (03:23:30 PM) user8: vi /etc/asterisk/cdr.conf bash: syntax error near unexpected token `user8:' |
#[
bash: [: missing `]' |
#enable=yes
|
#vi /etc/asterisk/cdr_mysql.conf
|
# 66
|
#43 PM) user
cp /usr/share/asterisk/ agi-bin/ documentation/ keys/ sounds/ conf/ firmware/ moh/ static-http/ |
#cp /usr/share/asterisk/
agi-bin/ documentation/ keys/ sounds/ conf/ firmware/ moh/ static-http/ |
#cd /usr/src/
|
#ls
asterisk-13-current.tar.gz dahdi-linux dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.63-2+deb7u1_amd64.deb dahdi.tar.bz2 dahdi-tools linux linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2 linux-OLDVERSION.1417167528 modules vpb-driver.tar.bz2 |
#tar xfz asterisk-13-current.tar.gz
|
#ls
asterisk-13.0.1 asterisk-13-current.tar.gz dahdi-linux dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.63-2+deb7u1_amd64.deb dahdi.tar.bz2 dahdi-tools linux linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2 linux-OLDVERSION.1417167528 modules vpb-driver.tar.bz2 |
#./configure
bash: ./configure: No such file or directory |
#cd asterisk-13
bash: cd: asterisk-13: No such file or directory |
#ls
asterisk-13.0.1 asterisk-13-current.tar.gz dahdi-linux dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.63-2+deb7u1_amd64.deb dahdi.tar.bz2 dahdi-tools linux linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2 linux-OLDVERSION.1417167528 modules vpb-driver.tar.bz2 |
#ls -l
total 37248 drwxr-xr-x 31 root root 4096 Nov 20 19:49 asterisk-13.0.1 -rw-r--r-- 1 root root 31832204 Nov 28 16:43 asterisk-13-current.tar.gz drwxr-xr-x 6 root root 4096 Nov 28 11:40 dahdi-linux -rw-r--r-- 1 root root 5366202 Nov 26 14:10 dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.63-2+deb7u1_amd64.deb -rw-r--r-- 1 root root 843676 Jan 30 2013 dahdi.tar.bz2 drwxr-xr-x 8 root root 4096 Nov 28 12:01 dahdi-tools lrwxrwxrwx 1 root root 36 Nov 28 11:38 linux -> /usr/src/linux-headers-3.2.0-4-amd64 drwxr-xr-x 4 root root 4096 Nov 26 14:09 linux-headers-3.2.0-4-amd64 drwxr-xr-x 4 root root 4096 Nov 26 14:09 linux-headers-3.2.0-4-common lrwxrwxrwx 1 root root 23 Jun 24 2012 linux-kbuild-3.2 -> ../lib/linux-kbuild-3.2 lrwxrwxrwx 1 root root 27 Nov 26 14:09 linux-OLDVERSION.1417167528 -> linux-headers-3.2.0-4-amd64 drwxr-xr-x 3 root root 4096 Jan 30 2013 modules -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
#cd asterisk-13
bash: cd: asterisk-13: No such file or directory |
#cd /asterisk-13
bash: cd: /asterisk-13: No such file or directory |
#ls -ls
total 37248 4 drwxr-xr-x 31 root root 4096 Nov 20 19:49 asterisk-13.0.1 31088 -rw-r--r-- 1 root root 31832204 Nov 28 16:43 asterisk-13-current.tar.gz 4 drwxr-xr-x 6 root root 4096 Nov 28 11:40 dahdi-linux 5244 -rw-r--r-- 1 root root 5366202 Nov 26 14:10 dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.63-2+deb7u1_amd64.deb 824 -rw-r--r-- 1 root root 843676 Jan 30 2013 dahdi.tar.bz2 4 drwxr-xr-x 8 root root 4096 Nov 28 12:01 dahdi-tools 0 lrwxrwxrwx 1 root root 36 Nov 28 11:38 linux -> /usr/src/linux-headers-3.2.0-4-amd64 4 drwxr-xr-x 4 root root 4096 Nov 26 14:09 linux-headers-3.2.0-4-amd64 4 drwxr-xr-x 4 root root 4096 Nov 26 14:09 linux-headers-3.2.0-4-common 0 lrwxrwxrwx 1 root root 23 Jun 24 2012 linux-kbuild-3.2 -> ../lib/linux-kbuild-3.2 0 lrwxrwxrwx 1 root root 27 Nov 26 14:09 linux-OLDVERSION.1417167528 -> linux-headers-3.2.0-4-amd64 4 drwxr-xr-x 3 root root 4096 Jan 30 2013 modules 68 -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
#cd asterisk-13
asterisk-13.0.1/ asterisk-13-current.tar.gz |
#cd asterisk-13.0.1/
|
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) |
#apt-get install libjansson-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libjansson4 The following NEW packages will be installed: libjansson-dev libjansson4 ... Get:1 http://192.168.12.254/debian/ wheezy/main libjansson4 amd64 2.3.1-2 [31.6 kB] Get:2 http://192.168.12.254/debian/ wheezy/main libjansson-dev amd64 2.3.1-2 [34.6 kB] Fetched 66.2 kB in 0s (3,164 kB/s) Selecting previously unselected package libjansson4:amd64. (Reading database ... 145906 files and directories currently installed.) Unpacking libjansson4:amd64 (from .../libjansson4_2.3.1-2_amd64.deb) ... Selecting previously unselected package libjansson-dev:amd64. Unpacking libjansson-dev:amd64 (from .../libjansson-dev_2.3.1-2_amd64.deb) ... Setting up libjansson4:amd64 (2.3.1-2) ... Setting up libjansson-dev:amd64 (2.3.1-2) ... |
#apt-get install libncurses5-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libtinfo-dev Suggested packages: ncurses-doc ... Get:1 http://192.168.12.254/debian/ wheezy/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://192.168.12.254/debian/ wheezy/main libncurses5-dev amd64 5.9-10 [223 kB] Fetched 328 kB in 0s (9,585 kB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 145925 files and directories currently installed.) Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10_amd64.deb) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncurses5-dev (5.9-10) ... |
#apt-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 578 kB of archives. After this operation, 1,382 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libsqlite3-dev amd64 3.7.13-1+deb7u1 [578 kB] Fetched 578 kB in 0s (21.2 MB/s) Selecting previously unselected package libsqlite3-dev. (Reading database ... 145972 files and directories currently installed.) Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.13-1+deb7u1_amd64.deb) ... Setting up libsqlite3-dev (3.7.13-1+deb7u1) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for uuid_generate_random in -luuid... no checking for uuid_generate_random in -le2fs-uuid... no checking for uuid_generate_random... no configure: error: *** uuid support not found (this typically means the uuid development package is missing) |
#apt-get install libxml2-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libxml2-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 901 kB of archives. After this operation, 2,798 kB of additional disk space will be used. Get:1 http://security.debian.org/ wheezy/updates/main libxml2-dev amd64 2.8.0+dfsg1-7+wheezy2 [901 kB] Fetched 901 kB in 0s (1,328 kB/s) Selecting previously unselected package libxml2-dev:amd64. (Reading database ... 145983 files and directories currently installed.) Unpacking libxml2-dev:amd64 (from .../libxml2-dev_2.8.0+dfsg1-7+wheezy2_amd64.deb) ... Processing triggers for man-db ... Setting up libxml2-dev:amd64 (2.8.0+dfsg1-7+wheezy2) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for uuid_generate_random in -luuid... no checking for uuid_generate_random in -le2fs-uuid... no checking for uuid_generate_random... no configure: error: *** uuid support not found (this typically means the uuid development package is missing) |
#apt-get install libxml2-dev^C
|
#apt-get install uuid-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: uuid-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 72.4 kB of archives. After this operation, 98.3 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main uuid-dev amd64 2.20.1-5.3 [72.4 kB] Fetched 72.4 kB in 0s (3,978 kB/s) Selecting previously unselected package uuid-dev. (Reading database ... 146047 files and directories currently installed.) Unpacking uuid-dev (from .../uuid-dev_2.20.1-5.3_amd64.deb) ... Processing triggers for man-db ... Setting up uuid-dev (2.20.1-5.3) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- Core --- [*] res_adsi [*] res_agi [*] res_ari [*] res_ari_applications [*] res_ari_asterisk ... [*] res_fax [*] res_format_attr_celt [*] res_format_attr_h263 [*] res_format_attr_h264 [*] res_format_attr_opus ... More ... CELT Format Attribute Module Depends on: curl(E) Conflicts with: app_fax(M) Support Level: core |
#Ñзе-Ñapt-cache searh openssl
E: Invalid operation searh |
#apt-cache search openssl
libace-ssl-6.0.3 - ACE secure socket layer library aolserver4-nsopenssl - AOLserver 4 module: module for SSL mode cryptmount - Management of encrypted file systems libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour) libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours) libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules erlang-crypto - Erlang/OTP cryptographic modules fp-units-net - Free Pascal - networking units dependency package fp-units-net-2.6.0 - Free Pascal - networking units ... libruby1.9.1 - Libraries necessary to run Ruby 1.9.1 scrypt - File encryption utility using scrypt for key derivation ssl-cert - simple debconf wrapper for OpenSSL stone - TCP/IP packet repeater in the application layer libjs-strophe - Library for writing XMPP clients tcl-tls - TLS OpenSSL extension to Tcl tinyca - simple graphical program for certification authority management python-tlslite - a pure Python SSL/TLS library libtcnative-1 - Tomcat native library using the apache portable runtime libxmlsec1-openssl - Openssl engine for the XML security library |
#apt-get inslatt libssl-dev
E: Invalid operation inslatt |
#apt-get inslall libssl-dev
E: Invalid operation inslall |
#apt-get install libssl-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libssl-doc zlib1g-dev The following NEW packages will be installed: libssl-dev libssl-doc zlib1g-dev ... (Reading database ... 146069 files and directories currently installed.) Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+deb7u13_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+deb7u13_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libssl-dev (1.0.1e-2+deb7u13) ... Setting up libssl-doc (1.0.1e-2+deb7u13) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- Core --- [*] chan_bridge_media [*] chan_dahdi [*] chan_iax2 XXX chan_motif [*] chan_multicast_rtp ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-13.0.1' |
#apt-get install libtonezone-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libtonezone-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 50.2 kB of archives. After this operation, 299 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libtonezone-dev amd64 1:2.5.0.1-2 [50.2 kB] Fetched 50.2 kB in 0s (2,957 kB/s) Selecting previously unselected package libtonezone-dev. (Reading database ... 147507 files and directories currently installed.) Unpacking libtonezone-dev (from .../libtonezone-dev_1%3a2.5.0.1-2_amd64.deb) ... Setting up libtonezone-dev (1:2.5.0.1-2) ... |
#apt-get install libpri-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libpri-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 290 kB of archives. After this operation, 987 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libpri-dev amd64 1.4.12-2 [290 kB] Fetched 290 kB in 0s (9,618 kB/s) Selecting previously unselected package libpri-dev. (Reading database ... 147514 files and directories currently installed.) Unpacking libpri-dev (from .../libpri-dev_1.4.12-2_amd64.deb) ... Setting up libpri-dev (1.4.12-2) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. [*] app_playback [*] app_playtones [*] app_privacy [*] app_queue [*] app_read [*] app_readexten ... --- Deprecated --- [ ] app_setcallerid Send verbose output Depends on: res_adsi(M), res_smdi(M) Conflicts with: res_mwi_external(M) Support Level: core (M) PJSIP Extension State PIDF Provider , res_pjsip(M) E) , res_pjsip_session(M) |
#apt-cache search srtp
libsrtp0 - Secure RTP (SRTP) and UST Reference Implementations - shared library libsrtp0-dev - Secure RTP (SRTP) and UST Reference Implementations - development files srtp-docs - Secure RTP (SRTP) and UST Reference Implementations - documentation srtp-utils - Secure RTP (SRTP) and UST Reference Implementations - utilities uanytun - tiny implementation of the secure anycast tunneling protocol |
#apt-get install libsrtp0-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgadu3 libmozjs24d xulrunner-24.0 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libsrtp0-dev 0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded. Need to get 117 kB of archives. After this operation, 390 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libsrtp0-dev amd64 1.4.4+20100615~dfsg-2+deb7u1 [117 kB] Fetched 117 kB in 0s (5,464 kB/s) Selecting previously unselected package libsrtp0-dev. (Reading database ... 147522 files and directories currently installed.) Unpacking libsrtp0-dev (from .../libsrtp0-dev_1.4.4+20100615~dfsg-2+deb7u1_amd64.deb) ... Setting up libsrtp0-dev (1.4.4+20100615~dfsg-2+deb7u1) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#make menuconfig
Press 'h' for help. ---> Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording Channel Event Logging Channel Drivers Codec Translators Format Interpreters Dialplan Functions ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-13.0.1' |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- Core --- [*] res_adsi [*] res_agi [*] res_ari [*] res_ari_applications [*] res_ari_asterisk ... [*] res_fax [*] res_format_attr_celt [*] res_format_attr_h263 [*] res_format_attr_h264 [*] res_format_attr_opus ... More ... CELT Format Attribute Module Depends on: curl(E) Conflicts with: app_fax(M) Support Level: core |
#make -j4
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: Entering directory `/usr/src/asterisk-13.0.1/menuselect' make[1]: `makeopts' is up to date. make[1]: Leaving directory `/usr/src/asterisk-13.0.1/menuselect' Building Documentation For: Generating embedded module rules ... channels pbx apps codecs formats cdr cel bridges funcs tests main [CC] astcanary.c -> astcanary.o [CC] pbx_ael.c -> pbx_ael.o [CC] chan_bridge_media.c -> chan_bridge_media.o [CC] astdb2sqlite3.c -> astdb2sqlite3.o [CC] pbx_config.c -> pbx_config.o ... creating Makefile creating makelist creating config.h [LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o astobj2_container.o astobj2_hash.o astobj2_rbtree.o audiohook.o autochan.o autoservice.o backtrace.o bridge.o bridge_after.o bridge_basic.o bridge_channel.o bridge_roles.o bucket.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o codec.o codec_builtin.o +--------- Asterisk Build Complete ---------+ + Asterisk has successfully been built, and + + can be installed by running: + + + + make install + +-------------------------------------------+ |
#сcp -R /etc/asterisk/ /etc/asterisk.bak
|
#cp /etc/init.d/asterisk /tmp/
|
#apt-get remove asterisk asterisk-modules
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-moh-opsound-gsm freetds-common libcurl3 libgadu3 libiksemel3 libmozjs24d libodbc1 libopenr2-3 libpq5 libradiusclient-ng2 libresample1 libsaclm3 libsaevt3 libsensors4 libsnmp-base libsnmp15 libsox-fmt-alsa libsox-fmt-base libsox2 libsqlite0 libss7-1 libsybdb5 libvpb0 sox vpb-driver-source xulrunner-24.0 Use 'apt-get autoremove' to remove them. ... Do you want to continue [Y/n]? y (Reading database ... 147568 files and directories currently installed.) Removing asterisk-prompt-de ... Removing asterisk-voicemail ... Removing asterisk-mysql ... Removing asterisk-dahdi ... Removing asterisk ... Stopping Asterisk PBX: asterisk. Removing asterisk-modules ... Processing triggers for man-db ... |
#make install
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: Entering directory `/usr/src/asterisk-13.0.1/menuselect' make[1]: `makeopts' is up to date. make[1]: Leaving directory `/usr/src/asterisk-13.0.1/menuselect' Installing modules from channels... Installing modules from pbx... Installing modules from apps... Installing modules from codecs... Installing modules from formats... Installing modules from cdr... ... +----------------- or ---------------------+ + + + You can go ahead and install the asterisk + + program documentation now or later run: + + + + make progdocs + + + + **Note** This requires that you have + + doxygen installed on your local system + +-------------------------------------------+ |
#asterisk -rvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
#asterisk -rvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#asterisk -rvv
Asterisk 13.0.1, Copyright (C) 1999 - 2014, 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. ========================================================================= Connected to Asterisk 13.0.1 currently running on debian5 (pid = 31708) [Nov 28 17:32:45] NOTICE[31708]: db.c:249 db_open: Database conversion succeeded! == Manager registered action DBGet ... == Using SIP RTP CoS mark 5 == Spawn extension (from-pstn, 2201, 4) exited non-zero on 'DAHDI/i1/5002-1' == Using SIP RTP CoS mark 5 == Using SIP RTP CoS mark 5 [Nov 28 17:34:46] NOTICE[31771][C-00000002]: chan_sip.c:25512 handle_request_invite: Call from 'atlanta' (192.168.40.1:5060) to extension '2201' rejected because extension not found in context 'gr4'. == Using SIP RTP CoS mark 5 [Nov 28 17:35:04] NOTICE[31771][C-00000003]: chan_sip.c:25512 handle_request_invite: Call from 'atlanta' (192.168.40.1:5060) to extension '2201' rejected because extension not found in context 'gr4'. debian5*CLI> exit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvvv
Asterisk 13.0.1, Copyright (C) 1999 - 2014, 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. ========================================================================= Connected to Asterisk 13.0.1 currently running on debian5 (pid = 31708) debian5*CLI> pr presencestate pri debian5*CLI> pr presencestate pri debian5*CLI> pri show spans PRI span 1/0: Up, Active debian5*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-4035.22016.22933 2014-11-28 17:37:36.741114520 +0200 +++ /etc/asterisk/sip.conf 2014-11-28 17:37:57.849114769 +0200 @@ -2,6 +2,7 @@ ; [] - название секции на каждый номер телефона context=default qualify=yes +encryption=yes ; регитсрация на нашем астериске register => atlanta:1234@192.168.40.1/ny |
#vim /etc/asterisk/sip.conf
|
#asterisk -rvv
Asterisk 13.0.1, Copyright (C) 1999 - 2014, 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. ========================================================================= Connected to Asterisk 13.0.1 currently running on debian5 (pid = 31708) == Using SIP RTP CoS mark 5 == Using SIP RTP CoS mark 5 == Spawn extension (gr1, 2202, 4) exited non-zero on 'SIP/2201-00000002' debian5*CLI> exit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-4035.10970.3086 2014-11-28 17:41:41.849117421 +0200 +++ /etc/asterisk/extensions.conf 2014-11-28 17:42:16.085117825 +0200 @@ -172,8 +172,8 @@ exten => _22XX,n,Dial(SIP/${EXTEN},10,tTkK) ; просто в логах отобразить шифрованный звонок или нет -exten => _33XX,n,NoOp(secure_signaling = ${CHANNEL(secure_signaling)}) -exten => _33XX,n,NoOp(secure_media = ${CHANNEL(secure_media)}) +exten => _22XX,n,NoOp(secure_signaling = ${CHANNEL(secure_signaling)}) +exten => _22XX,n,NoOp(secure_media = ${CHANNEL(secure_media)}) ; международная конференция exten => _229X,1,NoOp(Conferences for external users) |
#asterisk -rx 'dialplan reload'
Dialplan reloaded. |
#asterisk -rvv
Asterisk 13.0.1, Copyright (C) 1999 - 2014, 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. ========================================================================= Connected to Asterisk 13.0.1 currently running on debian5 (pid = 31708) == Using SIP RTP CoS mark 5 == Using SIP RTP CoS mark 5 == Spawn extension (gr1, 2202, 4) exited non-zero on 'SIP/2201-00000004' == Using SIP RTP CoS mark 5 == Using SIP RTP CoS mark 5 == Everyone is busy/congested at this time (1:0/1/0) == Using SIP RTP CoS mark 5 == Using SIP RTP CoS mark 5 == Everyone is busy/congested at this time (1:0/1/0) debian5*CLI> exit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-4035.10974.26944 2014-11-28 17:46:51.061121079 +0200 +++ /etc/asterisk/extensions.conf 2014-11-28 18:03:53.153133177 +0200 @@ -29,7 +29,7 @@ exten => s,n,Background(/var/tmp/asterisk/record04) exten => s,n,Hangup -; переходим на submenu +; переходим на submenu подпункт exten => 1,1,Goto(submenu,s,1) ; при нажатии 3 - проигрываем exten => 3 (record05) "введите номер заказа" @@ -75,8 +75,6 @@ exten => i,n,WaitExten(2) - - [submenu] exten => s,1,Background(/var/tmp/asterisk/record11) @@ -149,10 +147,10 @@ ; перенаправлени звонка на мобильный, если не подняли трубку через 5 сек -; exten => _33XX,1,Dial(SIP/${EXTEN},5) -; exten => _33XX,n,Dial(SIP/${DB(redirect/${EXTEN})}) +; exten => _22XX,1,Dial(SIP/${EXTEN},5) +; exten => _22XX,n,Dial(SIP/${DB(redirect/${EXTEN})}) ; только сначала нужно прописать мобильные телефоны в базе redirect: -; asterisk -rx " database put redirect 3301 +380503322117" +; asterisk -rx " database put redirect 2201 +380503322117" @@ -168,12 +166,12 @@ ; set- записать в переменную CALLFILENAME, все что после exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")}) exten => _22XX,n,Monitor(wav,${CALLFILENAME},m) - exten => _22XX,n,Dial(SIP/${EXTEN},10,tTkK) ; просто в логах отобразить шифрованный звонок или нет -exten => _22XX,n,NoOp(secure_signaling = ${CHANNEL(secure_signaling)}) -exten => _22XX,n,NoOp(secure_media = ${CHANNEL(secure_media)}) +; шифрование звонков srtp не поддерживает фришную версию астериска +;exten => _22XX,n,NoOp(secure_signaling = ${CHANNEL(secure_signaling)}) +;exten => _22XX,n,NoOp(secure_media = ${CHANNEL(secure_media)}) ; международная конференция exten => _229X,1,NoOp(Conferences for external users) |
#vim /media/hdd/readme.txt
--- /dev/null 2014-11-28 12:29:15.266830041 +0200 +++ /media/hdd/readme.txt 2014-11-28 18:05:23.115724000 +0200 @@ -0,0 +1,3 @@ +http://xgu.cc/nt-voip-2014-nov +http://xgu.ru/class/nt-voip-2014-nov/ +http://xgu.ru/l3/users/2014-11-nt-voip/nt-voip |
#vi /etc/network/interfaces
--- /tmp/l3-saved-4219.22649.5372 2014-11-29 16:52:14.056479293 +0200 +++ /etc/network/interfaces 2014-11-29 16:52:32.284479509 +0200 @@ -3,8 +3,8 @@ # The primary network interface allow-hotplug eth0 -iface eth0 inet static - address 192.168.50.1 - netmask 255.255.255.0 - gateway 192.168.50.254 +iface eth0 inet dhcp +# address 192.168.50.1 +# netmask 255.255.255.0 +# gateway 192.168.50.254 |
#clear\
> |
#clear
|
#ifdown eth0
Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/6c:3b:e5:39:37:4d Sending on LPF/eth0/6c:3b:e5:39:37:4d Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.10.240 port 67 |
#ifup eth0
Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/6c:3b:e5:39:37:4d Sending on LPF/eth0/6c:3b:e5:39:37:4d Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.10.240 DHCPACK from 192.168.10.240 bound to 192.168.12.111 -- renewal in 34626 seconds. |
#ifconfig eth0
eth0 Link encap:Ethernet HWaddr 6c:3b:e5:39:37:4d inet addr:192.168.12.111 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::6e3b:e5ff:fe39:374d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:112 errors:0 dropped:0 overruns:0 frame:0 TX packets:128 errors:1 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11070 (10.8 KiB) TX bytes:22949 (22.4 KiB) Interrupt:18 |
#ping ya.ru
PING ya.ru (213.180.193.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=1 ttl=56 time=17.8 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=2 ttl=56 time=17.7 ms ^C --- ya.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 17.747/17.818/17.889/0.071 ms |
#vi /etc/resolv.conf
--- /tmp/l3-saved-6812.31921.32300 2014-12-01 15:57:58.789652701 +0200 +++ /etc/resolv.conf 2014-12-01 15:58:07.953652894 +0200 @@ -1,3 +1,3 @@ domain class.msft search class.msft -nameserver 192.168.10.240 +nameserver 8.8.8.8 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 6c:3b:e5:39:37:4d inet addr:192.168.12.107 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::6e3b:e5ff:fe39:374d/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:35394 errors:0 dropped:0 overruns:0 frame:0 TX packets:42202 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:29887405 (28.5 MiB) TX bytes:8776838 (8.3 MiB) Interrupt:18 eth1 Link encap:Ethernet HWaddr 00:1b:21:9d:5a:04 ... RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17 Memory:ff6c0000-ff6e0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2620 errors:0 dropped:0 overruns:0 frame:0 TX packets:2620 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:654221 (638.8 KiB) TX bytes:654221 (638.8 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 6c:3b:e5:39:37:4d inet addr:192.168.12.107 Bcast:192.168.12.255 Mask:255.255.255.0 inet6 addr: fe80::6e3b:e5ff:fe39:374d/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:35394 errors:0 dropped:0 overruns:0 frame:0 TX packets:42202 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:29887405 (28.5 MiB) TX bytes:8776838 (8.3 MiB) Interrupt:18 eth1 Link encap:Ethernet HWaddr 00:1b:21:9d:5a:04 ... RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17 Memory:ff6c0000-ff6e0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2620 errors:0 dropped:0 overruns:0 frame:0 TX packets:2620 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:654221 (638.8 KiB) TX bytes:654221 (638.8 KiB) |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.12.1 0.0.0.0 UG 0 0 0 eth0 192.168.12.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
Время первой команды журнала | 15:45:02 2014-11-28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:58:18 2014-12- 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 28.71 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 4.95 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.49 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008