ztirom Blog

Azure DNS zone 0

Create a DNS zone to point a custom domain to your Azure VM

If you have your own web server up and running on Azure, you surly want to add a custom domain to it at some point. Adding a custom domain on Azure was never easier than nowadays. To do so, you just have to create a new so called DNS zone, which is comparable with the Route 53 service from AWS....

0

Frist steps with Azure IoT Hub

While ordering the new Raspberry Pi 3 Model B today, I just looked into the Azure IoT Hub, tried it out and wrote down what I accomplished till now. If you are interested how I made my first steps with the Azure IoT, while implementing a device registration into ASP.net, just read on. Basically I followed the getting started...

Import PuTTY Keyfile 0

Create an OpenSSH pem Keyfile from a PuTTY ppk file

A few weeks ago I showed how to logon to a Linux Azure VM via PuTTY with a keyfile. Today I want to show how one can create an OpenSSH pem keyfile from a PuTTY ppk file, to use the key with ssh. What we need: PuTTY Key Generator a ppk keyfile Import your ppk keyfile First we need to...

Nginx Azure WordPress Ubuntu Setup 2

Setup WordPress with Nginx on Ubuntu VM at Azure

In the last article we installed MySQL, before that we installed and configured PHP. Now it is time to install WordPress, make a few changes to our MySQL setup and finally create a WordPress blog in our own Ubuntu Azure cloud environment. Overview: Install and Setup Nginx on Azure with a Ubuntu VM PHP with Configuration MySQL Setup WordPress Configure...

MySQL Ubuntu Azure enter Root Password 0

Add MySQL to Nginx Ubuntu VM on Azure

The next step on my way to run WordPress on an Azure Ubuntu VM with Nginx, is to install MySQL. This is not that complicated, so lets just jump right into it. Overview: Install and Setup Nginx on Azure with a Ubuntu VM PHP with Configuration MySQL Setup WordPress Configure Nginx and WordPress Please be aware that the steps I describe in...

VS Code Win Line End Setting 0

Resolving “/bin/bash^M: bad interpreter” with a Shellscript written on Windows in VS Code run on Linux

When writing Shellscripts on a Windows machine and then trying to use the scripts on Mac, I stumbled over the error below: -bash: ./script.sh: /bin/bash^M: bad interpreter: No such file or directory The problem here are the different line endings. Windows will mark the line ending with different control characters, maybe you saw them before, while adding a new...

Azure SSH Save Key 0

Generate and use a SSH Key with PuTTY and an Azure Linux VM

Generating a SSH key and use the result to log in to your Azure Linux VM is not that hard to accomplish. In the following article I want to go over the steps. Get PuTTYgen to generate your SSH key First we need to download another “PuTTY” tool called PuTTY Key Generator. Just download the PuTTYgen executable and start...

Azure NGINX Ubuntu Result 0

Setup Nginx and Ubuntu on Azure

While migrating a WordPress site from Apache to Nginx on AWS, I started setting up the equivalent environment in Azure and thought it would be nice to write the steps down. First I want to start with the basic setup. Overview: Install and Setup Nginx on Azure with a Ubuntu VM PHP with Configuration MySQL Setup WordPress Configure Nginx and WordPress Please...