Question

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) 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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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