lilalo

changeset 34:34f3ce44c365

lm-install:
Инсталляция запуска l3-agent в .bash_profile
author devi
date Mon Nov 14 09:17:49 2005 +0200 (2005-11-14)
parents e22df843b512
children 5f60fe514d49
files l3config.pm lm lm-install
line diff
     1.1 --- a/l3config.pm	Mon Nov 14 09:16:28 2005 +0200
     1.2 +++ b/l3config.pm	Mon Nov 14 09:17:49 2005 +0200
     1.3 @@ -80,7 +80,7 @@
     1.4  		"detach"			=>	"yes",
     1.5  		"agent_pidfile"			=> 	"$ENV{HOME}/.lilalo/l3-agent.pid",
     1.6  
     1.7 -		"backend_address"		=>	"127.0.0.1",
     1.8 +		"backend_address"		=>	"192.168.15.254",
     1.9  		"backend_port"			=> 	"18030",
    1.10  		"backend_pidfile"		=> 	"/tmp/l3-backend.pid",
    1.11  		"backend_datafile"		=> 	"/var/lilalo/lablogs-xml/backend.xml",
     2.1 --- a/lm	Mon Nov 14 09:16:28 2005 +0200
     2.2 +++ b/lm	Mon Nov 14 09:17:49 2005 +0200
     2.3 @@ -493,11 +493,12 @@
     2.4  
     2.5  ###install-lm
     2.6  cat $lminstall | ssh $ssh_user@$host /bin/sh -s $dirs
     2.7 +scp l3config.pm l3-agent $ssh_user@$host:/usr/local/bin
     2.8  
     2.9  ###install-pm
    2.10  scp PM/* $ssh_user@$host:/tmp
    2.11 -ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*; cd Term-VT102*; perl Makefile.PL; make ; make install'
    2.12 -ssh $ssh_user@$host 'cd /tmp; tar xfz Text-Iconv*; cd Text-Iconv*; perl Makefile.PL; make ; make install'
    2.13 +#ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*.gz; cd Term-VT102*[^z]; perl Makefile.PL; make ; make install'
    2.14 +ssh $ssh_user@$host 'cd /tmp; tar xfz Text-Iconv*.gz; cd Text-Iconv*[^z]; perl Makefile.PL; make ; make install'
    2.15  
    2.16  ###copy-lablogs
    2.17  for i in $dirs
     3.1 --- a/lm-install	Mon Nov 14 09:16:28 2005 +0200
     3.2 +++ b/lm-install	Mon Nov 14 09:17:49 2005 +0200
     3.3 @@ -202,9 +202,9 @@
     3.4  
     3.5  		echo Don\'t forget to check .bash_profile for .bashrc call
     3.6  
     3.7 -		[ -e $home/.profile ] && install_to_profile $home/.profile \
     3.8 -			&& install_to_profile $home/.profile \
     3.9 -			&& echo LabMaker is installed to $home/.profile
    3.10 +		[ -e $home/.bash_profile ] && install_to_profile $home/.bash_profile \
    3.11 +			&& install_to_profile $home/.bash_profile \
    3.12 +			&& echo LabMaker is installed to $home/.bash_profile
    3.13  
    3.14  		touch $home/.bashrc
    3.15  		[ -e $home/.bashrc ] && install_to_bashrc $home/.bashrc \