Command Line

For each of the following methods, make sure you have the right credentials to each remote server you are working. You need the right pair of username and password of each machine for a successful transfer.

Create a database named database_name and enter your root database password
mysql -u root -p -e "CREATE DATABASE database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci";

Create a Drupal site directory. For this setup, websites are at /var/www/
cd /var/www

chown -R www-data:www-data /path/to/folder/

Note that this is a personal workflow of mine and not a tutorial.  Commands may vary according to your setup.