# HG changeset patch # User devi # Date 1131952669 -7200 # Node ID 34f3ce44c3653be328393f355722759067eeb935 # Parent e22df843b5128a8c519a222474810ffbaf19d333 lm-install: Инсталляция запуска l3-agent в .bash_profile diff -r e22df843b512 -r 34f3ce44c365 l3config.pm --- a/l3config.pm Mon Nov 14 09:16:28 2005 +0200 +++ b/l3config.pm Mon Nov 14 09:17:49 2005 +0200 @@ -80,7 +80,7 @@ "detach" => "yes", "agent_pidfile" => "$ENV{HOME}/.lilalo/l3-agent.pid", - "backend_address" => "127.0.0.1", + "backend_address" => "192.168.15.254", "backend_port" => "18030", "backend_pidfile" => "/tmp/l3-backend.pid", "backend_datafile" => "/var/lilalo/lablogs-xml/backend.xml", diff -r e22df843b512 -r 34f3ce44c365 lm --- a/lm Mon Nov 14 09:16:28 2005 +0200 +++ b/lm Mon Nov 14 09:17:49 2005 +0200 @@ -493,11 +493,12 @@ ###install-lm cat $lminstall | ssh $ssh_user@$host /bin/sh -s $dirs +scp l3config.pm l3-agent $ssh_user@$host:/usr/local/bin ###install-pm scp PM/* $ssh_user@$host:/tmp -ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*; cd Term-VT102*; perl Makefile.PL; make ; make install' -ssh $ssh_user@$host 'cd /tmp; tar xfz Text-Iconv*; cd Text-Iconv*; perl Makefile.PL; make ; make install' +#ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*.gz; cd Term-VT102*[^z]; perl Makefile.PL; make ; make install' +ssh $ssh_user@$host 'cd /tmp; tar xfz Text-Iconv*.gz; cd Text-Iconv*[^z]; perl Makefile.PL; make ; make install' ###copy-lablogs for i in $dirs diff -r e22df843b512 -r 34f3ce44c365 lm-install --- a/lm-install Mon Nov 14 09:16:28 2005 +0200 +++ b/lm-install Mon Nov 14 09:17:49 2005 +0200 @@ -202,9 +202,9 @@ echo Don\'t forget to check .bash_profile for .bashrc call - [ -e $home/.profile ] && install_to_profile $home/.profile \ - && install_to_profile $home/.profile \ - && echo LabMaker is installed to $home/.profile + [ -e $home/.bash_profile ] && install_to_profile $home/.bash_profile \ + && install_to_profile $home/.bash_profile \ + && echo LabMaker is installed to $home/.bash_profile touch $home/.bashrc [ -e $home/.bashrc ] && install_to_bashrc $home/.bashrc \