Setting Up a Development Environment For WordPress

I’m currently setting up a development environment for WordPress. Specifically for my WordPress site, Chinese Immersion Schools , a website that I created for parents to find a Mandarin immersion program in their area. I will create a CentOS VM to be my development server. CentOS I downloaded Virtual Box but it doesn’t support CentOS. However, VirtualBox has been very good for my Ubuntu servers as well as a variety of Linux servers that I’ve created in the past. So I downloaded vmWare Player and I’m hoping that it will support CentOS. It does support CentOS 64 bit! I’ve never actually setup a CentOS server so this will serve as documentation for any future development servers I need to spin up.

  1. Step 1: Install vmWare Player and CentOS iso
    In this step, I will install vmWare player and create a new VM from the CentOS iso 32/64 bit version
  2. Step 2: Start the newly created CentOS VM and follow the instructions for installation.
  3. Step 3: Install ApachePHPMySQLphpMyAdmin follow the instructions for installation.

For those of you who started out developing your WordPress site in production do the following additional steps:

  1. Backup WordPress Database on production
  2. Backup WordPress Files
  3. Copy over WordPress Files to CentOS Development Server
  4. Copy over WordPress MySQL Database to CentOS MySQL Development Server
  5. Verify that the site works in your new development environment for WordPress.

I recommend setting up a development environment for WordPress when developing a new WordPress website. After setting up a development environment for WordPress, I will begin creating my own WordPress templates and plug-ins. Check back for my post on creating your own WordPress plug-in and template. Until next time, take care!

Leave a Comment

Your email address will not be published. Required fields are marked *