Honza Horak

Recent Posts

Use Software Collections without Bothering with Alternative Path

Software Collections (SCL) give you the power to build, install, and use multiple versions of software on the same system, without affecting system-wide installed packages. Therefore, the Software Collections packaging technique is used a lot for building stacks for Red Hat Enterprise Linux and CentOS, especially dynamic languages (Python, Ruby, NodeJS) or databases (PostgreSQL, MariaDB, MongoDB).

Continue reading “Use Software Collections without Bothering with Alternative Path”

Share

Maintain Software Collections easily on thousands of machines using scl register

softwarecollections-logo-colorfulHere is a problem. Let’s have a company with dozens of developer workstations, while we need to maintain the same development environment on all of them.

We know the Software Collections, which store files from RPMs into /opt and thus allow us to install multiple versions of various software on the same machine, even on an enterprise platform like Red Hat Enterprise Linux 7. Installing packages in different versions could break things, so it is wise to use the Software Collections for that purpose.

Anyway, back to the developer workstations — we might for example set up a system to deploy the same environment stacks on multiple systems (Satellite, Puppet, Ansible), but when adding a new package to the set of available packages, we would still need to run commands on all the systems.

What may be much more handy is mounting the /opt/rh directory from one system to all the developer workstations (using NFS for example). We also can make the /opt/rh read-only, so clients cannot influence other clients.

So, let’s try it. First, we install a collection (in this case Python 3.4) on the NFS server:

Continue reading “Maintain Software Collections easily on thousands of machines using scl register”

Share

How to Use MongoDB 2.4 with Python 3.3 from Red Hat Software Collections

This article is focused on MongoDB 2.4 packaged as software collections. Knowledge of MongoDB basics is recommended, but not required. In case you are not familiar with MongoDB and you’d like to learn more, try MongoDB’s online courses. These courses give you basic knowledge about MongoDB concepts, configuration, and deployment, as well as knowledge of how to program application for MongoDB.

This article is focused on what is different with Red Hat Software Collections (RHSCL) packages. These packages are available in RHSCL 1.1, and RPM packages are prefixed with `mongodb24`, which is also the name of the MongoDB24 collection.

Continue reading “How to Use MongoDB 2.4 with Python 3.3 from Red Hat Software Collections”

Share