Make a directory to house the Drupal 8 project and code
a. mkdir [dir project name]
Run composer
a. composer create-project drupal-composer/drupal-project:8.x-dev . --no-interaction
Run .mkv-host script
a. sudo ./mk-vhost-conf --set-hosts [domain name] --drupal
Copy the Drupal 8 project and code to the vhost dir
a. mv [dir project name] /srv/www/
Set permissions to the new web dir
a. sudo chown -R [username]:www-data .
b. find . -type d -exec chmod u=rwx,g=rx,o= '{}' ;
c. find . -type f -exec chmod u=rw,g=r,o= '{}' ;
d. Change directory to the sites under the web dir
e. find . -type d -name files -exec chmod ug=rwx,o= '{}' ;
f. for d in ./*/files; do find $d -type d -exec chmod ug=rwx,o= '{}' ;; find $d -type f -exec chmod ug=rw,o= '{}' ;; done