Monthly Archives: October 2017

Install WordPress on Nginx

Download latest wordpress code:

Extract files:

Copy all extracted files to /var/www/html folder:

Change directory to /var/www/html folder:

Change group and owner of all files to www-data:

Create MySQL user for mysite.com:

Create wp-config.php file and update as per above details.

To create a virtual host please follow this post