30

Sep/18

Manually Setting Up Webserver Time Trial

Overview In this day and age, setting up a server is a non event with cloud computing. I am currently behind in setting things up manually and scripts rather than using a tool. I have dabbled in Vagrant and Chef. … Continue reading

3

Sep/18

HAProxy Redirect Unknown Subdomains

Overview It’s possible to redirect non configured sub domains to a different error message rather than a default or error 503 which is a server side error. Edit /etc/haproxy/haproxy.cfg and add the following to the default frontend: default_backend no-match Then … Continue reading

6

Aug/18

Ubuntu to Alpine Docker Images

I did a quick test and switched the base OS in a docker image which I use for backing up MySQL database and the size difference is amazing! Going from Ubuntu 18:04 to Alpine latest (version) means the combined OS … Continue reading

4

Jun/18

Securing HAProxy Headers

Overview https://securityheaders.io will give a score of how well placed the HTTP headers are on a site ranging from A+ to F (not sure what the R rating is for). Headers are a powerful meta (invisible to the naked eye) … Continue reading

7

May/18

Cannot load from mysql.proc. The table is probably corrupted

I was trying to update accounts in MySQL and got the following error message: Cannot load from mysql.proc. The table is probably corrupted A little bit scary if my data was corrupted. Turns out there is an upgrade command which … Continue reading

5

Dec/16

Post MySQL Install

After installing MySQL you can run the below command to secure your install: sudo mysql_secure_installation The script will ask a bunch of questions and act accordingly so it is only as secure as you want it to be but it … Continue reading

4

Apr/16

Dockerising WordPress

Overview Container software has really picked up in popularity in part thanks to Docker and the concept is great. So much so I wanted to try it on my blog. Topology My setup consisted of a single instance on DigitalOcean … Continue reading

22

Feb/16

Migrating From Ubuntu 14.04 To 16.04

Overview I have written migration plans for Ubuntu upgrades before. What makes it different this time is the hybrid Docker containers that I have used in places and the support for virtual IP (VIP) in Digital Ocean, my current hosting … Continue reading