Is there a way to completely automate an Ubuntu 18.04 install?
Whenever I spin up a new droplet, I always do the following:
Install nginx (setting domain name, etc. in the config)
Create a mysql user for Wordpress
Install Wordpress, configure it using the newly created MySQL user and set up caching, etc.
Install WP-CLI and install several standard Wordpress plugins
Is there a quick way of automating most/all of the above when creating a new droplet other than cloning an existing droplet and modifying the configs manually?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.