Re: automated installation of rpm/app on a number of client machines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




there appears to be some kind of mis-understanding regarding my question..

if i have 50 systems.. i'm trying to figure out how to automate the process
of installing the rpms across the 50 systems, so i don't have to do it
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 invoking
of the rpm would perform these functions, then ok.. maybe.

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, and
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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux