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:
- Update & Upgrade packages:
apt-get update && apt-get upgrade - Install essential software:
apt-get -y install vim curl unzip ntp sudo debconf dialog - Install nginx:
apt-get -y install nginx - Install php-fpm:
apt-get -y install php5-fpm php-pear php5-gd php5-mysql php5-curl - Install mysql:
apt-get -y install mysql-server - Create regular non-root user with sudo access
- Install drush:
pear channel-discover pear.drush.org && pear install drush/drush - Download Drupal:
drush dl drupal-7 - Configure site directory with proper permissions