yum -y install glibc-static popt-devel popt-static
Download, then build:
tar xf rsync-3.0.9.tar.gz
cd rsync-3.0.9
./configure
make CFLAGS="-static" EXEEXT="-3.0.9-static"
strip rsync-3.0.9-static
That's what I needed to do on RHEL7. YMMV.
The trials and tribulations of a lone system administrator
yum -y install glibc-static popt-devel popt-static
tar xf rsync-3.0.9.tar.gz
cd rsync-3.0.9
./configure
make CFLAGS="-static" EXEEXT="-3.0.9-static"
strip rsync-3.0.9-static
repoquery --tree-whatrequires <package>For example, let's say you want to find out what packages depend on rdma:
$ repoquery --tree-whatrequires rdmaThere you have it... opensm is the only package that requires rdma.
rdma-1.0-14.el6.noarch [cmd line]
\_ opensm-3.3.9-1.el6.x86_64 [1: rdma = 1.0-14.el6]
$
This is a really good one too...
The Philosophy of Monitoring | League of Professional System Administrators
chmod o=g fooThat sets the "other" permissions to whatever the "group" permissions are. Combine that with "-R" and you can quickly adjust the "other" permissions of a whole tree to be the same as the file/dir "group" permissions.