<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Curtis Blackwell &#187; mamp</title>
	<atom:link href="http://curtisblackwell.com/tag/mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtisblackwell.com</link>
	<description>Curtis Blackwell&#039;s portfolio of web &#38; graphic design, accompanied by a design blog..</description>
	<lastBuildDate>Mon, 22 Mar 2010 21:43:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating a Local Copy of Your WordPress Site Using MAMP</title>
		<link>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/</link>
		<comments>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/#comments</comments>
		<pubDate>Wed, 20 May 2009 18:38:50 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=147</guid>
		<description><![CDATA[I presented my portfolio on May 11th using a local copy in case there were any problems connecting to the internet and because our campus network is slooooooooow.
I found a few tutorials on how to create a local copy of an existing WordPress installation, but they were all very slightly off for someone using MAMP. [...]]]></description>
			<content:encoded><![CDATA[<p>I presented my portfolio on May 11<sup>th</sup> using a local copy in case there were any problems connecting to the internet and because our campus network is slooooooooow.</p>
<p>I found a few tutorials on how to create a local copy of an existing WordPress installation, but they were all <em>very slightly</em> off for someone using <acronym title="Macintosh, Apache, Mysql and PHP">MAMP</acronym>. I first got MAMP when I was learning how to install WordPress locally and since it works great, I didn&#8217;t want to install another local server environment.</p>
<p><span id="more-147"></span></p>
<p>Anyway, on to the instructions:</p>
<h3 class="alt">Exporting Your WordPress Database</h3>
<ol>
<li>Log in to phpMyAdmin through your host (usually in the cPanel). I use <a href="http://www.lunarpages.com/id/curtisblackwellcom" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.lunarpages.com/id/curtisblackwellcom?referer=');">lunarpages</a> so I&#8217;ll tell you how to get there on their site:<br />
<span class="html-comment">&lt;!&ndash;&ndash; <a href="http://iamdavidhubler.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/iamdavidhubler.com/?referer=');">Dave Hubler</a> kindly left a <a href="#comment-113">comment</a> on a slight difference for those using limedomains as their host. Thanks, broseph. &ndash;&ndash;&gt;</span></p>
<ol>
<li>Log in by clicking the link in the header.</li>
<li>Make sure you have the right hosting account selected in the drop-down menu and click Control Panel. If you have more than one hosting account, you&#8217;ll have to click the &#8220;Go to cPanel&#8221; button.</li>
<li>Click on MySQL Databases among all the icons and scroll all the way to the bottom and click on the &#8220;phpMyAdmin&#8221; link.</li>
</ol>
</li>
<li>Select the WordPress database from the sidebar on the left. Remember this database name for a future step.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/sidebar.png" alt="sidebar" title="sidebar" width="382" height="212" class="alignleft size-full wp-image-228" /></p>
<div class="clear"></div>
<li>Click the Export tab at the top, make sure everything is selected in the box on the left, the SQL radio button is selected, and the Data checkbox to the right is checked. Select the Save as file checkbox and click Go.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/export.png" alt="export" title="export" width="382" height="38" class="alignleft size-full wp-image-216" />
</ol>
<div class="clear"></div>
<h3 class="alt">Importing Your WP Database into Your Local Copy</h3>
<ol>
<li>Download, install, and open <a href="http://www.mamp.info/en/mamp/index.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.mamp.info/en/mamp/index.html?referer=');">MAMP</a> if you haven&#8217;t already.</li>
<li>Using your <acronym title="File Transfer Protocol">FTP</acronym> client, copy your site&#8217;s root folder to /Applications/MAMP/htdocs/</li>
<li>Go to the MAMP Start Page and click on phpMyAdmin.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If for some reason MAMP didn&#8217;t start the servers and open the start page upon launch, do so now by clicking the buttons in the <acronym title="User Interface">UI</acronym>.</em>
	</li>
<li>On the phpMyAdmin homepage there is an option to create a new database. Enter the database name from step 2 in <span class="blue">Exporting Your WordPress Database</span> and click Create.</li>
<li>Click on the new database in the sidebar on the left then choose the Import tab at the top.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/import.png" alt="import" title="import" width="382" height="38" class="alignleft size-full wp-image-220" /></p>
<div class="clear"></div>
<li>Click Browse and select the database file you downloaded earlier. Click Go in the bottom left.</li>
</ol>
<h3 class="alt">Setting Up Your Username and Password for Your Local Database</h3>
<ol>
<li>Go to the homepage of your local phpMyAdmin and choose Privileges from the MySQL column on the left.</li>
<li>Click Add a new User under the list of existing users.</li>
<li>Enter your username and password from the remote database.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If you don&#8217;t remember your username and password, open your wp-config file and get the info there.</em></li>
<li>For Host, choose Local if the host in your wp-config file is localhost. Otherwise, choose Any.</li>
<li>Click Check All under Global privileges and click Go.</li>
</ol>
<h3 class="alt">Setting the Proper URL</h3>
<ol>
<li>Go to the homepage of your local phpMyAdmin and choose your database from the column on the left.</li>
<li>Select Browse next to the table wp_options.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/wp_options.png" alt="wp_options" title="wp_options" width="382" height="23" class="alignleft size-full wp-image-218" /></p>
<div class="clear"></div>
<li>Find the option_name siteurl and click the corresponding edit link. Change the option_value to http://localhost:8888/root_folder_name and click Go.<br />
<span class="html-comment">&lt;!&#45;&#45; NOTE &#45;&#45;&gt;</span><br />
<em>If using something other than MAMP, you&#8217;ll probably have to type http://localhost/root_folder_name</em></li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2009/05/edit.png" alt="edit" title="edit" width="382" height="39" class="alignleft size-full wp-image-222" /></p>
<div class="clear"></div>
<li>Find the option_name home and set the option_value to the same as you did for siteurl.</li>
</ol>
<p>That should be it!</p>
<p>Make sure MAMP is running and check http://localhost:8888/root_folder_name (or http://localhost/root_folder_name) to see your local site.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/creating-a-local-copy-of-your-wordpress-site-using-mamp/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
