I copied over an instance of my Drupal 7 installation to a local Debian server for testing. I then exported the original database from the source server and imported it with phpMyAdmin on the new server.
I edited the
/sites/default/settings.php file to reflect the new database settings.
I could load the front page but got errors on all other pages.