03

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

06

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

04

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

07

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

05

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

04

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

04

Jan/16

Git Submodule v.s Subtree

Overview Incorporating libraries that are separately version controlled but requiring it as a dependency can be done in git but there are different ways of doing it. As an example I have used Git’s submodule and subtree. I started with … Continue reading