Just recorded a screencast to run you through how to install Drupal using MAMP (assuming similar process in WAMP), and once you get it down you can do the entire process in 4 minutes. Check it out!
Moving WordPress
2011
Moving WordPress is………fun. These instructions are for moving wordpress from your local machine to your domain. Note, this assumes you have access to create new databases, and access phpmyadmin from your localhost and your domain name. Also, an FTP client, or a browser-side FTP client will be necessary.
Step 1
Zip up your entire site. Upload it to your server, unzip.
Step 2
Go to phpmyadmin, export your SQL file (you can either save it as a file to upload, or just copy the output…doesn’t really matter). Go to phpmyadmin on your domain (assuming you have created a new mysql database in which to dump the SQL), and paste/upload the mysql dump from your local machine.
Step 3
Change 4 things:
- Find the “wp_options” table in your new mysql database. Locate the item with “siteurl” in the option_name column. Change the option_value of that from “http://localhost/test…” to “http://www.yourdomain.com”. This sets the site URL of the wordpress installation to your domain name.
- In the same “wp_options” table, do the same thing to the item with “home” in the option_name column. Change the option_value of that from “http://localhost/test…” to “http://www.yourdomain.com”.
- In the .htaccess file, make sure that these two options look like this if your website is at the root of your domain name:
RewriteBase /
RewriteRule . /index.php [L] - Open wp-config.php (in the root of your wordpress installation) and set your Mysql database settings to the new settings on your domain hosting. These include: DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST. If your tables do not being with “wp_”, then a few more lines down the page you will need to change the $table_prefix line as well.
Everything should work as normal once those 4 things are changed. Let me know if you need help, or are experiencing problems.
How-to Setup WordPress on MAMP (5 Easy Steps)
2011
1. Setup a new MySQL Database through MAMP’s phpmyadmin. Name the database something you will remember. Mark down the name of the database, the server it is located on (usually localhost or 127.0.0.1, sometimes with a port number as well…8888 in my case), the username, and the password (usually root and root if you’re on localhost). You will need these 4 things later.
2. Download and unzip the latest version of wordpress from wordpress.org
3. Drop this into the htdocs folder inside Applications>MAMP>htdocs, rename the folder to match your site (in my case bentedder)
4. Open up firefox and navigate to your new URL (assuming apache & mysql are turned on). http://localhost/bentedder
5. Follow the login prompts, using the 4 items you have from step 1 (db name, server, username & login)
Done, start Blogging!
