Open phpmyadmin on LAMP server and create database with name you remembered earlier.

Import database saved to new database you just created

On LAMP server edit /var/www/html/drupal/sites/default/settings.php

Scroll to bottom of file and edit database info for new user and password.

To get drupal site to open at IP address or domain name, edit /etc/apache2/sites-available/000-default.conf
and change DocumentRoot to /var/www/html/drupal.

sudo service apache2 reload

If you can only get the homepage to appear and 404s for everything else, it is likely that clean-urls is still active.
Edit /var/www/html/drupal/sites/default/settings.php again and add $conf[‘clean-url’] = 0; to the bottom of the file.