Linux

All articles categorised as Linux.

Deploying PHP applications with RunCloud on UpCloud

My first post of 2019 is a tutorial that’s all about the cloud.I’m going to show you how to deploy a PHP application with a MySQL database on a cloud server from UpCloud. I’ll be using the brilliant RunCloud control panel to deploy my PHP photo gallery – Blue Twilight – to an UpCloud server.My friends over at UpCloud have provided an awesome promo-code for free credit to try out their service. Details at the end of the article.Let’s start with a quick introduction of these 2…

DevOps, Software Development 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…

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.Most websites and applications would need significant work…

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.One of the annoying things I find about some Linux distributions – Ubuntu included – is that packages are “frozen in time” through the life of a release. For example, Ubuntu 16.04 was released with PHP 7.0. However PHP 7.2 is now the latest release. Vendors typically apply security fixes to their packages, but you’re still missing out on new features.In…

DevOps, Software Development 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.I have held a paid-for Github account for a few years now. Github hosts my open-source PHP photo gallery, Blue Twilight.However, 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…

Software Development Read more


The Great Big Cloud Hosting Speed Test 2017

2017 was an exciting year for the bigger players in the cloud hosting arena.Both Linode and DigitalOcean upgraded their network capacity.OVH opened new data centres in Germany and the UK.Bytemark launched an automated backup service for their cloud server platform.My own hosting provider, Memset, launched a new OpenStack region in their wholly-owned Dunsfold data centre. They also launched block storage for VPS and rebranded their product range to be more “cloud.”With all these improvements…

Software Development Read more


Server maintenance – 1st/2nd November

My hosting company, Memset Ltd., have advised me they will be performing important maintenance work on their Miniserver platform.This maintenance is to apply critical security patches to the Linux kernel of the physical servers that host the virtual servers like mine – that power this website.It is taking place between 22:00 GMT on 1st November and 04:00 GMT on 2nd November. My server will be down for 15-30 minutes during this period.This affects my:personal website/blog (this…

Miscellaneous Read more


Linode: Why I chose them to host my website and applications

Software developers sometimes have to get involved in choosing an infrastructure partner or web hosting provider, especially if that developer runs their own application or websites, or they work in a small company that can’t afford (or don’t want) to employ separate infrastructure engineers.In my current role as a technical consultant, I can be called upon by a client to recommend a hosting environment, so it’s important I know what’s available on the market, and who to trust.This is…

Software Development Read more