diff --git a/README.md b/README.md index d1dc267..b98b2ad 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## quick-lemp -Two Scripts to quickly install a [LEMP Stack](https://lemp.io) and perform basic configuration of a new Ubuntu 14.04 LTS (Trusty Tahr) server. +Scripts to quickly install a [LEMP Stack](https://lemp.io) and perform basic configuration of new Ubuntu 12.04, 13.04, 14.04, and 15.04 servers. Components include a recent stable version of Nginx (1.8.0) using configurations from the HTML 5 Boilerplate team, uWSGI, and MariaDB 10.0 (drop-in replacement for MySQL), PHP5, and Python. @@ -24,18 +24,29 @@ __Stack__ - Installs and configures LEMP stack with support for PHP and Python a ### Quick Start You should read these scripts before running them so you know what they're -doing. Changes may be necessary to meet your needs. +doing. Changes may be necessary to meet your needs. The generic Ubuntu files are +intended to be cmpatible with Ubuntu 12.04, 13.04, 14.04, and 15.04. __Setup__ should be run as __root__ on a fresh __Ubuntu__ installation. __Stack__ should be run on a server without any existing LEMP or LAMP components. If components are already installed, the core packages can be removed with: ``` -apt-get purge apache mysql apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql +apt-get purge apache mysql apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common \ +libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl \ +libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common \ +php5-mysql apt-get autoclean apt-get autoremove ``` #### Setup - Basic setup for new Ubuntu server: +##### 12.04, 13.04, 14.04, and 15.04 +``` +curl -LO https://raw.github.com/jbradach/quick-lemp/master/quicklemp-ubuntu-setup.sh +chmod +x quicklemp-ubuntu-setup.sh +./quicklemp-ubuntu-setup.sh +``` +##### 14.04 only ``` curl -LO https://raw.github.com/jbradach/quick-lemp/master/quicklemp-trusty-setup.sh chmod +x quicklemp-trusty-setup.sh @@ -43,6 +54,13 @@ chmod +x quicklemp-trusty-setup.sh ``` #### Stack - Installs and configures LEMP stack: +##### 12.04, 13.04, 14.04, and 15.04 +``` +curl -LO https://raw.github.com/jbradach/quick-lemp/master/quicklemp-ubuntu-stack.sh +chmod +x quicklemp-ubuntu-stack.sh +./quicklemp-ubuntu-stack.sh +``` +##### 14.04 only ``` curl -LO https://raw.github.com/jbradach/quick-lemp/master/quicklemp-trusty-stack.sh chmod +x quicklemp-trusty-stack.sh