Building the ACM Cluster, Part 11a: Setting up rpmbuild environment
Published on in ACM, ACM Cluster
Up to this point, we haven’t built any custom software for the cluster. I’ve tried very hard to use mostly off the shelf software. However, this has to change. Several of the major components we’re going to use (xen, the fiber card driver, ceph) are not available in the CentOS repositories (or are too old). So we’re going to build them ourselves.
However, rather than build them on a node-by node basis (which would make a single install hours long…), we’re going to build packages. CentOS uses the rpm package format to distribute prebuilt software. So we’ll be building RPMs.
Where do I build RPMs?
Many resources recommend not building RPMs as root. This is quite sensible if you’re doing it on a machine that can’t easily be rebuilt - that way you can’t accidentally overwrite an important file. However, since you
Installing rpmbuild
The primary tool used to build rpms is called, obviously enough rpmbuild. We also need a …