<?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>MakeUseOf.com &#187; lamp</title>
	<atom:link href="http://www.makeuseof.com/tags/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makeuseof.com</link>
	<description>Cool Websites, Software and Internet Tips</description>
	<lastBuildDate>Tue, 24 Nov 2009 00:55:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Install Wordpress Blog Locally On Your PC</title>
		<link>http://www.makeuseof.com/tag/building-your-own-local-wordpress-blog/</link>
		<comments>http://www.makeuseof.com/tag/building-your-own-local-wordpress-blog/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 15:01:28 +0000</pubDate>
		<dc:creator>Jeffry Thurana</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile Apps]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wamp]]></category>
		<category><![CDATA[webmaster tools]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=9953</guid>
		<description><![CDATA[You blog, I blog, everybody blogs and one of the names that stands out in the blog world is Wordpress. During the past several years, it has become the main choice for blogs all around the world &#8211; including the one that you are reading right now.
The main reasons: it’s very good and very free [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-right:20px" src="http://www.makeuseof.com/wp-content/uploads/2009/01/00-wordpress-logo.jpg" border="0" alt="install wordpress locally" vspace="5" align="left" />You blog, I blog, everybody blogs and one of the names that stands out in the blog world is <a href="”http://www.wordpress.org”">Wordpress</a>. During the past several years, it has become the main choice for blogs all around the world &#8211; including the one that you are reading right now.</p>
<p>The main reasons: it’s very good and very free &#8211; not to mention very expandable in functions and very flexible in looks if you use the <a href="http://www.wordpress.org" target="_blank">self hosted Wordpress</a>.</p>
<p>Given those facts, it surprises me that lots of people are still afraid of the (self hosted) Wordpress. &#8220;Wordpress is for geeks,&#8221; they say, &#8220;It’s too difficult for me.&#8221;</p>
<p>Well, you can’t love what you don’t know. So, the first step is to get familiar with it and what better way to know more about Wordpress than to install Wordpress locally on your own computer? Be it a Windows, Mac or Linux PC. Plus, this is also the best way to check out plugins and themes before using them in the real live online blogging world (and start <a href="http://www.makeuseof.com/tag/a-beginners-guide-to-building-your-own-wordpress-theme/">building your own Wordpress themes</a> and plugins &#8211; should you choose to go that far).</p>
<p>Here’s how you do it :</p>
<h2><strong>Step 1: Building The Local &#8220;Web Server&#8221;</strong></h2>
<p>In order to install Wordpress locally, you need to have a SQL database and a PHP environment in your computer. Before you ask with fear what creatures they are, let me clarify that these days you can easily summon them just by downloading and installing one of these:</p>
<ul>
<li>For Windows: <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> or <a href="http://www.wampserver.com/en/">WAMP</a> (Read <a href="http://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/">MakeUseOf review</a>)</li>
<li>For Mac: <a href="http://mamp.info/en/mamp.html" target="_blank">MAMP</a></li>
<li>For Linux: <a href="http://www.apachefriends.org/en/xampp-linux.html">LAMP</a></li>
</ul>
<p>I use a Mac so the steps below are explained using MAMP. But the steps are valid under any OS and so slight differences are to be expected.</p>
<h2><strong>Step 2: Creating The Database</strong></h2>
<p>Open your AMP app and the server will automatically be on.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/01-mamp-interface.jpg" alt="install wordpress on windows" /></p>
<p>The web interface will show up in your browser. Choose &#8220;phpMyAdmin&#8221; tab.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/02-create-database.jpg" alt="install wordpress on mamp" /></p>
<p>Find &#8220;Create New Database&#8221; box, put a name there, then click &#8220;Create&#8221;</p>
<h2><strong>Step 3: Getting Wordpress</strong></h2>
<p>Download the <a href="”http://www.wordpress.org/latest.zip”">latest build of Wordpress</a> (at the time of writing is version 2.7)</p>
<p>Extract the zip file into the <strong>htdocs</strong> folder inside the AMP folder. It will automatically create a &#8220;wordpress&#8221; folder there.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/03-htdocs-folder.jpg" alt="image" /></p>
<h2><strong>Step 4: Configuring The Wordpress Database</strong></h2>
<p>Go inside the Wordpress folder, then find and open file <strong>wp-config-sample.php</strong> using any text editor.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/04-wp-config-edit.jpg" alt="image" /></p>
<p>- Find these lines:<br />
&#8211;&gt; &#8216;DB_NAME&#8217; and change ‘putyourdbnamehere’ with ‘the database name from step 2’<br />
&#8211;&gt; &#8216;DB_USER&#8217; and change &#8216;usernamehere&#8217; with ‘root’<br />
&#8211;&gt; &#8216;DB_PASSWORD&#8217; and change &#8216;yourpasswordhere&#8217; with ‘root’</p>
<p><img src="http://www.makeuseof.com/wp-content/uploads/2009/01/05-database-setting.jpg" alt="" /></p>
<p>Save the file as wp-config.php</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/06-save-as.jpg" alt="" /></p>
<h2><strong>Step 5: Installing Wordpress</strong></h2>
<p>Open this address in your browser: <a href="http://localhost:8888/wordpress/wp-admin/install.php" target="_blank">http://localhost:8888/wordpress/wp-admin/install.php</a></p>
<p>You’ll be asked to put in a blog name and an email address. Click ‘Install Wordpress’ after filling in those boxes.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/07-wordpress-setup.jpg" alt="insall local wordpress" /></p>
<p>Wordpress will generate a username (admin) and a random password for you. Please keep the password safe until you have the chance to change it later. Click &#8216;Log In&#8217; to continue.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/08-user-and-pass.jpg" alt="" /></p>
<p>Fill in the username and password and click &#8216;Log In&#8217; one more time.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/09-log-in.jpg" alt="" /></p>
<h2><strong>Step 6: Changing The Password</strong></h2>
<p>Congratulations, you’ve just built your own local Wordpress blog to experiment with. But there’s still one more crucial step to take: changing the randomly generated password to something you can remember easily.</p>
<p>Go to menu Users &#8211;&gt; Authors &amp; Users &#8211;&gt; Admin &#8211;&gt; Edit</p>
<p>Find the two password fields down at the bottom of the page, fill in the empty boxes with your preferred password.</p>
<p>Click ‘Update Profile’.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makeuseof.com/wp-content/uploads/2009/01/10-changing-password.jpg" alt="" /></p>
<p>That’s it! Why not start experimenting with your Wordpress blog and see how you like it. If you have any problems, leave a comment and we&#8217;ll see if we can help.
<p>Did you like the post? Please do share your thoughts in the comments section!</p>
<p><em><strong>New on MakeUseOf ?</strong> Get cheat sheets and cool PDF guides @ <a href="http://www.makeuseof.com/makeuseof-downloads/">www.makeuseof.com/makeuseof-downloads/</a></em></p>

	<em><h4>Related posts</h4></em>
	<ul class="st-related-posts">
	<li><a href="http://www.makeuseof.com/tag/five-free-wordpress-templates-to-dress-up-your-blog/" title="The 5 Free Wordpress Templates To Dress Up Your Blog (September 24, 2009)">The 5 Free Wordpress Templates To Dress Up Your Blog</a> (15)</li>
	<li><a href="http://www.makeuseof.com/tag/speed-up-your-wordpress-blog-with-php-speedy/" title="Speed Up Your WordPress Blog With PHP Speedy (January 23, 2009)">Speed Up Your WordPress Blog With PHP Speedy</a> (18)</li>
	<li><a href="http://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/" title="How To Set Up Your Own WampServer (September 25, 2008)">How To Set Up Your Own WampServer</a> (20)</li>
	<li><a href="http://www.makeuseof.com/tag/how-to-easily-automate-backing-up-your-wordpress-blog/" title="How To Easily Auto Backup Your Wordpress Database (November 12, 2009)">How To Easily Auto Backup Your Wordpress Database</a> (15)</li>
	<li><a href="http://www.makeuseof.com/tag/18-useful-plugins-and-hacks-to-protect-your-wordpress-blog/" title="18 Wordpress Security Plugins &#038; Tips To Secure Your Blog (March 13, 2009)">18 Wordpress Security Plugins &#038; Tips To Secure Your Blog</a> (65)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/building-your-own-local-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>How To Set Up Your Own WampServer</title>
		<link>http://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/</link>
		<comments>http://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 20:01:45 +0000</pubDate>
		<dc:creator>Dave Drager</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[hamachi]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=5930</guid>
		<description><![CDATA[There once was a great cat, named the WAMPUS cat. However, this article is not about that cat. This article is about a server. A great majority of websites are run by a trio of services &#8211; Apache, MySQL and PHP. Apache is the web server, which handles browser requests and sends the information across [...]]]></description>
			<content:encoded><![CDATA[<p>There once was a great cat, named the <a href="http://en.wikipedia.org/wiki/Wampus_cat">WAMPUS cat</a>. However, this article is not about that cat. This article is about a server. A great majority of websites are run by a trio of services &#8211; <a href="http://httpd.apache.org/">Apache</a>, <a href="http://www.mysql.com/">MySQL</a> and <a href="http://www.php.net/">PHP</a>. Apache is the web server, which handles browser requests and sends the information across the internet to your browser. PHP is the programming language that many sites are written in &#8211; this creates dynamic content which in turn is sent to Apache, which sends the data to your browser. And finally, MySQL is the database which stores the information for programs. PHP is used to access this database.</p>
<p><img class="aligncenter size-full wp-image-5938" title="AMP" src="http://www.makeuseof.com/wp-content/uploads/2008/09/wamp2.gif" alt="AMP" /></p>
<p>It is a tried and tested trio which works phenomenally well. Usually to gain access to this trifecta, you need to purchase hosting, and this hosting is usually run in a far away datacenter running on a Linux server. However, not many people know that it is available locally, and for Windows as well. You can use these services for running your own applications, and also for locally testing software you are writing, before uploading code to a production server.</p>
<p>WAMP stands for <strong>W</strong>indows <strong>A</strong>pache, <strong>M</strong>ySQL and <strong>P</strong>HP. Compare this to LAMP, which is <strong>A</strong>pache, <strong>M</strong>ySQL and <strong>P</strong>HP on <strong>L</strong>inux.</p>
<p>There are several ways to get these services running locally. Each service, by itself, has Windows installers. That being said &#8211; once the programs are installed, you need to know how to configure the services. That may not be simple unless you happen to be a system administrator.</p>
<p>We are going to focus on <a href="http://www.wampserver.com/en/index.php">WampServer</a>. In my experience, using WampServer is the fastest way to get up and running. <a href="http://en.wikipedia.org/wiki/Comparison_of_WAMPs">Wikipedia</a> has a nice list of all Wamp servers.</p>
<p><img src="http://www.makeuseof.com/wp-content/uploads/2008/09/wamp4.gif" border="0" alt="" align="left" /></p>
<h2>Step 1</h2>
<p>Download the <a href="http://www.wampserver.com/en/download.php">latest WampServer</a>. As of the writing of this article, it includes Apache 2.2, PHP 5.2 and MySQL 5.0.</p>
<h2>Step 2</h2>
<p>Run the installer. It will warn you to uninstall WAMP5 1.x if you have installed that already. You can use the defaults and it should install without problem.</p>
<h2>Step 3</h2>
<p>Start the services. You will see a small icon in your taskbar. Left click on it (right clicking does not display the right menu) and select &#8220;go online&#8221;. The icon will then make a little animation, and your services will be online. You can view your homepage by going to http://localhost/.</p>
<p>Thats it! Wamp is now running. You are ready to install your application, or start learning some PHP! The public website directory is &#8216;<strong>c:\wamp\www\</strong>&#8216;.</p>
<p>Any directory you create in this directory, shows up as a &#8216;project&#8217; on the main index page.</p>
<h2>Advanced Settings</h2>
<p><strong>PHP Customization</strong><br />
<img src="http://www.makeuseof.com/wp-content/uploads/2008/09/wamp3.gif" alt="" align="right" /></p>
<p>Depending on which type of program you want to install onto your server, you may require additional extensions that are not loaded by default. There are a whole variety of PHP extensions you can load that come built in, but disabled. Left-click on the Wamp menu, go to PHP-&gt;PHP Extensions and click off the extension you would like to reload.</p>
<p>You can also edit the configuration file, php.ini through the menu. Edit anything you need, and save this file. The most common edit is the memory_size, but there are many options you can tweak to your liking.</p>
<p>After making any changes to php, make sure you reload apache. I&#8217;ve learned the hard way that changes aren&#8217;t automatically pushed to the server, until it is reloaded.</p>
<p><strong>Apache Customization</strong></p>
<p>For you advanced tinkerers out there, you can tweak the apache configuration files to your heart&#8217;s content. Make sure after making any changes, to reload apache.</p>
<p><strong>MySQL Customization</strong></p>
<p>Depending on your project, you may need to create a database in MySQL. This can be done through phpMyAdmin, which is handily included within the WAMPServer install. By default they include no password on the root MySQL user, which is not the best thing for security reasons. I would recommend changing this password. phpMyAdmin can be reached via the Wamp Menu, or via the url http://localhost/phpmyadmin/</p>
<h3>In Summary:</h3>
<p>Don&#8217;t let the fun stop there. Install a blog and start experimenting with PHP and templates. Run your own Wiki. Run your own music server. The howtos on how to install some neat programs are coming in some future articles.</p>
<p>One of the greatest things about running a home apache server, is that you can use it in combination with a VPN (<a href="http://www.makeuseof.com/tag/creating-your-own-personal-virtual-private-network-with-hamachi/">Hamachi</a>) to access your server anywhere in the world, securely. You can even change your setup to host pages to the outside world, if you so desire.</p>
<p>There is no limit to what you can do! OK, maybe it won&#8217;t cook you breakfast in the morning &#8211; not yet anyway!</p>
<p>Please let me know if you have any questions, comments, or need help with the install!
<p>Did you like the post? Please do share your thoughts in the comments section!</p>
<p><em><strong>New on MakeUseOf ?</strong> Get cheat sheets and cool PDF guides @ <a href="http://www.makeuseof.com/makeuseof-downloads/">www.makeuseof.com/makeuseof-downloads/</a></em></p>

	<em><h4>Related posts</h4></em>
	<ul class="st-related-posts">
	<li><a href="http://www.makeuseof.com/tag/how-to-set-up-an-instant-private-network-with-remobo/" title="How To Set Up An Instant Private Network With Remobo (August 16, 2008)">How To Set Up An Instant Private Network With Remobo</a> (20)</li>
	<li><a href="http://www.makeuseof.com/tag/building-your-own-local-wordpress-blog/" title="How To Install Wordpress Blog Locally On Your PC (January 2, 2009)">How To Install Wordpress Blog Locally On Your PC</a> (23)</li>
	<li><a href="http://www.makeuseof.com/tag/speed-up-your-wordpress-blog-with-php-speedy/" title="Speed Up Your WordPress Blog With PHP Speedy (January 23, 2009)">Speed Up Your WordPress Blog With PHP Speedy</a> (18)</li>
	<li><a href="http://www.makeuseof.com/tag/quick-tip-stop-pidgin-spam-in-its-tracks-with-bot-sentry/" title="[Quick Tip] Stop Pidgin Spam in Its Tracks with Bot Sentry (February 29, 2008)">[Quick Tip] Stop Pidgin Spam in Its Tracks with Bot Sentry</a> (26)</li>
	<li><a href="http://www.makeuseof.com/tag/winhack-how-to-change-the-windows-start-button-win-xp/" title="WinHack &#8211; How to Change the Windows Start Button (Win XP) (September 19, 2008)">WinHack &#8211; How to Change the Windows Start Button (Win XP)</a> (20)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
