The following post explains steps I took to install and enable mongoDB 3.2.1 as a service running under CentOS 7. Install development tools and libraries, download mongoDB and compile source, and install the compiled binaries: Set up a mongod account and relevant directories: Copy over mongod.conf and mongod.service configuration files with modifications for our setup: […]
Category Archives: documentation
Regression testing of SHA-1 signatures via command-line
I wrote a data extraction utility which uses PolarSSL to export a Base64-encoded SHA-1 digest of some internal metadata (a string of JSON-formatted data), to help validate archive integrity: $ unstarch –sha1-signature .foo 7HkOxDUBJd2rU/CQ/zigR84MPTc= So far, so good. But now I want to validate that the metadata are being digested correctly through some independent means, […]
Selecting a new gcc version installed via MacPorts
MacPorts is useful for installing a variety of command-line utilities and programs for Mac OS X. There are others, e.g. Homebrew. After using MacPorts to update a GNU gcc installation, it is useful to select the new revision. Tips were posted to this Stack Overflow thread. Basically, it boils down to two steps: sudo port […]