/ubuntu-nginx-happiness

Ubuntu + NGINX settings for: wordpress + html5 + nodejs

Apache License 2.0Apache-2.0

ubuntu-nginx-happiness
-------------------------------------
HOW TO INSTALL FAST UBUNTU WEBSERVER (VARNISH, PHP5-fpm, NGINX, multidomain, http & wordpress)
=============================
Step by step:  console commands, config files and real life examples for setting up the web server based on Ubuntu + NGINX + Varnish + WORDPRESS + HTML Websites.
Additionally, I've added my 'reasonable speed' and efficiency optimizations for small (to medium) size servers (256mb to 2gb processor + 256mb to 3gb RAM).

It is compatible with Ubuntu (tested on 13.04, 13.10 and 14.04), Debian (testing line)- but most of the work flow after carefully reading can be adapted to any Linux web server installation scenario.

This is a cheat sheet I use every single time for my own purposes, when I'm setting up a production web server. As it is rather not exciting and time consuming task - I have decided to make a small repo with all those boring things as configs and steps - necessary to set things up and running.. without digging through various manuals, wikis, forums.

Usually I use cloud based virtual servers but it should* works just for any working web server based on Ubuntu.

* - Please use your own brain! And don't blindly copy and paste commands to your terminal - for your own safety.

Follow instructions from 'ubuntu command line' file.
'Ubuntu command line' file contains all console commands, instructions, and file examples needed for complete installation.

How you should read files hierarchy:

/    (root)

 |

  ---> /etc

 |        |

 |        ---> /etc/nginx

 |                     |

 |                     ---> /etc/nginx/html (for 50.. sites)

 |                     ---> /etc/nginx/sites-available (template configs for websites)

 |                     ---> /etc/nginx/sites-enabled (enabled template configs)

 |

 ---> /var

        |

        --->/var/www (here are dragons)