<?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>Your Blog Tools &#187; localhost</title>
	<atom:link href="http://yourblogtools.com/tag/localhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourblogtools.com</link>
	<description>Maximise Your Blog</description>
	<lastBuildDate>Fri, 03 Sep 2010 13:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Host Your WordPress Blog Locally</title>
		<link>http://yourblogtools.com/2010/02/host-wordpress-locally/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=host-wordpress-locally</link>
		<comments>http://yourblogtools.com/2010/02/host-wordpress-locally/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:06:28 +0000</pubDate>
		<dc:creator>John Lufadeju</dc:creator>
				<category><![CDATA[hosting]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://yourblogtools.com/?p=1688</guid>
		<description><![CDATA[If you regularly tweek your blog&#8217;s design, layout or test plugins &#8211; I would recommend having a local version of your blog. Hosting locally means running a duplicate copy of your live blog on your local machine. In other words, your PC becomes your web and database server. Having your own development area is a<a href="http://yourblogtools.com/2010/02/host-wordpress-locally/">&#160;&#160;[ Read More ]</a>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="padding: 8px; float: right; margin-left: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fyourblogtools.com%2F2010%2F02%2Fhost-wordpress-locally%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fyourblogtools.com%2F2010%2F02%2Fhost-wordpress-locally%2F&amp;source=johnluffa&amp;style=compact&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>If you regularly tweek your blog&#8217;s design, layout or test plugins &#8211; I would recommend having a local version of your blog.<br />
Hosting locally means running a duplicate copy of your live blog on your local machine. In other words, your PC becomes your web and database server.<br />
Having your own development area is a bit like having your own playground, with freedom to test and tweek as you please without affecting the live system. Web developers generally adopt this approach before deploying.</p>
<p>Hosting your blog locally is a very straight forward process, and would require the following;</p>
<ul>
<li> Installing a web server on your computer.</li>
</ul>
<ul>
<li> Creating a database.</li>
</ul>
<ul>
<li> Downloading the latest version of wordpress.</li>
</ul>
<ul>
<li> Tweeking <strong>one</strong> wordpress file.</li>
</ul>
<p>There are several ways to achieve this, but one the easiest ways is using a tool called XAMPP, which happens to work across most operating systems.</p>
<p><span id="more-1688"></span><br />
<a href="http://yourblogtools.com/wp-content/uploads/xampp.png"><img class="alignnone size-full wp-image-1690" title="xampp" src="http://yourblogtools.com/wp-content/uploads/xampp.png" alt="" width="210" height="68" /></a></p>
<h4><span style="color: #800000;">Step 1</span></h4>
<p><strong>Install a local web server</strong></p>
<h5>PC</h5>
<p>This is quite straight forward on a PC, simply visit <a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a> to download and install XAMMP Lite executable file.</p>
<h5>Linux</h5>
<p>For Linux users, applying a few commands in your terminal should get you up and running. Simply visit <a href="http://www.apachefriends.org/en/xampp-linux.html">http://www.apachefriends.org/en/xampp-linux.html</a> for download and install instructions.</p>
<h5>MAC</h5>
<p>MAC users, download and extract XAMPP file from here <a href="http://www.apachefriends.org/en/xampp-macosx.html">http://www.apachefriends.org/en/xampp-macosx.html</a></p>
<h4><span style="color: #800000;">Step 2</span></h4>
<p><strong>Create and active your database</strong><br />
Using the downloaded XAMPP tool, you can create a new database for your local blog. Simply open XAMPP control panel and select the <strong>Admin</strong> button next to MySQL. This should then take you <strong>phpMyAdmin</strong> page.<br />
<a href="http://yourblogtools.com/wp-content/uploads/xampp3.png"><img class="alignnone size-medium wp-image-1694" title="Create and active your database" src="http://yourblogtools.com/wp-content/uploads/xampp3-300x253.png" alt="" width="300" height="253" /></a></p>
<p>On this page, under <strong>MySQL Localhost</strong> section,  you can create a new database name.</p>
<p><a href="http://yourblogtools.com/wp-content/uploads/xampp4.png"><img class="alignnone size-full wp-image-1709" title="phpMyAdmin" src="http://yourblogtools.com/wp-content/uploads/xampp4.png" alt="" width="798" height="135" /></a></p>
<p>At this stage, to make sure everything is working fine, start the Apache and MySQL services, it will notify you once it starts.<br />
You should also see the XAMPP splash screen when you type &#8220;localhost&#8221; into your browser.</p>
<h4><span style="color: #800000;">Step 3</span></h4>
<p><strong>Download and Extract WordPress</strong><br />
You can download the latest version of WordPress by visiting <a href="http://www.wordpress.com">wordpress.com</a> Once downloaded, extract the zipped file and move it inside the <strong>htdoc</strong> folder. On a windows machine, this can be located under <em>c:\xampp\htdoc</em></p>
<h4><span style="color: #800000;">Step 4</span></h4>
<p><strong>Update your wp-config.php file</strong><br />
In this file, you will have to define your database parameters to enable connection.<br />
In your wordpress folder, <em>c:\xampp\htdoc\wordpress\ </em></p>
<ol>
<li>Rename the file <strong>wp-config-sample.php</strong> to <strong>wp-config.php </strong></li>
<li>Define your database name &#8211; (&#8216;DB_NAME&#8217;, &#8216;<em>test</em>&#8216;);</li>
<li>Define your database username &#8211; (&#8216;DB_USER&#8217;, &#8216;<em>root</em>&#8216;);</li>
<li>Define your database password &#8211; (&#8216;DB_PASSWORD&#8217;, &#8216;<em>test</em>&#8216;);</li>
</ol>
<p>You can find your database information from the <strong>phpMyAdmin</strong> page, located under the <strong>MySQL</strong> section<br />
<a href="http://yourblogtools.com/wp-content/uploads/xampp4.png"><img class="alignnone size-full wp-image-1709" title="phpMyAdmin" src="http://yourblogtools.com/wp-content/uploads/xampp4.png" alt="" width="778" height="135" /></a></p>
<h4><span style="color: #800000;">Step 5 and final step<br />
</span></h4>
<p><strong>Configure and Install</strong><br />
Run install.php file by pointing your browser to <em>http://localhost/wordpress/wp-admin/install.php </em> and hit enter.</p>
<ol>
<li> At this stage, you then see the configuration file, complete the fields with the same information as your <strong>wp-config.php</strong> file.<br />
<a href="http://yourblogtools.com/wp-content/uploads/xampp5.png"><img class="alignnone size-medium wp-image-1717" title="Configure and Install WordPress" src="http://yourblogtools.com/wp-content/uploads/xampp5-300x199.png" alt="" width="300" height="199" /></a></li>
<li>Complete your blog title along with your email address and hit Run install<br />
<a href="http://yourblogtools.com/wp-content/uploads/xampp6.png"><img class="alignnone size-medium wp-image-1718" title="Install WordPress" src="http://yourblogtools.com/wp-content/uploads/xampp6-300x217.png" alt="" width="300" height="217" /></a></li>
<li>ALL DONE &#8211; You now have a copy locally.</li>
</ol>
<p>To transfer files from server to local machine, I would recommend using a an FTP client such as FileZilla.</p>
<p>What are your thoughts on testing locally?
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp/' title='xampp'><img width="150" height="68" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp-150x68.png" class="attachment-thumbnail" alt="xampp" title="xampp" /></a>
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp1/' title='xampp1'><img width="150" height="150" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp1-150x150.png" class="attachment-thumbnail" alt="xampp1" title="xampp1" /></a>
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp3/' title='xampp3'><img width="150" height="150" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp3-150x150.png" class="attachment-thumbnail" alt="xampp3" title="xampp3" /></a>
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp4/' title='xampp4'><img width="150" height="135" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp4-150x135.png" class="attachment-thumbnail" alt="xampp4" title="xampp4" /></a>
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp5/' title='xampp5'><img width="150" height="150" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp5-150x150.png" class="attachment-thumbnail" alt="xampp5" title="xampp5" /></a>
<a href='http://yourblogtools.com/2010/02/host-wordpress-locally/xampp6/' title='Install Wordpress'><img width="150" height="150" src="http://yourblogtools.com/wp-content/uploads/2010/02/xampp6-150x150.png" class="attachment-thumbnail" alt="Install Wordpress" title="Install Wordpress" /></a>
</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://yourblogtools.com/2010/07/wordpress-3-0-to-2-9-2/" rel="bookmark" class="crp_title">Rolling back WordPress 3.0 to 2.9.2</a></li><li><a href="http://yourblogtools.com/2009/12/wordpress-blackberry/" rel="bookmark" class="crp_title">WordPress for BlackBerry &#8211; Blog on the Go!</a></li><li><a href="http://yourblogtools.com/2010/02/before-you-publish/" rel="bookmark" class="crp_title">4 Things To Check Before Hitting The Publish Button</a></li><li><a href="http://yourblogtools.com/2010/05/scary-wordpress/" rel="bookmark" class="crp_title">3 Things That Scares Me About WordPress</a></li><li><a href="http://yourblogtools.com/2010/01/optimize-your-blog/" rel="bookmark" class="crp_title">12 Ways To Optimize Your Blog For Better Performance</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://yourblogtools.com/2010/02/host-wordpress-locally/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
	</channel>
</rss>
