Skip to content

rkruk/Ubuntu-Nginx-PHP5-fpm-Varnish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW TO INSTALL FAST UBUNTU WEBSERVER

with

VARNISH, PHP5-fpm, NGINX

+

Multidomain Setup

for

HTML Websites & Wordpress)

***

Step by step:

Console commands, configuration files and real life examples for setting up 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).

This instructions are 100% compatible with Ubuntu (tested from 13.04 to 18.04.1), Debian (testing line)- but most of the workflow 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 server installs, 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 cheatsheet log with all those commands, configs - 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! Don't blindly copy & 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 the dragons)        

About

Ubuntu + NGINX settings for: wordpress + html5 + nodejs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published