/l3/users/Illia-fuck2you/voip-lab-11-2013/linux1.unix.nt/root :1 :2 :3 :4 |
|
#cd /home/
pescyvsem.sh pescyvsem.txt user/ |
#cd /home/
pescyvsem.sh pescyvsem.txt user/ |
#cd /home/user/
.bash_history Desktop/ .gstreamer-0.10/ .mission-control/ Templates/ .bash_logout Documents/ .gtk-bookmarks .mozilla/ .thumbnails/ .bash_profile Downloads/ .gvfs/ Music/ Videos/ .bashrc .fontconfig/ .ICEauthority Pictures/ .xsession-errors .cache/ .gconf/ img .profile .xsession-errors.old channels.txt .gksu.lock .l3rc Public/ .config/ .gnome2/ .lilalo/ .pulse/ .dbus/ .gnome2_private/ .local/ .pulse-cookie |
#cd /home/user/Do
Documents/ Downloads/ |
#cd /home/user/Do
Documents/ Downloads/ |
#cd /home/user/Downloads/
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#cd /home/user/Downloads/
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#cd /home/user/Downloads/
|
#a
a2p apg as accessdb apgbfm asciitopgm aconnect aplay aseqdump acpi aplaymidi aseqnet acpi_available apm_available aspell acpid applycal aspell-autobuildhash acpi_listen appres aspell-import addftinfo apropos astcanary addgroup apt-cache asterisk addpart apt-cdrom asterisk-festival.pl ... agetty aptitude astribank_tool alacarte aptitude-create-state-bundle at alias aptitude-curses atd alsa aptitude-run-state-bundle atktopbm alsactl apt-key atq alsaloop apt-listchanges atrm alsamixer apt-mark autopoint alsaucm apt-sortpkgs autosupport amidi ar avahi-daemon --More--^C |
#a2p
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#a2p
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#apt-get install unzip
Reading package lists... Done Building dependency tree Reading state information... Done unzip is already the newest version. unzip set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. |
#unzip
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#unzip
a2billing-master.zip pink_floyd_-_the_wall_(zaycev.net).mp3 pink_floyd_-_the_wall_(zaycev.net)(1).mp3 |
#unzip a2billing-master.zip
Archive: a2billing-master.zip 2794247d7d11452574461cee29294549e86f8c5a creating: a2billing-master/ inflating: a2billing-master/.gitignore creating: a2billing-master/AGI/ inflating: a2billing-master/AGI/a2billing.php inflating: a2billing-master/AGI/a2billing_monitoring.php linking: a2billing-master/AGI/lib -> ../common/lib inflating: a2billing-master/AUTHORS inflating: a2billing-master/CHANGELOG ... a2billing-master/admin/lib -> ../common/lib a2billing-master/agent/Public/images -> ../../common/images a2billing-master/agent/Public/javascript -> ../../common/javascript a2billing-master/agent/Public/jpgraph_lib -> ../../common/lib/jpgraph_lib a2billing-master/agent/Public/pqp -> ../../common/lib/pqp/ a2billing-master/agent/lib -> ../common/lib a2billing-master/customer/javascript -> ../common/javascript a2billing-master/customer/lib -> ../common/lib a2billing-master/customer/pqp -> ../common/lib/pqp/ a2billing-master/webservice/lib -> ../common/lib |
#cd ./a2billing-master
|
#ls -l
total 364 -rwxr-xr-x 1 root root 1571 Nov 6 13:41 a2billing.conf -rw-r--r-- 1 root root 140451 Nov 6 13:41 a2billing_dashboard.png drwxr-xr-x 7 root root 4096 Nov 6 13:41 addons drwxr-xr-x 5 root root 4096 Nov 6 13:41 admin drwxr-xr-x 4 root root 4096 Nov 6 13:41 agent drwxr-xr-x 2 root root 4096 Nov 6 13:41 AGI -rw-r--r-- 1 root root 1912 Nov 6 13:41 AUTHORS drwxr-xr-x 3 root root 4096 Nov 6 13:41 CallBack -rw-r--r-- 1 root root 112842 Nov 6 13:41 CHANGELOG drwxr-xr-x 8 root root 4096 Nov 6 13:41 common -rw-r--r-- 1 root root 33652 Nov 6 13:41 COPYING drwxr-xr-x 2 root root 4096 Nov 6 13:41 Cronjobs drwxr-xr-x 7 root root 4096 Nov 6 13:41 customer drwxr-xr-x 4 root root 4096 Nov 6 13:41 DataBase -rw-r--r-- 1 root root 17949 Nov 6 13:41 INSTALL.rst -rw-r--r-- 1 root root 1262 Nov 6 13:41 README.rst -rw-r--r-- 1 root root 544 Nov 6 13:41 REQUIREMENTS.rst drwxr-xr-x 4 root root 4096 Nov 6 13:41 webservice |
#nano INSTALL.rst
|
#l3-agent
l3-agent is already running: pid=29339; pidfile=/root/.lilalo/l3-agent.pid |
#l3-agent
l3-agent is already running: pid=29339; pidfile=/root/.lilalo/l3-agent.pid |
#~~~~4. Fix permissions and foldersest --password guest http://svn.a2billing.net/svn/asterisk2billing/tags/1-current /usr/local/src/a2billing/
|
#mc
|
#/usr/local/src/a2billing/addons/
asterisk-conf/ contrib/ Doc/ .htaccess script/ sounds/ |
#/usr/local/src/a2billing/addons/
asterisk-conf/ contrib/ Doc/ .htaccess script/ sounds/ |
#/usr/local/src/a2billing/addons/cd /usr/local/src/a2billing/AGI
l3script: /usr/local/src/a2billing/addons/cd: No such file or directory |
#/usr/local/src/a2billing/addons/cd /usr/local/src/a2billing/AGI
l3script: /usr/local/src/a2billing/addons/cd: No such file or directory |
#cp a2billing-monitoring.php /usr/share/asterisk/agi-bin/
cp: cannot stat `a2billing-monitoring.php': No such file or directory |
#cp a2billing-monitoring.php /usr/share/asterisk/agi-bin/
cp: cannot stat `a2billing-monitoring.php': No such file or directory |
#cp a2billing /usr/share/asterisk/agi-bin/
a2billing_monitoring.php a2billing.php |
#cp a2billing /usr/share/asterisk/agi-bin/
a2billing_monitoring.php a2billing.php |
#cp a2billing /usr/share/asterisk/agi-bin/
a2billing_monitoring.php a2billing.php |
#cp a2billing /usr/share/asterisk/agi-bin/
a2billing_monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/ /usr/share/asterisk/agi-bin/a2billing.php
a2billing_monitoring.php a2billing.php lib/ |
#ln -s /usr/local/src/a2billing/AGI/ /usr/share/asterisk/agi-bin/a2billing.php
a2billing_monitoring.php a2billing.php lib/ |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
|
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
|
#cp /usr/local/src/a2billing/AGI/a2billing /usr/local/src/a2billing/AGI/a2billing.php
cp: cannot stat `/usr/local/src/a2billing/AGI/a2billing': No such file or directory |
#cp /usr/local/src/a2billing/AGI/a2billing /usr/local/src/a2billing/AGI/a2billing.php
cp: cannot stat `/usr/local/src/a2billing/AGI/a2billing': No such file or directory |
# Left File Command Options Right
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â ... â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â ... â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â ... â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â ... â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â ... â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right â'n Name â Size âModify time ââ'n Name â Size âModify time â>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ â/.. âUP--DIRâNov 21 10:54ââ/.. âUP--DIRâNov 18 14:57â â~lib â 13âNov 21 10:54ââ!a2billing â 38âNov 21 11:21â â*a2billing.php â 80906âNov 6 13:41ââ*a2billing.php â 80906âNov 21 11:20â â*a2billing_monitoring.php â 7631âNov 6 13:41ââ*a2billing_monitoring.php â 7631âNov 21 11:20â â â â ââ!lib â 13âNov 21 11:20â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â â â â ââ â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââ âUP--DIR ââ*a2billing.php â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ 434G/440G (98%) ââââââââââââââââââââââââââââââââââââââââââââââââââââââ Hint: Are some of your keys not working? Look at Options/Learn keys. [^] |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
Left File Command Options Right Hint: You can specify the username when doing ftps: 'cd ftp://user@machine.edu' [^] |
#â<â /usr/local/src/a2billing/AGI ââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââââââââââââââââââââ
/.. âUP--DIRâNov 21 10:54ââ/.. *a2billing.php â 80906âNov 6 13:41ââ*a-monitoring.php 7631 6 13:41 â â ââ âââ Directory scanning ââââââââââââââââââââââââââââââââââââ â â ââ â â ââ â â ââ â â ââ *a2billing_monitoring.php browse RPM files by tapping enter on top of an rpm file. |
#163#0#0#23603#1385025749#/usr/local/src/a2billing/AGI#25219#[root@linux1:AGI]#
|
#â<â ~ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââ
/var/log/apache2/error.log 5882/5882 100% [Thu Nov 21 11:14:20 2013] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web serve r user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:14:20 2013] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web serve r user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 r user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:16:04 2013] [notice] caught SIGTERM, shutting down r user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:16:44 2013] [error] [client 192.168.15.1] File does not exist: /var/www/favicon.ico rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 Hint: You can browse RPM files by tapping enter on top of an rpm file. 1Help 2UnWrap 3Quit 4Hex 5Goto 6 7Search 8Raw 9Format 10Quit |
#cp -Rf lib /usr/share/asterisk/agi-bin/
|
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
a2billing_monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
a2billing_monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
a2billing_monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing.php /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/
a2billing.conf admin/ AUTHORS common/ customer/ INSTALL.rst webservice/ a2billing_dashboard.png agent/ CallBack/ COPYING DataBase/ README.rst addons/ AGI/ CHANGELOG Cronjobs/ .gitignore REQUIREMENTS.rst |
#ln -s /usr/local/src/a2billing/
a2billing.conf admin/ AUTHORS common/ customer/ INSTALL.rst webservice/ a2billing_dashboard.png agent/ CallBack/ COPYING DataBase/ README.rst addons/ AGI/ CHANGELOG Cronjobs/ .gitignore REQUIREMENTS.rst |
#ln -s /usr/local/src/a2billing/A
AGI/ AUTHORS |
#ln -s /usr/local/src/a2billing/A
AGI/ AUTHORS |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing
a2billing a2billing_monitoring.php a2billing-monitoring.php a2billing.php |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php \
> ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php \
> ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#ln -s /usr/local/src/a2billing/AGI/a2billing /usr/share/asterisk/agi-bin/a2billing.php
ln: failed to create symbolic link `/usr/share/asterisk/agi-bin/a2billing.php': File exists |
#/usrOptionssrc/aRight
│/.. │UP--DIR│Nov 21 10:40││/.. │UP--DIR│Nov 18 14:57│ │ error.log │ 5882│Nov 21 11:27││*a2billing-monitoring.php │ 7631│Nov 6 13:41│ │ │ │ ││*a2billing_monitoring.php │ 7631│Nov 21 11:20│ │ │ │ ││ │ │ │ │ │ │ ││ │ │ │ │ │ │ ││ │ │ │ │ │ │ ││ │ │ │ │ │ │ ││ │ │ │ │ error.log ││*a2billing.php │ |
# Left File Command Options Right
|
#â<â ~ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââ
Left File Command11:14Options00] "Right ceweasel/17.0.10" 192.168.15.1 - - [21/Nov/2013:11:39:39 +0200] "GET /a2billing/admin/Public/index.php HTTP/1.1" 200 445 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" 192.168.15.1 - - [21/Nov/2013:11:39:46 +0200] "GET /a2billing/admin/ HTTP/1.1" 302 324 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ::1 - - [21/Nov/2013:1UnWrap1 +0200] "OPTIQuit* HTTP/1.0" 200 1Hex -" "Apache/2.2.22Gotobian) (internal d onnection)" Search Raw Format 192.168.15.1 - - [21/Nov/2013:11:39:46 +0200] "GET /a2billing/admin/Public/index.php HTTP/1.1" 200 444 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" Hint: Use M-p and M-n to access the command history. 192.168.15.1 - - [21/Nov/2013:11:16:44 +0200] "GET /favicon.ico HTTP/1.1" 404 503 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ::1 - - [21/Nov/2013:10:41:21 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.2.22 (Debian) (internal dummy connection)" 192.168.15.1 - - [21/Nov/2013:11:16:44 +0200] "GET /favicon.ico HTTP/1.1" 404 502 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ... ::1 - - [21/Nov/2013:10:41:24 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.2.22 (Debian) (internal dummy connection)" 192.168.15.1 - - [21/Nov/2013:11:25:04 +0200] "GET /a2billing/admin/Public/index.php HTTP/1.1" 500 410 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ::1 - - [21/Nov/2013:10:41:24 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.2.22 (Debian) (internal dummy connection)" 192.168.15.1 - - [21/Nov/2013:11:27:33 +0200] "GET /a2billing/admin/Public/index.php HTTP/1.1" 500 410 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ::1 - - [21/Nov/2013:10:41:24 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.2.22 (Debian) (internal dummy connection)" 192.168.15.1 - - [21/Nov/2013:11:36:07 +0200] "GET /a2billing/admin/Public/index.php HTTP/1.1" 500 410 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" ::1 - - [21/Nov/2013:10:41:24 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.2.22 (Debian) (internal dummy connection)" 192.168.15.1 - - [21/Nov/2013:11:36:11 +0200] "GET /a2billing/admin HTTP/1.1" 301 572 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" 127.0.0.1 - - [21/Nov/2013:11:14:12 +0200] "GET /a2billing/admin HTTP/1.1" 301 566 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" 127.0.0.1 - - [21/Nov/2013:11:14:12 +0200] "GET /a2billing/admin/ HTTP/1.1" 302 323 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10" |
#/var/log/apache2/error.log ââ ââ ââââââââââââââââââââââââââââââââââââââââââââ2536/7315âââââ34%âââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââââââââââââ
Left File Command[notiOptionsght SRight [Thu Nov 21 11:25:04 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:25:04 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:25:04 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:27:34 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 [Thu Nov 21 11:36:07 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099, referer: http://192.168.15.1/a2billing/ ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 Hint: FTP is built in the Midnight Commander, check the File/FTP link menu. [Thu Nov 21 11:14:20 2UnWraperror] [clientQuit.0.0.1] PHP FatalHex or: Smarty errorGotoable to write to le_dir '/var/wSearchilling/admin/teRaw s_c'. Be sure $Formate_dir is writable by the web serve [Thu Nov 21 11:14:12 2013] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web serve |
#â<â ~ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââ
rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099, referer: http://192.168.15.1/a2billing/ ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 php on line 312 php on line 312 php on line 312 nano /etc/a2billing.conf [Thu Nov 21 10:48:04 2013] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 PHP/5.4.4-14+deb7u5 configured -- resuming normal operations [Thu Nov 21 11:14:12 2013] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web serve |
#â<â ~ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â /usr/share/asterisk/agi-bin âââââââââââââââââââââââââ
Left File Command Options Right [Thu Nov 21 11:39:39 2013] [error] [client 192.168.15.1] PHP Warning: mysqli_real_connect(): (28000/1045): Access denied for user 'a2billing_dbuser'@'localhost' (using password: YES) in /var/www/a2billing/c ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 [Thu Nov 21 11:39:47 2013] [error] [client 192.168.15.1] PHP Warning: mysqli_real_connect(): (28000/1045): Access denied for user 'a2billing_dbuser'@'localhost' (using password: YES) in /var/www/a2billing/c ommon/lib/adodb/drivers/adodb-mysqli.inc.php on line 112 [Thu Nov 21 11:42:00 2013] [error] [client 192.168.15.1] PHP Warning: syntax error, unexpected END_OF_LINE, expecting '=' in /etc/a2billing.conf on line 9\n in /var/www/a2billing/common/lib/Class.A2Billing. php on line 312 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 php on line 312 rver user. in /var/www/a2billing/common/lib/smarty/Smarty.class.php on line 1099 php on line 312 [Thu Nov 21 11:43:47 2013] [error] [client 192.168.15.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web se Hint: Leap to frequently used directories in a single bound with C-\. [Thu Nov 21 11:14:20 2UnWraperror] [clientQuit.0.0.1] PHP FatalHex or: Smarty errorGotoable to write to le_dir '/var/wSearchilling/admin/teRaw s_c'. Be sure $Formate_dir is writable by the web serve [Thu Nov 21 10:48:04 2013] [notice] Apache/2.2.22 (Debian) DAV/2 SVN/1.6.17 PHP/5.4.4-14+deb7u5 configured -- resuming normal operations [Thu Nov 21 11:14:12 2013] [error] [client 127.0.0.1] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/a2billing/admin/templates_c'. Be sure $compile_dir is writable by the web serve |
#â<â /var/log/apache2 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ.[^]>ââ<â ~ âââââââââââââââââââââââââââââââââââââââââââ
â â â ââ/home â 4096â-Nov 20 12:06â etc âââââââââ /discover.conf.d â 4096IRâ18 11:553:42 /dpkg â 4096âNov 18163:37 /emacs â 4096âN8 11:583:23 /esound â 409696â20 09:593:36 â â â /exim4 â 4096âNov 18 11:58v 18 11:58â â â â /fail2ban â 4096âNov 21 13:13v 21 13:13â â â â /fonts â 4096âNov 18 13:34v 18 13:34â /freetds â 4096âNov 18 14:57 /freetds |
#/etc/fail2ban/jail.conf ââ ââ ââââââââââââââââââââââââââââââââââââââââââââ608/7346âââââ8%âââââââââââââââ.[^]>ââ<â /etc/fail2ban âââââââââââââââââââââââââââââââââââââââ
902 53 filter = sshd # Generic filter for pam. Has to be used with action which bans all ports xinetd-fail] # such as iptables-allports, shorewall = false [pam-generic] filter = xinetd-fail port = all enabled = false ... # $Revision$ de #hThe DEFAULT allows a global definition of the options. They can be overridden # in each jail afterwards. iptables-multiport, shorewall, etc) It is used to define [D"ignoreip" can be an IP address, a CIDR mask or a DNS host Hint: Want to do complex searches? Use the External Panelize command. igntime = 600 # section within jail.local file banaction = iptables-multiport |
Время первой команды журнала | 09:33:40 2013-11-21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:27:18 2013-11-21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 48.51 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.89 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.88 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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