My name is Stefan Ashwell and when I'm not coding personal projects or painting miniatures, I'm a Software Engineer at Holmes Media in Market Harborough.

This blog is a place for me to write about things that require that little bit extra to solve. We all have gaps in our knowledge and every now and then I need to reach out on search engines or blogs to find an answer. Often, these answers come from multiple sources. This blog serves as a personal resource, but if it's helpful for me I'm sure it'll help others too!

SSH

MySql not restarting on Ubuntu

Posted on 10 March 2016

Today I came across an issue with MySql not restarting correctly. In addition, when rebooting the server, MySql would run for a few seconds and then crash, and would not restart after doing so. It seemed to be down to a rogue MySql process running which was stopping it from starting up again: Running this […]

Continue reading

Transfer files between two servers with scp

Posted on 26 June 2015

When moving a website to a new server, this script comes in handy allowing you to transfer the files directly from one server to the other. This means you don’t have to download to your desktop or re-upload etc. Additionally, the data centres you host with will most likely have a better internet connection than […]

Continue reading

Quick tar command reference

Posted on 24 June 2015

Create an archive of a directory The above command will create an archive of a directory and save it in the location specified. The commands are: c – Creates a new .tar archive file. v – Verbosely show the .tar file progress. f – File name type of the archive file. z – Compress the […]

Continue reading