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