Installing LEMP Ubuntu 14.04

After watching tutorial about nginx, got me thinking trying my own... I'm using Ubuntu 14.04 using rackspace here are my steps on installing the LEMP (Linux Nginx Mysql Php), why ubuntu 14.04?
what is new in ubuntu 14.04

Supported for five years by Canonical
Certification as a guest on AWS, Microsoft Azure, Joyent, IBM and HP Cloud
Updates to Tomcat (v7), Postgresql (v9.3), Docker v(0.9), Puppet (v3.0), Qemu (v2.0), Libvirt (v1.2), LXC (v1.0) and MySQL (v5.5)
The first production release of Open vSwitch 2.0 with full kernel integration
Runs on x86, x86-64, ARM v7, ARM64 and Power

NGINX

 sudo apt-get update
sudo apt-get install nginx
sudo nano /etc/nginx/nginx.conf

Set Rackspace firewall after install webserver

MYSQL

 sudo apt-get install mysql-server
sudo mysql_install_db
sudo mysql_secure_installation
mysql -u root -p

PHP

 sudo apt-get install php5-fpm php5-mysql
sudo nano /etc/php5/fpm/php.ini
sudo service php5-fpm restart
sudo nano /etc/nginx/sites-available/default
configure
from default
to new
only this
sudo nano /etc/nginx/nginx.conf
sudo service nginx restart

sudo nano /usr/share/nginx/html/info.php

Subscribe to You Live What You Learn

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]
Subscribe