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

Reply via email to