ztirom Blog

AX2012 AIF WCF Configuration 0

How to fix the MaxReceivedMessageSize error while using an AX2012 AIF service

The error message: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. What is the cause? When you setup your AIF Service in AX2012 (basically a WCF service), you can also define an property called MaxReceivedMessageSize for your binding. The problem is, the MaxReceivedMessageSize...

Setup SSL Lets Encrypt HTTP HTTPS 0

Setup SSL on an Azure Ubuntu VM running Apache

Setting up an own SSL certificate was never easier and cheaper as nowadays. With Lets Encrypt free SSL certificates are just one Github repository away. In this post I want to show you, how to setup SSL for your Ubuntu VM on Azure, while running an Apache web server. As always before we begin, get the system up to date: Install...

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

Create an Azure IoT hub 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...