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

October 11, 2016 1.1k views
LAMP Stack Ubuntu 16.04

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 ?

2 Answers

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

Have another answer? Share your knowledge.