This script asks a series of questions and then creates a linux account, and configures nginx, php-fpm and MySQL database and user.
To install or update the script run the following curl script
curl -o- https://raw.githubusercontent.com/clivewalkden/bash-magento2-account-create/v1.0.2/install.sh | bash