InstallPDSH » History » Version 3
« Previous -
Version 3/4
(diff) -
Next » -
Current version
Anonymous, 10/01/2007 12:04 PM
Install PDSH¶
This document discribes how to install the Parallel Distributed Shell (PDSH), which allows to execute the same command in parallel on multiple machines.
Download¶
Download the source packages of the latest PDSH release from "h2. Installation
Install the sources:
rpm -ivh pdsh-RELEASE.src.rpm
Modify /usr/scr/redhat/SPECS/pdsh.spec in order to make SSH the default shell by removing "readline":
%define _defaults ssh exec pam
Prepare and compile the RPM binaries:
rpmbuild -v -bb /usr/scr/redhat/SPECS/pdsh.spec
Install the RPM binaries:
rpm -iv /usr/src/redhat/RPMS/x86_64/pdsh-rcmd-exec-2.14-1.x86_64.rpm rpm -iv /usr/src/redhat/RPMS/x86_64/pdsh-rcmd-ssh-2.14-1.x86_64.rpm rpm -iv /usr/src/redhat/RPMS/x86_64/pdsh-2.14-1.x86_64.rpm
Usage¶
pdsh -w s0[1-4":http://downloads.sourceforge.net/pdsh/]. COMMAND