1. Apache 2.4 installation on CentOS 6.6

    It turns out that installing Apache 2.4 on CentOS 6.6 is a bit of a pain.

    These are the notes I compiled after a lot of effort and many Google searches :) Scroll to the bottom for the sources!

    Install the Development tools and dependencies:

    yum groupinstall Development tools …

  2. Creating a Yum repository and accessing it over SSHFS

    Quick notes on how to create a Yum repository and mount it over SSHFS as a local repo.

    On the server side (that is where the Yum repo actually lives):

    1. Install the "createrepo" package:

    yum install createrepo -y
    

    2. Create a directory to use as the repo container:

    mkdir …

  3. logtail2 - get only new lines from logfiles

    Some time ago I was working on a project where we only wanted to process the new files from a logfile - the requirement was that we should never process the same line more than once.

    So we started counting the lines of the logfile and adding a bunch of checks …


  4. Simple RPM packages with FPM

    Recently I've been working on a project where we had a need to put together some shell scripts in a package to use in CentOS servers.

    We could have easily tarred them up, but then updating a bunch of servers consistently whenever we had an upgrade would be a pain …


Page 5 / 13