A Journey of a Thousand Miles Begins with a Single Step

Enabling DNS in VirtualBox NAT engine

For running VirtualBox with Windows. The name of the virtual machine is centos. Replace it with your machine name.

Read more

Add proxy for yum

If you are running a virtual machine for linux centos on your windows host and you have configured CNTLM, you can access in the virtual machine with yum the repository by adding this line in your /etc/yum.conf:

Read more

Import and remove gpg key with rpm

Got to check out Elasticsearch Curator. Elastic use the PGP key D88E42B4. Since working with RHEL 7 I had to use rpm and yum for installing packages.

Read more

Toggle bash history

The linux bash records your commands in the bash history. You can toggle it off and then back on again.

Read more

Parallel steps with Jenkinsfile

Pipeline offers a straight-forward syntax for branching your pipeline into parallel steps. Following example demonstrate how to use the parallel steps with Jenkins. The example is based on my use case, Jenkins generates a rpm artifact with custom software. That software is deployed on multiple servers (aws data centers).

Read more

Disable apt auto update and upgrade

Running Ubuntu Server LTS in a virtual machine, is helpful to test out software installations. Therefore is helpful that apt maintains the update and upgrade periodically. On the other hand if you don’t want that behavior, this post demonstrates how to disable it.

Read more

Resolve ssh host key violations

Having multiple virtual machines for testing and POC (proof of concepts) you install for the “remote” access an OpenSSH server. Everytime you log in into a new machine, you might run into this legit warning:

Read more

Set disc number in id3v2 tag

The TPOS text frame contains the information if the track belongs to a multi set of music cds. Check http://id3.org/id3v2.3.0. The ‘Part of a set’ frame is a numeric string that describes which part of a set the audio came from. The value may be extended with a “/” character and a numeric string containing the total number of parts in the set e.g. “1/2”.

Read more

Parse user agent strings into structured data based on BrowserScope data with logstash

The Apache HTTP Server logs user agent strings. The user agent string contains information like family, operating system, version, and device. Logstash offers a filter plugin to parse this information.

Read more