Report this

What is the reason for this report?

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

Posted on July 5, 2018

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.