2 ms·
On CentOS it can be hard to stay current because yum tends to use older builds. I haven't found an ideal solution for all cases; what I do is build current vers
by jph 12y ago
On CentOS it can be hard to stay current because yum tends to use older builds. I haven't found an ideal solution for all cases; what I do is build current versions from source, in `/opt/$program/$version/`.
I also use static linking when possible; this helps enable the binary to be copyable to other similar servers. I also use Docker and/or Ansible and/or scripted installs when possible.
This overall approach does mean being committed to updating dependencies and rebuilding, which is especially important for security updates e.g. shellshock. It also means specifying environment paths so you get the versions you want, rather than the default CentOS yum versions. YMMV.