• Elastic Stack

    This is the first of three posts about Elastic Stack. Introduction At a glance, Elastic Stack is a web based search engine. It’s like Google. For your logs. Elastic stack contains multiple components. Elasticsearch stores your data, and eats all your disk space. Kibana, the web interface. It looks nice, ...


  • Using systemd timers

    You might, like me, once have tried to get something to run on the first monday of the month, or maybe the last friday of the month, or something else that’s a combination of a weekday (Mon–Sun) and a «week» (i.e. a date range, like 01–07). The naïve approach is ...


  • Spicing up your own access with capabilities

    I’ve always had a bad conscience about the audit trail on the servers I manage. Sure, we use personal accounts and sudo, so we know who ran every command. Unfortunately, the command in the sudo log is often just “bash”. The reason for this is simple: It is quite awkward ...


  • Adventures in bash - catching several exit values in a piped set of commands

    All in all, very odd, bash continues to be the most bizarre of languages, convoluted, twisted, but with strange solutions thrown in just when you are about to give up hope entirely.” (forum post at Techpatterns ) When re-working a database backup script at one of my customers I stumbled ...


  • PaaS Play

    The intention of this post is to get oneself kick-started into playing with Platform as a Service (PaaS) by interacting with a lab environment that is running in a VM on your local machine. It relies heavily on other parties (OpenShiftOrigin, jmorales, Red Hat and JavaZone) prior work that I ...


  • Publishing Jekyll updates with gitlab-ci

    Our company has embraced our local GitLab installation extensively. At its core, GitLab provides a repository management system based on the Git versioning system. A very practical extension to GitLab is the Gitlab CI feature. In short, the GitLab CI is a set of commands that can be run when ...


  • Liberating the network

    The network is a very proprietary place. When you buy an IP router or an Ethernet switch, what you’re really buying is a tightly integrated bundle of hardware and software. Mixing and matching software and hardware components in order to design a network infrastructure tailored to your precise set of ...


  • Grooming your SSL/TLS setup with cipherscan

    If you rely on ssl/tls certificates and you have a slew of services to maintain online, things can quickly get out of hand. If you don’t have the time or the resources to keep up to speed with what ciphers to disable or what techniques to employ serverside, you might ...


  • Welcome to a new season of our SysAdvent Blog!

    The staff at Redpill Linpro will this December again run an advent calendar with sysadmin-related content! Our season two of the SysAdvent Calendar will kick off, as expected, on December 1st. As with the original sysadvent blog, the article contents this year will be a bit longer compared to last ...


  • Thank you for visiting our SysAdvent Blog!

    We hope you have enjoyed the articles! This is the last post in this years sysadvent. If you want to read more, we have other blog entries at our main site, our employees have personal blogs that are aggregated at Planet Redpill Linpro, or you can visit the original sysadvent ...


  • RedHat Performance Tuning

    Performance tuning is done to increase system performance, reduce power usage or to ease the application impact on the rest of the system. If done prematurely, or without any measurements, performance tuning may, of course, have the opposite effect. But done systematically, performance tuning can be more of a science ...


  • Logging elapse time in apache and nginx

    Logging the elapse time in the web server access log can be very useful for statistics and problem solving. I usually throw it in at the end of the log line (that’s generally compatible with existing log-analysis tools like awstats), and on a keyword=value format so that it’s easy to ...


  • Quick Remote File Access

    Sometimes it is be nice to mount a path from a remote file system as if it was local. Setting up NFS or Samba may be a lot of hassle, and may require root access on one or both of the boxes. Enter FUSE and sshfs. FUSE makes it possible ...


  • SSH autocompletion, jumphost automation and other tips

    OpenSSH is a flexible tool for not only logging into other servers, but to also help tunnel other network traffic. The following article is a grab-bag of useful SSH tips. SSH per-user configuration file Using the per-user configuration file, ~/.ssh/config you can make your life a bit easier. One common ...


  • Recording and replaying console sessions

    Ever wanted to record a log of an interactive console session? Easy, just use the script utillity. It’s probably already present on your system, no installation required. To start recording, ...