i formatted my hard driver, i need to reinstall lamp again?

i had installed lamp in my pc, but it was necessary to formatted, so now i dont know if i reinstall or just use my root login ?


Submit an 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.

If you formatted your only disk then any files, settings, or configuration would be lost. Formatting deletes everything on a disk partition.

If you somehow formatted your disk on a DigitalOcean droplet you can either delete the droplet and create a new one, or if you want to keep your IP address, in the control panel find the delete page and use the “rebuild” option at the bottom of the page. This will allow you to keep your IP address and rebuild your droplet from one of our images (including the LAMP image).