Line breaks in Visual STudio Code and Git (LF vs CRLF)

Background
In Windows a line break ends with the characters <CR><LF> and in Linux a line break is only a <LF>.
So usually line breaks in text files in Windows should be ending with <CR><LF> and in Linux they should end with <LF>. In mixed environments (Windows/Linux) this is something one has to take into account.

Continue Reading

VMware Home Lab

It is nice too have your own home lab with VMware ESXi to play around. In this post I am describing how my home lab looks like using nested ESXi.

Continue Reading

WordPress Unable to create directory

When you get the error ” Unable to create directory wp-content/uploads/2021/12 ” when you are uploading media in WordPress something is wrong with the folder permissions. Another well known error is “The uploaded file could not be moved to wp-content/uploads/2021/12.”

Continue Reading

Airquality with Raspberry Pi

I have been experimenting with the Raspberry Pi and the Bosch BME680 and Plantower PMS5003. With the BME680 you can measure temperature, air pressure, humidity, and VOC gas (Volatile Organic Compunds). With the PMS5003 particles can be measured. Also used a Telegraf agent, Influxdb2 and Grafana.

Continue Reading

Installing a Kubernetes cluster the hard way

Installed a first Kubernetes cluster consisting of 1 master node and 1 worker node on CentOS 7. Kubernetes has version 1.6.2.

Kubernetes is not working with CentOS 8 yet so I have used the latest CentOS 7. Everything is installed on Oracle VM VirtualBox on a Windows 10 host.

Continue Reading

Create a WordPress server with Ansible on AWS – Step 1

The idea is to fully script the creation of a WordPress server including the database on CentOS 8 and Amazon Web Services. For this Ansible will be used. I will describe this in several steps/posts.

Step 1 Create the Linux server
Step 1 is to create the Linux server from a bastion host within AWS. For now we will use CentOS 7 because CentOS 8 is not availabe. Later it will be changed for CentOS 8.

Continue Reading