A Journey of a Thousand Miles Begins with a Single Step

Use custom docker registry

Using docker since 2013 allows you to use custom docker registries with the docker pull and push commands. Just add the registry location to the repository name.

Read more

Install docker on CentOS as virtual machine

Working with Windows sucks. Working with Docker and Windows also sucks. Working in a company with Docker and Windows sucks big time. Besides security and proxy everything is a hassle, because connectivity, filesystem or permissions might not work out of a box. Too many workarounds for docker freshmen. So I decided to run docker in a CentOS virtual machine. That is the closest thing to RHEL. This post demonstrates how to get Docker installed and properly configured, so you can work with docker with great pleasure :wink: .

Read more

Deploy rpm file to Artifactory with maven deploy:deploy-file

The maven deploy plugin allows to deploy artifacts and files to your internal repository. If you happen to have a Maven Repository like Sonatype Nexus or JFrog’s Artifactory the plugin is the right choice. This post covers how to deploy a rpm file to Artifactory. The Maven repository itself is not covered here.

Read more

Highlight lines in vim

To highlight lines that exceed more than 80 characters, we can colorize the extraneous characters.

Read more

Setup keyboard language in CentOS

Got a weird situation, my keyboard is US_EN and it appears the shell has CH_DE.

Read more

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