tony,

thanks so much for the help. i'm having two small problems. the first is
that it only works if i give the explicit name of the upgrade, i.e - 

rpm -Fvh http://10.16.58.190/rpmupdates/app_to_update-1.0.1.rpm

and second - even if i successfully get it to update (by listing the
exact file name) the content of the email messages is blank.

thanks again for any help!

On Wed, 2002-01-30 at 11:27, Anthony E. Greene wrote:
> On 29 Jan 2002, Jack Wallen wrote:
> >is it possible to install an application, with rpm, on a Red Hat machine
> >remotely from a centralized location? what i mean is this:
> >
> >i have a centralized application repository. i am a sys admin and i need
> >to install a certain app onto numerous machines. i want to do this
> >automatically so i don't have to go around to every client in the entire
> >company and issue: su, and then rpm -ivh linux_app-1.0.1.i386.rpm. 
> 
> Sure. Create an rpmupdates directory on the server that is accessible via
> HTTP. Then run a cron job on each client that does this:
> 
>  rpm -Fvh http://myserver.mydomain/rpmupdates/*.rpm \
>  | mail -s 'Output of RPM Freshen' [EMAIL PROTECTED]
> 
> That will update any RPMs on the client that have newer versions on the 
> server. You will also get an email message containing the results of the 
> update.
> 
> There are more sophisticated methods, but this should work.
> 
> 
> Tony
> -- 
> Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
> AOL/Yahoo Messenger: TonyG05
> Linux: the choice of a GNU Generation. <http://www.linux.org/>
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
-- 
Jack Wallen, Jr.                                  
Track Editor - Linux/UNIX and Infrastructure         
TechRepublic (CNET Networks)                       L   I   N   U   X
http://www.techproguild.com
502-814-7741                                       R   O   C   K   S

Key fingerprint = B7C9 3A5A 0031 5FBC B050  6822 1269 7711 B37B 4F83
sub  1024g/00E9A596 2001-05-11



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to