Giter Club home page Giter Club logo

ubuntu-nginx-php5-fpm-varnish's Introduction

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)        

ubuntu-nginx-php5-fpm-varnish's People

Contributors

rkruk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

coreyallen mikeph

ubuntu-nginx-php5-fpm-varnish's Issues

PHP Versions

Check compatibility between php5 and php7 on recent Ubuntu version. If things got changed again - correct 'ubuntu command line' file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.