node.js run with root privileges on MacOS on start
How long it’s quite easy to setup init.d services on linux boxes, same task on Max OS machines is pretty hard. Especially if you need to run it with root privileges.
How long it’s quite easy to setup init.d services on linux boxes, same task on Max OS machines is pretty hard. Especially if you need to run it with root privileges.
EC2 Instances on Amazon out of the box, does not contain any SWAP space . So if you exhaust memory, machine probably stuck. It’s very good practice, to give them at least slow SWAP memory to save instant crashes.
Process is quite simple. Let’s check how much free space we have:
As much as I love lighttpd sometimes I can’t avoid Apache . For me – “the best” thing in lighttpd is support for keeping vhost names in MySQL database. I don’t have to use any config files, I can just put record into MySQL database with virtual host server name, path to document root and it’s done. But – I can do the same witch Apache! How? With third party modules, below you can find short tutorial “how to”.
Google Page Speed Online is really good service for measuring and optimising your website. After deep analysis we get a lot if clues how to improve speed of your website. But how to Leverage browser caching if we have Lighttpd instead default Apache? We need to use mod_expire .