I’m new to digital ocean, i have been working on my php app in my local environment and decided to try digital ocean. my app based on php and phpmyadmin as a database. I installed the Lamp , now i’m lost . tried to push my code from bitbucket to digital ocean, all setting are good and connected. but i don’t get to see my code. the path i used was first /var/www, didn’t work. then /var/www/html also didn’t work. also had serious issues trying to install phpmyadmin through my terminal and i keep getting this password errors. Sorry for all these issues but i’m pretty new to droplets compared to the cpanel .
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
hello, i had the same issue when i first tried un-managed VPS. working on command line is pretty tough for new people but if you look into the difitaloceans tutorial section you will find most of all you need. you just need to spend some time on that section.
today i cant even think of using shared hosting, i can bet once you will be used to DO you wont think either.
also create support ticket if you stuck in somewhere, i also found DO support desk the most helpful & co-operative in the industry.
also i would recommend you to build the LAMP stask on your own instead of using one-click app. that way you would learn and get idea how things actually work. also one-click install is not meant for production purpose, that is actually for a quick start when you need to test your application or for developing purposes.
here are some tutorials that might help you to start
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04
How To Install and Secure phpMyAdmin on Ubuntu 16.04
best of luck. ;)