If you get your backup files a different way it’s possible for you to skip that step.

  1. Let’s get a backup of the database first.

  2. Copy the files down to your local Ubuntu machine.

This can be done via scp, ftp, or however you feel like it.

I’ll leave that up to you.

  1. check that you have apache, php and mysql installed.

First, we’ll want to extract the tar archive that we created.

you’re able to do that however you want, but I prefer the command line.

tar xvf sitebackup.tar

This will produce a directory structure similar to the one on the server you were on.

If you’ve extracted it elsewhere, then substitute accordingly.

If you’ve been following along, these controls should work for you once you substitute the database name.

The data in the database still has the wrong URL for your blog.

The easiest way to fix this is by running a SQL statement against the database.

Now you should be able to navigate tohttp://localhost/wordpress/wp-admin/and login with your regular username.

You’ve now got a development copy of your blog!