Categories
WordPress

My Local WordPress Development Environment

I just spent part of the day setting up and  testing my local sandbox environment using the following tools.

Operating System
Peppermint 8 running LAMP and WordPress

Plugins

  • WP Local Toolbox – Creates the Admin Bar notification so I know I’m still in the right place just in case I end up on my live server
    • Normally I won’t use plugins that haven’t been updated in the last year or so but this is just for testing code and looking for conflicts.
  • Debug Bar – It’s always happy hour at this bar. Used to hunt down more information and make sure everything is nice and lean.

Other tools

I’m also using phpMyAdmin to drop and import tables. I could do this in the terminal but hitting those red buttons is a lot more fun.

Tables tables tables
Never name your kid DROP tables. xkcd

I drop everything except wp_usermeta and wp_users

  • wp_commentmeta
  • wp_comments
  • wp_links
  • wp_options
  • wp_postmeta
  • wp_posts
  • wp_termmeta
  • wp_terms
  • wp_term_relationships
  • wp_term_taxonomy

I then import my site’s sql backups after changing my domain references from linuxbookpro.com to localhost so it won’t redirect to my live website.

I also replace my wp-content folder from the default wordpress installation with the one from my backup.

This isn’t a step by step guide I had to do a few apache permissions but it all seems to be working nicely.

Happy hacking.

P.S. this is really just here for me to discover later when I forget something I did.

Categories
Desktop & Wallpapergallery

Debian Stretch Desktop

Kicking the tires of Debian 9 (Stretch) and I’m very much at home here in the XFCE desktop.

I upgraded my system on the stable repository this morning and it worked flawlessly. Now that all the patents on the MP3 format have basically expired It’s even less effort to to set up.

Categories
Desktop & Wallpaper

Trisquel 7 still chugging along

Just performed updates to this seven year old netbook and still impressed the amount of work that is possible with an archaic piece of netbook hardware. It was worthless as a Windows PC when my father picked it up new at Costco. However, as soon as he abandoned this thing to a closet I dropped in a new battery and it’s been my third string system.

I’ve ran Xubuntu, Manjaro and Peppermint OS on this system eventually sticking to Trisquel 7 so I would have a free software system in the house. To get wifi working I use a USB dongle from Think Penguin.

The specs

Related Links for amusing information