Can get my LAMP stack up and running.

I created a LAMP stack, my DO IP takes me to a page that says: Please log into your Droplet with SSH to configure the LAMP installation. I have no idea what it wants me to do. When I’m in my account on your site I can launch the terminal with no need of SSH. When I do try to log in via SSH I get this error: Permission denied (publickey) Also, DO lead be to believe that it was going to install the whole LAMP stack (Linux, Apache2, MySQL, & PHP), but after launching the terminal in the browser when signed into DO I was able to run apt install apache2, and apt intstall php, and apt install mysql-server, if the one click button LAMP install worked all of those packages should have already been installed and it shouldn’t have let me install them. I’ve setup a LAMP many times on my own Linux machines, I’m completely lost here on your site. Please help, thanks.

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.

Hi there,

In addition to what has already been mentioned, you can follow the steps here on how to SSH to your Droplet:

Regarding the SSH keys error, you can follow the steps on how to generate new SSH keys here:

Let me know how it goes!



Hi @garrett85,

In order to complete your LAMP configuration, you have available our How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 20.04 tutorial, in case you are using Ubuntu 20.04.

When you first create a new Ubuntu 20.04 server, you should perform some important configuration steps as part of the initial setup. These steps will increase the security and usability of your server, and will give you a solid foundation for subsequent actions. You could check out the Initial Server Setup with Ubuntu 20.04 tutorial for it.

Hope that helps you, - Sergio Turpín