veeco
By:
veeco

Create Droplet with lamp, now what ?

December 12, 2014 770 views

hello i create a droplet with lamp, where can i get the username and password for mysql ? how about its security ?

1 Answer

When you log into your droplet via ssh the following message containing your MySQL root password is displayed (with your droplet's IP in place of 0.0.0.0):

-------------------------------------------------------------------------------------
Thank you for using DigitalOcean's LAMP Application.
Your web root is located at /var/www/html and can be seen from http://0.0.0.0/
The details of your PHP installation can be seen at http://0.0.0.0/info.php
Your MySQL root user's password is WAjYY29QmM
You are encouraged to run mysql_secure_installation to ready your server for production.
-------------------------------------------------------------------------------------
To delete this message of the day: rm -rf /etc/motd.tail

The application images are fairly stock configurations and you will want to take some steps to further secure your new droplet. I would recommend starting with these tutorials:

Initial Server Setup with Ubuntu 14.04

and

Additional Recommended Steps for New Ubuntu 14.04 Servers

by Justin Ellingwood
When you start a new server, there are a few steps that you should take every time to add some basic security and give you a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 14.04.
Have another answer? Share your knowledge.