
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.
- 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 - Step 2: Start the newly created CentOS VM and follow the instructions for installation.
- Step 3: Install Apache, PHP, MySQL, phpMyAdmin follow the instructions for installation.
For those of you who started out developing your WordPress site in production do the following additional steps:
- Backup WordPress Database on production
- Backup WordPress Files
- Copy over WordPress Files to CentOS Development Server
- Copy over WordPress MySQL Database to CentOS MySQL Development Server
- 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!