Report this

What is the reason for this report?

is it possible to replicate a DO distribution locally?

Posted on October 24, 2014

It seems DO distributions are fairly different from the official ones. That together with the impossibility of downloading images or backups means it’s very challenging to configure identical local (testing) and remote (production) server environments.

what would be the best way to ensure your local and remote servers are as similar as possible?

are there downloadable images or configuration scripts to go from say, a stock Ubuntu 14.04x64 to a DO Ubuntu?

I know being able to download and upload images is a planned feature, but what can we do in the meantime?

Thanks! :)



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.

This question was answered by @ryanpq:

While it is not possible to download an image the stock OS images are not highly customized. If you want to replicate the exact selection of packages installed by default you can do so by grabbing a list of the installed packages on your droplet:

dpkg --get-selections | grep -v deinstall > ~/packages

and then ensuring those packages are installed on your local computer

cat ~/packages | sudo dpkg --set-selections && sudo apt-get dselect-upgrade

View the original comment

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.