In this tutorial I explain how to build a train departures board using a Raspberry Pi, an I2C LCD, Python and the Tokyo Open Data for Public Transportation API.
I messed up.
Apache is back, now that our webserver has more horsepower and needs better compatibilty to remain versatile.
Don’t get me wrong. NGINX still blows me away on the Raspberry Pi, but Apache seems very capable on our current platform.
I quickly learned that Varnish and MySQL do not cooperate well on a single CPU virtual machine with 2GB of memory available too.
Google Pagespeed Insights got me all OCD about performance, and some of the load-time reduction tips affected the presentation of the site, so I had to find a compromise.
How was your visit today? Fast? Slow? Let me know in the comments 🙂
The server runs FreeNAS 9.10 to provide network-attached storage to my home network. FreeNAS also allows users to run virtual machines via the VirtualBox hypervisor. This enabled me to replace my Pi webserver with a Centos 7 virtual machine running a LAMP stack for hosting both Bendayo and Junkocooper.com. I also have a Windows 10 Pro VM on standby for testing software or running windows-only utilities.
I’m currently having some issues with mySQL crashing due to memory restrictions / my awful configs in the Centos virtual machine. I’m looking forward to getting my head around it over the coming weeks.
I’ve replaced some of the stock hardware in the Gen8 Microserver, and I’ll do a rundown in a future post. Until then, why not consider getting your own Microserver?