How to Build a LEMP/Drupal Server VM in Cloud

2015-05-09

Jitesh Doshi

How to Build a LEMP/Drupal Server VM in Cloud

Video tutorial showing how to build a LEMP (Linux+Nginx+MySQL+PHP) server VM in the cloud and run Drupal on it.

This video shows how to build LEMP (Linux+Nginx+MySQL+PHP) server VM in the cloud and run a Drupal site on it.

In case you decided to sign up with Vultr, use my affiliate link here.

Key steps:

  1. Update & Upgrade packages: apt-get update && apt-get upgrade
  2. Install essential software: apt-get -y install vim curl unzip ntp sudo debconf dialog
  3. Install nginx: apt-get -y install nginx
  4. Install php-fpm: apt-get -y install php5-fpm php-pear php5-gd php5-mysql php5-curl
  5. Install mysql: apt-get -y install mysql-server
  6. Create regular non-root user with sudo access
  7. Install drush: pear channel-discover pear.drush.org && pear install drush/drush
  8. Download Drupal: drush dl drupal-7
  9. Configure site directory with proper permissions