DevOps

All articles categorised as DevOps.

Migrate an SVN repository to TFS

It’s no secret that I’m a big fan of Microsoft’s Team Foundation Server (TFS.) It is a complete tool for managing an application throughout its lifecycle. However I was bought up (and learnt most of my programming skills) on open-source software. It’s important to me that I don’t forget my roots!

While TFS is a fantastic tool for commercial application lifecycle management, SVN (Subversion) also has its place in corporates. It’s free and has lower training overhead: perfect for companies that don’t need anything other than source control (or use other tools.)

In this article I’m going to teach you how to migrate an SVN repository (including all its history) into TFS using a Git repository.

DevOps Read more


Why I prefer self-hosted Git repositories to Github, Bitbucket, etc.

It’s the year 2018 and it’s impossible for a software developer to have not heard about (or used) Github, or a variant like Bitbucket. Even self-hosted Git evangelist GitLab is a popular choice.

At the start of February 2018, I provisioned a new Cloud VPS to run my website and other apps. I also chose to migrate all my private Git repositories to it and cancelled my paid Github subscription.

This article explores the reasons why I went self-hosted.

DevOps Read more


Redirect all visitors to a primary domain in Apache

There are several scenarios in which you may want to redirect all your website visitors to a single, primary domain in Apache:

  • Redirect the www and non-www (root domain) hostnames of your domain to avoid duplicate content and improve SEO
  • Redirect an old domain to a new domain, maintaining links and search engine reputation
  • Redirect secondary domains (e.g. “spelling mistake” domains, or alternative-spelling domains) to your primary domain

I have recently implemented the following on my own website, and I would like to share this Apache trick.

DevOps Read more


Install a LAMP stack (Apache, MariaDB, PHP) on Ubuntu Server

Ubuntu Server is a Linux distribution that is ideally suited to server workloads. For example: hosting websites and web applications.

In this tutorial, I’m going to show you how to install a LAMP stack – that’s Apache, MariaDB (in place of MySQL) and PHP – on Ubuntu Server using the latest available releases, and how to keep it up-to-date.

DevOps Read more


Encrypt your database with MariaDB encryption at rest

The new EU data protection legislation, GDPR, mandates that every reasonable effort and technology is used to protect personal data. It even goes as far as specifying encryption. The open-source database MariaDB (a drop-in, compatible replacement for MySQL) has supported “encryption at rest” since version 10.1. Use MariaDB encryption to satisify the GDPR recommendation of using encryption to protect your personal data.

Let’s have a look at what it can do and how you can set it up. You won’t have to make a single change to your website or application!

DevOps Read more


Upgrade Ubuntu Server 16.04 to 18.04

The Ubuntu team will this week release Ubuntu Server 18.04.1, the first minor revision to 18.04 since its release on April 26th.

Following the release on July 26th*, Ubuntu 16.04 machines everywhere will soon start to get notifications that a new release is available to upgrade to.

In this article, I’ll show you how to upgrade Ubuntu 16.04 to 18.04 using the command-line. This can be used on all Ubuntu derivatives, but is mostly aimed at Server installs that do not have a graphical interface.

DevOps Read more