Server Migration – Moved To Linode! And Changed To Nginx/PHP-FPM/APC/W3TC

The New Acunetix V12 Engine


So lately I’ve being doing a lot more DevOps stuff than security stuff and I’m pretty much enjoying it (apart from some of the tedious sys-admin stuff).

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. 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.

Linode VPS

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.

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.

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.

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).

And yah, if you do want to sign up with Linode, please use the links on this page – if you stay a customer for 3 months I’ll get $20 credit which will go towards the hosting costs of this site :)

Posted in: Site News

,


Latest Posts:


testssl.sh - Test SSL Security Including Ciphers, Protocols & Detect Flaws testssl.sh – Test SSL Security Including Ciphers, Protocols & Detect Flaws
testssl.sh is a free command line tool to test SSL security, it checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as recent cryptographic flaws and more.
Four Year Old libSSH Bug Leaves Servers Wide Open Four Year Old libssh Bug Leaves Servers Wide Open
A fairly serious 4-year old libssh bug has left servers vulnerable to remote compromise, fortunately, the attack surface isn't that big as neither OpenSSH or the GitHub implementation are affected.
CHIPSEC - Platform Security Assessment Framework CHIPSEC – Platform Security Assessment Framework For Firmware Hacking
CHIPSEC is a platform security assessment framework for PCs including hardware, system firmware (BIOS/UEFI), and platform components for firmware hacking.
How To Recover When Your Website Got Hacked How To Recover When Your Website Got Hacked
The array of easily available Hacking Tools out there now is astounding, combined with self-propagating malware, people often come to me when their website got hacked and they don't know what to do, or even where to start.
HTTrack - Website Downloader Copier & Site Ripper Download HTTrack – Website Downloader Copier & Site Ripper Download
HTTrack is a free and easy-to-use offline browser utility which acts as a website downloader and a site ripper for copying websites and downloading them for offline viewing.
sshLooter - Script To Steal SSH Passwords sshLooter – Script To Steal SSH Passwords
sshLooter is a Python script using a PAM module to steal SSH passwords by logging the password and notifying the admin of the script via Telegram when a user logs in.


5 Responses to Server Migration – Moved To Linode! And Changed To Nginx/PHP-FPM/APC/W3TC

  1. geeknik April 5, 2012 at 6:23 pm #

    Linode is awesome! Been with them for almost a year, zero downtime, no complaints. Good choice! =)

  2. Spoonfed April 6, 2012 at 10:00 am #

    Can you detail maybe a bit more on how you set this thing up? This sounds like a dream to be running such a setup.

    • Darknet April 6, 2012 at 4:40 pm #

      If you have any specific questions let me know, I’ll be happy to answer :)

  3. infodox April 6, 2012 at 12:02 pm #

    Wow, never had checked out Linode before but it does look pretty amazing! Cheap too! Will be using your referral link obviously, gotta support other webmasters/security people :)

    BTW, as Spoonfed asked – care to explain the config you used? Provide some setup advice?

    • Darknet April 6, 2012 at 4:41 pm #

      Mostly just read/researched (stackoverflow, nginx documentation). nginx just installed from stock Ubuntu 10.04 repo, php-fpm from a backport. APC latest version using PECL, w3 total cache using minify to disk, object & db cache with APC and advanced disk page caching.

      Just do it, that’s my only advice – you’ll learn a lot along the way :)