ztirom Blog

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...

AX2012 WHS MDP Delet User Session 0

Delete WHS Mobile Device Portal User Session in AX2012

To test the “new” WHS Mobile Device Portal in AX 2012 R3, one can use the WHSWorkExecute form (a nifty WMDP emulator). But while creating a new form inside the WMDP, I managed it to get stuck in a blank form, with no way out. On top it seems like the actual session is saved in the WHSWorkUserSession table and even after logoff / logon...