RE: automated installation of rpm/app on a number of client machines
- From: "bruce" <bedouglas@xxxxxxxxxxxxx>
- Date: Fri, 18 Aug 2006 10:39:26 -0700
hi tom...
what you suggested is more or less what i had been thinking about...
as to the config file/mods, i might also create a script that takes a
midified file, and simply does a network wide cp/mv to replace the client
file, with the updated config file... or some kind of auto bash script to
modify the client config file on the client system...
-bruce
-----Original Message-----
From: Tom Brown [mailto:tom@xxxxxxxx]
Sent: Friday, August 18, 2006 9:00 AM
To: bedouglas@xxxxxxxxxxxxx; For users of Fedora Core releases
Subject: Re: automated installation of rpm/app on a number of client
machines
there appears to be some kind of mis-understanding regarding my question..process
if i have 50 systems.. i'm trying to figure out how to automate the
of installing the rpms across the 50 systems, so i don't have to do itinvoking
manually. i was also saying that the install process might also involve
creating of users/modifying config files...
if you're implying that i could 'modify' the rpm file, so that the
of the rpm would perform these functions, then ok.. maybe.and
i'm trying to find out if there's an automated/scripting method for this
kind of purpose. has anyone actually done this kind of automated action,
if you have, cna you tell me how you did it...
make sure root keys are setup on your hosts so your 'master' box can ssh
into the others without a password.
then
#!/bin/bash
HOSTNAMES=`cat machinelist.txt`
for i in $HOSTNAMES
do
ssh $i 'rpm -i /path/to/some.rpm'
done
that will install the rpm on each host listed in machinelist.txt but of
course the rpm must be on the system first so either have it on a share or
#!/bin/bash
HOSTNAMES=`cat machinelist.txt`
for i in $HOSTNAMES
do
scp some.rpm $i:
ssh $i 'rpm -i /path/to/some.rpm'
done
would copy it over to the host and then install it
HTH
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Prev by Date: Re: web conference/dekstop sharing for linux behind firewall
- Next by Date: Re: Not all IDE hard disks are detected by my BIOS
- Previous by thread: Re: automated installation of rpm/app on a number of client machines
- Next by thread: Re: automated installation of rpm/app on a number of client machines
- Index(es):
Relevant Pages
|