Question

Is there a way to completely automate an Ubuntu 18.04 install?

Posted July 5, 2018 1.3k views
Nginx PHP WordPress Ubuntu 18.04 Automated Setups

Whenever I spin up a new droplet, I always do the following:
Install nginx (setting domain name, etc. in the config)
Install php7.0-fpm
Install mysql
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?

Thanks

Will

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.

1 answer

Hello friend!

Actually we do have something for just that, which should make this a much faster process for you. Take a look at this page for more detailed information:

https://www.digitalocean.com/docs/droplets/resources/metadata/

Now it will be important to remember that your server will be up and running before those items finish installing, so you might give it a few minutes and let it run through the steps before logging in to use it.

Kind Regards,
Jarland
Platform Support Lead

Submit an Answer