Bitnami stacks and moving Wordpress

The Bitnami stacks really make my life easy.  Essentially Bitnami allows you from a single install to setup a development / work environment for various popular systems.  I had a Wordpress stack installed, and I also needed to have a Joomla stack on top of that. 

  1. Go to the C:\Program Files\Bitnami Wordpress Stack\mysql\data\  and take a backup of the “bitnami_wordpress” folder.
  2. Go to the C:\Program Files\Bitnami Wordpress Stack\apps\ and take a backup of the “wordpress” folder.
  3. Open up services.msc and stop the wordpressApache and wordpressMySQL services.
  4. Go to the Bitnami site and install the WAMP stack.
  5. Also from the Bitnami site, install the Wordpress Module (Note: there is a difference between the Stack and Module, the Module is designed to plug into an existing Bitnami core stack).
  6. When you go to install the Wordpress Stack it will ask for the configuration location.  It’s in C:\Program Files\Bitnami WAMPStack\
  7. Go to the C:\Program Files\Bitnami WAMPStack\mysql\data\ directory and delete the “bitnami_wordpress” folder.  (Note: on x64 Windows it’s NOT in the x86 directory).  If this doesn’t work, open up the MySQL Workbench and delete the database from here.
  8. Go to the C:\Program Files\Bitnami WAMPStack\apps\ directory and delete the “wordpress” folder.
  9. Copy the backup you took of the “bitnami_wordpress” folder to C:\Program Files\Bitnami WAMPStack\mysql\data.
  10. In your favorite text editor open the file C:\Program Files\BitNami WAMPStack\apps\wordpress\scripts\createdb.php, and copy the line highlighted below (yours might differ slightly from mine).image
  11. Run this highlighted command inside MySQL Workbench.
  12. Copy the backup you took of the “bitnami” folder to C:\Program Files\Bitnami WAMPStack\apps\.
  13. Edit the config file in C:\Program Files\Bitnami WAMPStack\apps\wordpress\conf\wordpress.conf.  Modify the old path to point to the new one.
  14. Now you should be able to navigate to your Wordpress site.  You can also install other Bitnami Modules now, including Joomla.

 

Technorati Tags: ,,

 

10.16.2010 03:14 by Danny Gershman | Comments (0) | Permalink