is it possible to replicate a DO distribution locally?

  • Posted on October 24, 2014
  • yasaiwuAsked by yasaiwu

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

Show comments

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.

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