Setting Up an Amazon EC2 Server Instance for Drupal Hosting

While I get to actually writing this guide, please refer to the sources below in the meantime.

PHP Performance Tuning

In php.ini, enable and increase the realpath_cache values:

realpath_cache_size = 1M

realpath_cache_ttl = 300

Installing and configuring APC (Alternative PHP Caching)

apt-get install php-pear php5-dev libpcre3-dev make

pear upgrade

pecl install apc

Enable internal debugging in APC [no] : no

Enable per request file info about files used from the APC cache [no] : no

Installing and configuring Node.js on Ubuntu 12.04 for localhost and external multi-site Drupal installations

First, get the pre-requsite packages:

sudo apt-get install build-essential g++ libssl-dev curl git

Then, install the Python Software Properties package:

sudo apt-get install python-software-properties

Add the repository for node.js:

sudo apt-add-repository ppa:chris-lea/node.js

Run updates:

sudo apt-get update

Install Node.js and Node Package Manager:

Subscribe to RSS - Developers