{"id":3280,"date":"2012-04-05T10:59:35","date_gmt":"2012-04-05T09:59:35","guid":{"rendered":"https:\/\/www.darknet.org.uk\/?p=3280"},"modified":"2012-04-05T11:00:01","modified_gmt":"2012-04-05T10:00:01","slug":"server-migration-moved-to-linode-and-changed-to-nginxphp-fpmapcw3tc","status":"publish","type":"post","link":"https:\/\/www.darknet.org.uk\/2012\/04\/server-migration-moved-to-linode-and-changed-to-nginxphp-fpmapcw3tc\/","title":{"rendered":"Server Migration – Moved To Linode! And Changed To Nginx\/PHP-FPM\/APC\/W3TC"},"content":{"rendered":"
So lately I’ve being doing a lot more DevOps<\/a> stuff than security stuff and I’m pretty much enjoying it (apart from some of the tedious sys-admin stuff).<\/p>\n So with some of the new stuff I’ve learnt along the way, I decided to move Darknet from a rather bloated managed VPS with 2GB of RAM and Cpanel + a bunch of other crap to a very lean 512MB unmanaged VPS instance on Linode<\/a>. This has no control panel, no DNS server (using Linode DNS now), no mail server (switched over to Google Apps) and a very minimal software setup.<\/p>\n <\/a><\/p>\n I also shifted from Apache2 to nginx + PHP-FPM which is a lot more memory friendly, and PHP-FPM has very intelligent self-healing and auto-scaling features.<\/p>\n And I’ve managed to get W3 Total Cache working nicely with the site, so basically all pages are served as static HTML, js + css are minified and DB + WP objects are cached in APC.<\/p>\n The most memory I’ve used so far is a little over 100MB, and the most CPU I’ve used is 32% out of an available 400% (4 cores) – pretty good for a reasonably busy site like this.<\/p>\n Anyway if you find the site faster or slower now, let me know – and if you see any weird stuff\/errors\/missing pages – please let me know (either in a comment here or via the Contact Page<\/a>).<\/p>\n