Question

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

Posted October 11, 2016 1.3k 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 ?

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.

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

Submit an Answer