<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.marketingloop.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.marketingloop.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blog Building University</title>
	
	<link>http://blogbuildingu.com</link>
	<description>WordPress CMS, WordPress Tutorial, Learning Movable Type, TypePad, and Blogger Tutorials</description>
	<pubDate>Thu, 20 Nov 2008 16:35:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.marketingloop.com/blogbuildingu" type="application/rss+xml" /><feedburner:emailServiceId>2027138</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>WordPress Security — How to Install WordPress Securely</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/459687991/install-wordpress-securely</link>
		<comments>http://blogbuildingu.com/wordpress/install-wordpress-securely#comments</comments>
		<pubDate>Thu, 20 Nov 2008 15:46:51 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpress security]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1225</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/075.jpg" alt="WordPress Security" title="WordPress Security" width="100" height="75" class="alignleft" />WordPress without a doubt is the most popular blog software exists on the market right now and recently people have been using it not only to setup a blog but also manage web site content. WordPress comes with the popular 5-minute installation process and that partly contributes to the success, I believe.</p>
<p>However, out of the box, WordPress installation can do much better when it comes to WordPress security. I suppose they have to limit the number of options available during&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/075.jpg" alt="WordPress Security" title="WordPress Security" width="100" height="75" class="alignleft" />WordPress without a doubt is the most popular blog software exists on the market right now and recently people have been using it not only to setup a blog but also manage web site content. WordPress comes with the popular 5-minute installation process and that partly contributes to the success, I believe.</p>
<p>However, out of the box, WordPress installation can do much better when it comes to WordPress security. I suppose they have to limit the number of options available during installation to avoid confusing their users. The famous 5-minute install would not exist if otherwise.</p>
<p>At the very least, he random password generation for admin user makes your password hard to guess. </p>
<p>If you think about it, to be fair, much of the problem with security is due to lack of understanding on the user part.</p>
<p>Many people leave <em>wp-config.php</em> file world writable after installation. That means if they are on a shared hosting environment, with the wrong permission, their blog may be at risk.</p>
<p>Most bloggers only care about the ease of installation and only seek for help after an incident because there is lack of organized information on how to securely install WordPress or harden existing WordPress installation.</p>
<p>This article strives to fill the gap on the first part, i.e. installing WordPress in a secure manner. I&#8217;ll update this document regularly as I find new things. If your blog security is of importance to you, make sure you go through this carefully because security is like a chain. It is only as good as its weakest link.</p>
<p>Note that this setup doesn&#8217;t involve auditing or modifying WordPress core. You should think of these tips as workarounds or additional layer of security on top of your blog. Some of them use the principle of security through obscurity, which I recommend against for host-based security, but hopefully that discourages intruders and make them think your blog is not worth their efforts.</p>
<p><strong>Disclaimer:</strong> There is no guarantee that by implementing these tips your blog will be immune. If your system is still vulnerable, and if crackers find new exploits through your blog or any other web apps, your blog may still be at risk. This article is written for educational purpose only.</p>
<h2>1. Review Your MySQL Server Installation</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/morning-mist1.jpg" alt="Morning Mist" title="Morning Mist" width="500" height="209" class="aligncenter" /></p>
<p>First and foremost, if at all possible, you should bind your MySQL database only to localhost. Of course, you can&#8217;t do that if you have to serve your data outside of local machine.</p>
<p>By binding to loopback interface, only services on localhost will be able to connect to it. Alternatively, you may choose to communicate via UNIX domain socket.</p>
<p>This doesn&#8217;t prevent modification of your data through vulnerable web applications. You only prevent direct access to the database.</p>
<p>Shared hosting users won&#8217;t be able to modify server configuration used by their hosting company, but if you are on a VPS or dedicated server, this is something you should consider.</p>
<p>To apply this, you need to add or change the following line in <em>my.cnf</em>, specifically in the <em>[mysqld]</em> section. Location varies based on Linux distribution, but in Ubuntu it resides in <em>/etc/mysql/my.cnf</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>mysqld<span style="">&#93;</span></span>
bind-address<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">127.0.0.1</span></pre></div></div>

<h2>2. Create Your Database and Database User Properly</h2>
<p>Let&#8217;s start from the beginning. Obviously many bloggers name their WordPress database <em>wordpress</em> or simply &#8216;wp&#8217;.</p>
<p>Although it doesn&#8217;t improve security that much, changing this name may obfuscate it a bit, so while you are at this just pick a name that is obvious to you but not to a complete stranger.</p>
<p>After all, you only need to know what it does, not what it is.</p>
<p><code><br />
$ mysql -u root -p<br />
Password: Enter your password<br />
mysql> CREATE DATABASE example333;<br />
</code></p>
<p>The SQL command above creates a database with the name <em>example333</em>. You may name it to your domain or something else and add random numbers to it.</p>
<p>As part of the database creation process is to create a unique user for WordPress. Only that user (and of course root) is able to access that database with limited privilege to let WordPress operate properly.</p>
<p>The following SQL commands should allow WordPress to function and interact properly with MySQL.</p>
<p><code><br />
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER ON example333.* TO 'exuser129'@'localhost' IDENTIFIED BY 'yourpassword';<br />
</code></p>
<p>Note that I add random numbers to the database user and choose a strong password. You don&#8217;t have to remember either of these data once you hand them over to <em>wp-config.php</em>.</p>
<h2>3. Configure wp-config.php Correctly</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/morning-mist2.jpg" alt="Morning Mist" title="Morning Mist" width="500" height="212" class="aligncenter" /></p>
<p>WordPress is now able to create and prompt for your database configuration during installation, if it possesses enough permission to do so.</p>
<p>While it is certainly an option, a few variables are leaved untouched, so in my opinion an easier way is to avoid it at all. Out of the box, WordPress includes a sample configuration file named <em>wp-config-sample.php</em>. You may copy or move the file over to <em>wp-config.php</em> and edit that.</p>
<p>This command presumes that your WordPress core files reside in your blog directory.</p>
<p><code><br />
$ cd /your/path/to/wordpress<br />
$ cp wp-config-sample.php wp-config.php<br />
$ vi wp-config.php<br />
</code></p>
<p>Of course, change <em>vi</em> to your favorite text editor. You may also edit it on your desktop computer and upload it to your web server, or use the editor that comes with your hosting control panel.</p>
<p>The <em>wp-config.php</em> file looks like the following:</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// ** MySQL settings ** //</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_NAME'</span><span style="color: #339933;">,</span> <span style="">'example333'</span><span style="color: #009900;">&#41;</span>;    <span style="color: #666666; font-style: italic;">// The name of the database</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_USER'</span><span style="color: #339933;">,</span> <span style="">'exuser129'</span><span style="color: #009900;">&#41;</span>;     <span style="color: #666666; font-style: italic;">// Your MySQL username</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_PASSWORD'</span><span style="color: #339933;">,</span> <span style="">'yourpassword'</span><span style="color: #009900;">&#41;</span>; <span style="color: #666666; font-style: italic;">// ...and password</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="">'localhost'</span><span style="color: #009900;">&#41;</span>;    <span style="color: #666666; font-style: italic;">// 99% chance you won't need to change this value</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_CHARSET'</span><span style="color: #339933;">,</span> <span style="">'utf8'</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'DB_COLLATE'</span><span style="color: #339933;">,</span> <span style="">''</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">// Change each KEY to a different unique phrase.  You won't have to remember the phrases later,</span>
<span style="color: #666666; font-style: italic;">// so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/</span>
<span style="color: #666666; font-style: italic;">// to get keys generated for you, or just make something up.  Each key should have a different phrase.</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'AUTH_KEY'</span><span style="color: #339933;">,</span> <span style="">'t0L3ORtzCQ(JR!hj6H1SWT-2W[&gt;B?bf,)Cxz ]`x`)&lt;j^}qH%Pks]nVbJyPl!miA'</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'SECURE_AUTH_KEY'</span><span style="color: #339933;">,</span> <span style="">'q=<span style="">\'</span>|)<span style="">\'</span>GtsM[dE[I5~M3T`Y;xjm?Rhv4Qslkk|zq$r*kk@Z( ^(pha{]pqR(3g=yX'</span><span style="color: #009900;">&#41;</span>;
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="">'LOGGED_IN_KEY'</span><span style="color: #339933;">,</span> <span style="">')x=cc*FnmUkC;#idXzBFWq.SVSeCua-P||xhCF[fUb&amp;/US6jW$*\&quot;[|Snj31Cw[wI'</span><span style="color: #009900;">&#41;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">// You can have multiple installations in one database if you give each a unique prefix</span>
<span style="color: #000088;">$table_prefix</span>  <span style="color: #339933;">=</span> <span style="">'ex3321j_'</span>;   <span style="color: #666666; font-style: italic;">// Only numbers, letters, and underscores please!</span></pre></div></div>

<p>I&#8217;ve changed a few things there. In the first block, I modified the definition of various constants to match database and user that I created in the second step above. The second configuration block requires that you have three unique phrases. These will be used as <em>salt</em> for your blog cookies. Since WordPress 2.6, there are 3 unique phrases, used in different situations.</p>
<p>You may enter a few simple words here, but randomness may help. You can generate random phrases, including proper syntax for constant definitions by using WordPress <a href="http://api.wordpress.org/secret-key/1.1/">secret key generation tool</a>.</p>
<p>Finally, the third block allows you to define table prefix used by this WordPress installation within the database. With this option, you will be able to change the prefix so it is unique to this blog.</p>
<p>Some people have access to only one database and this option lets them have more than one WordPress blog inside a database.</p>
<p>In this demonstration, that is not our purpose though. Public exploits on the Internet often assume that the prefix of your WordPress table is <em>wp_</em> so changing it may help.</p>
<p>Adding random characters and numbers as suffix is enough. I have purposefully leave <em>ex</em> intact because that is what I use for the database name. You may also use keep <em>wp</em> so you know they are WordPress tables.</p>
<h2>4. Change Permission and Ownership for wp-config.php</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/morning-mist3.jpg" alt="Morning Mist" title="Morning Mist" width="500" height="212" class="aligncenter" /></p>
<p>If you copy wp-config.php, by default the permission of wp-config.php may be different from wp-config-sample.php. </p>
<p>Just to make sure, you should change it to 644 &#8212; read and write for owner, read for group, read for the world. Ownership of the file should be your username. In VPS or dedicated server, change it to <em>root</em>.</p>
<h2>5. Check Permissions for Files and Directories</h2>
<p>Especially if you copy your WordPress files from your other blog installation. Some bloggers may do this to copy the themes and plugins over to the new blog.</p>
<p>Make sure that your directory permission is not group or world writable. Use 755 as the permission for directories and 644 for files. If your web server, like Apache, supports suEXEC or similar, 644 is enough privilege for WordPress to change your files, so <em>.htaccess</em> and theme files may be modifiable already.</p>
<p>Otherwise, change the permission for certain set of files you want to grant write ability to 666. Don&#8217;t make this default permission though.</p>
<p>Once you&#8217;ve done this, go to your browser and start the installation process.</p>
<p>WordPress installation starts in </p>
<p><code><br />
http;//example.com/blog/wp-admin/install.php<br />
</code></p>
<p>Of course, change <em>example.com</em> and <em>blog</em> appropriately.</p>
<p>Return to <a href="http://blogbuildingu.com/how-to-blog">How to Blog</a> for Fun and Profit.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/wordpress/wordpress-security" rel="bookmark" title="Permanent Link: WordPress Security &#8212; Concerns and General Advice for Prevention">WordPress Security &#8212; Concerns and General Advice for Prevention</a></li><li><a href="http://blogbuildingu.com/how-to-blog" rel="bookmark" title="Permanent Link: How to Blog &#8212; Web Publishing for Fun and Profit">How to Blog &#8212; Web Publishing for Fun and Profit</a></li><li><a href="http://blogbuildingu.com/wordpress/wordpress-26-released" rel="bookmark" title="Permanent Link: WordPress 2.6 Released &#8212; Check the Compatibility Pages Before Updating!">WordPress 2.6 Released &#8212; Check the Compatibility Pages Before Updating!</a></li><li><a href="http://blogbuildingu.com/articles/wordpress-vs-movable-type" rel="bookmark" title="Permanent Link: WordPress 2.5 vs. Movable Type 4.1: Which One is the Winner?">WordPress 2.5 vs. Movable Type 4.1: Which One is the Winner?</a></li><li><a href="http://blogbuildingu.com/tdc/setup-twhirl" rel="bookmark" title="Permanent Link: Setup Twhirl &#8212; a Twitter Client Based on Adobe AIR (Week 3)">Setup Twhirl &#8212; a Twitter Client Based on Adobe AIR (Week 3)</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/wordpress/install-wordpress-securely/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/wordpress/install-wordpress-securely</feedburner:origLink></item>
		<item>
		<title>WordPress Security — Concerns and General Advice for Prevention</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/458012229/wordpress-security</link>
		<comments>http://blogbuildingu.com/wordpress/wordpress-security#comments</comments>
		<pubDate>Wed, 19 Nov 2008 05:31:21 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpress security]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1210</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/073.jpg" alt="WordPress Security" title="WordPress Security" width="100" height="75" class="alignleft" />A search in National Vulnerability Database for the term <em>wordpress</em> revealed very interesting statistics. Over the years, WordPress has increasing number of vulnerabilities, from 2 in 2004 to 63 in 2007.</p>
<p>Although it is an apple to orange comparison, because WordPress is usually compared head to head with Drupal and Joomla, here is a comparison table showing statistical data of those content management systems:</p>
<table>
<tr bgcolor="#8ad0fc">
<th class="top leftcol" scope"col"><strong>Platform</strong></th>
<th class="top"><strong>2004</strong></th>
<th class="top"><strong>2005</strong></th>
<th class="top"><strong>2006</strong></th>
<th class="top"><strong>2007</strong></th>
<th class="top"><strong>2008</strong></th>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>WordPress</strong></th>
<td>2</td>
<td>13</td>
<td>21</td>
<td>63</td>
<td>58</td>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>Drupal</strong></th>
<td>0</td>
<td>8</td>
<td>37</td>
<td>39</td>
<td>79</td>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>Joomla</strong></th>
<td>-</td>
<td>4</td>
<td>70</td>
<td>76</td>
<td>117</td>
</tr>
</table>
<p>From the table above, you notice that the more complex CMS solutions have larger number of vulnerabilities in recent&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/073.jpg" alt="WordPress Security" title="WordPress Security" width="100" height="75" class="alignleft" />A search in National Vulnerability Database for the term <em>wordpress</em> revealed very interesting statistics. Over the years, WordPress has increasing number of vulnerabilities, from 2 in 2004 to 63 in 2007.</p>
<p>Although it is an apple to orange comparison, because WordPress is usually compared head to head with Drupal and Joomla, here is a comparison table showing statistical data of those content management systems:</p>
<table>
<tr bgcolor="#8ad0fc">
<th class="top leftcol" scope"col"><strong>Platform</strong></th>
<th class="top"><strong>2004</strong></th>
<th class="top"><strong>2005</strong></th>
<th class="top"><strong>2006</strong></th>
<th class="top"><strong>2007</strong></th>
<th class="top"><strong>2008</strong></th>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>WordPress</strong></th>
<td>2</td>
<td>13</td>
<td>21</td>
<td>63</td>
<td>58</td>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>Drupal</strong></th>
<td>0</td>
<td>8</td>
<td>37</td>
<td>39</td>
<td>79</td>
</tr>
<tr>
<th class="leftcol" scope="row"><strong>Joomla</strong></th>
<td>-</td>
<td>4</td>
<td>70</td>
<td>76</td>
<td>117</td>
</tr>
</table>
<p>From the table above, you notice that the more complex CMS solutions have larger number of vulnerabilities in recent years compared to WordPress. However, webmasters who use WordPress still should be worried about the figure.</p>
<h2>Switching to Another Web Publishing Tool &#8212; A Solution?</h2>
<p>I read on a public forum the other day (and on a few blogs too) people recommend against using WordPress for security reason. For them, WordPress is not worth the hassle just because it is vulnerable.</p>
<p>But let&#8217;s see it from a few standpoints. If you ask any web developers, they would agree that it can be very hard to make sure a group project of a decent size to be secure 100 percent. Also take into account the fact that WordPress gets very popular in recent years.</p>
<p>Perhaps a better analogy is to compare this situation with Firefox vs IE security debates. While it is believed Firefox is a better and more secure browser, it currently has a larger number of vulnerabilities than IE. The good news is, because Firefox is a community project which includes source code, fixes will be made available soon after exploits were found.</p>
<p>With the availability of source code, one would argue that it also makes it easier to locate points of attack.</p>
<p>Just like in Firefox, solution for WordPress problem is usually available in minutes, but news would spread weeks after that. Some bloggers are really fast, but most are still interested in the topic long after it appeared the first time.</p>
<p>Switching to another solution is a workaround at this point, in my opinion, because just because there was no report about one CMS doesn&#8217;t mean it is secure. Perhaps it has small user base that people have not discovered its vulnerabilities yet.</p>
<p>Add to the fact that it is actually possible to harden a WordPress installation if you take the time to do it. Is it worth it? Yes, I&#8217;d say. And if you consider the size of WordPress community, I think working on fixing and auditing security is more of an option than switching.</p>
<h2>How to Secure Your WordPress Blog</h2>
<p>This is the first of a series of planned articles on how to install WordPress and harden it if you already have a WordPress blog running.</p>
<p>It is not possible to cover the whole thing in one post, but if there are a few suggestions to keep you on the safe side, it would be:</p>
<ul>
<li><strong>Increase your awareness.</strong> Subscribe to <a href="http://wordpress.org/development/">WordPress Development Blog</a>. It should be on your list of feed so you are updated about recent development, including security issues.</li>
<li><strong>Update.</strong> WordPress takes only a few minutes to update, so spend some time at the end of the day to do so. I prefer to allocate some time in the weekend though. With update, I don&#8217;t mean just the core WordPress code, but also the plugins.</li>
<li><strong>Use supported themes.</strong> If you are not a theme designer, make sure you use a theme that is well supported so if there are problems you know who to run to for a solution.</li>
<li><strong>Backup often.</strong> There is no reason not to do so because you can easily schedule backups of your WordPress database and files. Be safe rather than sorry.</li>
</ul>
<p>Even with these approaches, there is no guarantee you will never experience security breach related to your WordPress blog because there are always possibilities in finding new exploits. Hopefully, crackers who find your site more updated than other blogs will choose not to spend their time on your blog.</p>
<p>But if you have a fresh backup off-site, you can always update and restore your data.</p>
<p><strong>Other articles:</strong></p>
<ul>
<li>How to <a href="http://blogbuildingu.com/wordpress/install-wordpress-securely">Install WordPress Securely</a></li>
</ul>
<p>Return to <a href="http://blogbuildingu.com/how-to-blog">How to Blog</a> for Fun and Profit.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/wordpress/install-wordpress-securely" rel="bookmark" title="Permanent Link: WordPress Security &#8212; How to Install WordPress Securely">WordPress Security &#8212; How to Install WordPress Securely</a></li><li><a href="http://blogbuildingu.com/articles/wordpress-vs-movable-type" rel="bookmark" title="Permanent Link: WordPress 2.5 vs. Movable Type 4.1: Which One is the Winner?">WordPress 2.5 vs. Movable Type 4.1: Which One is the Winner?</a></li><li><a href="http://blogbuildingu.com/wordpress-how-to" rel="bookmark" title="Permanent Link: WordPress How-to &#8212; Tips and Tricks to Work with WordPress">WordPress How-to &#8212; Tips and Tricks to Work with WordPress</a></li><li><a href="http://blogbuildingu.com/how-to-blog" rel="bookmark" title="Permanent Link: How to Blog &#8212; Web Publishing for Fun and Profit">How to Blog &#8212; Web Publishing for Fun and Profit</a></li><li><a href="http://blogbuildingu.com/blog-plugins" rel="bookmark" title="Permanent Link: WordPress Plugins and Localizations">WordPress Plugins and Localizations</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/wordpress/wordpress-security/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/wordpress/wordpress-security</feedburner:origLink></item>
		<item>
		<title>Trackback, Pingback and Refback — The What and How</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/456115166/trackback-pingback-refback</link>
		<comments>http://blogbuildingu.com/articles/trackback-pingback-refback#comments</comments>
		<pubDate>Mon, 17 Nov 2008 15:58:40 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[Blogging Articles]]></category>

		<category><![CDATA[pingback]]></category>

		<category><![CDATA[refback]]></category>

		<category><![CDATA[trackback]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1202</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/072.jpg" alt="Trackback, Pingback and Refback" title="Trackback, Pingback and Refback" width="100" height="75" class="alignleft" />Bloggers should have heard about trackback, pingback or refback, but they are not well understood. If you use Gogle to find information about it, a lot of those web results are misleading. Not that they contain false information, but those pages often represent older specifications.</p>
<p>Trackback, pingback and refback are types of linkback. A linkback is a method for web authors and bloggers to obtain notifications when other bloggers link to one of their documents &#8212; and for the linking blogs&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/072.jpg" alt="Trackback, Pingback and Refback" title="Trackback, Pingback and Refback" width="100" height="75" class="alignleft" />Bloggers should have heard about trackback, pingback or refback, but they are not well understood. If you use Gogle to find information about it, a lot of those web results are misleading. Not that they contain false information, but those pages often represent older specifications.</p>
<p>Trackback, pingback and refback are types of linkback. A linkback is a method for web authors and bloggers to obtain notifications when other bloggers link to one of their documents &#8212; and for the linking blogs to notify the linked blogs.</p>
<p>Basically, what they do is to let a blog notifies other blogs that it is linking to them. For the linked blogs, this allows them to track who is linking to them. As blogging is also communication tool, besides publishing, this feature lets bloggers establish a conversation with other bloggers beyond the comment form.</p>
<p>A blogger may extend a conversation to his/her blog and still the linked blogger will notice the conversation if s/he decides to click and check the linked blogs out &#8212; which s/he should.</p>
<p>A linked blog may choose to display the linking blogs in the comments area of the blog, hence producing a backlink to the originating blog too.</p>
<h2>Trackbacks</h2>
<p>A trackback is a mean to connect a post you made on your blog to a post on another blog. This keeps a link between both posts so people are able to refer back and forth between the documents.</p>
<p>This is like reciprocal linking, just that the linked page will display the link to the linking blog automatically in the comment area of the blog.</p>
<p>It used to be that a blogger has to enter the trackback link specific to the blog post in order for the linking blog software to send trackback ping to the destination. This is no longer necessary since Trackback specification version 1.1, which was released in October 2002.</p>
<p>Read the latest version of <a href="http://www.sixapart.com/pronet/docs/trackback_spec">trackback specification</a>.</p>
<p>Trackbacks is now capable of detecting specific tracback URL for a blog post automatically (called auto-discovery), but the destination blog should have support for that in each document. Each blog post has different trackback URL.</p>
<h2>Pingbacks</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/mist-covering-village.jpg" alt="Mist Covering Village" title="Mist Covering Village" width="500" height="135" class="aligncenter" /></p>
<p>Like trackbacks, pingbacks function the same but using an entirely different protocol. A pingback notifies the linked blog(s) that the originating blog is linking to it/them.</p>
<p>A pingback is essentially an XML-RPC request sent from one blog to another. Pingback is less prone to spam than trackback because when a blog receives a pingaback from another blog, it goes out and check the originating blog for the existence of a live incoming link.</p>
<p>That doesn&#8217;t mean it is impossible to send sping (spam ping) packet using pingback though because a forgery or page cloaking can be done on the fly.</p>
<p>Unlike trackback, pingback uses the blog&#8217;s XML-RPC URL to send pingback. This means it is the same every time.</p>
<p>You can view the <a href="http://www.hixie.ch/specs/pingback/pingback">pingback specification</a> for complete information, but they are technical.</p>
<h2>Refbacks</h2>
<p>Refback is rarely used, but for the sake of completeness, I&#8217;ll include it on this post.</p>
<p>A refeback also allows a blogger to keep track of who is linking to, or referring to their articles. Instead of using a new protocol, refback uses HTTP referrer header to discover incoming links.</p>
<p>Referrer header is automatic with compliant web browsers. If you are on page A, click on a link on that page, the browser will request that page and put the URI to page A in the Referrer header.</p>
<p>As refbacks rely on the Referrer header information, the linked blog will not receive information unless someone actually clicks on the link to go to the linked page.</p>
<p>The linked blog may go out and extract relevant information such as the title, meta information and link text on the linking blog and alternatively displays the link on the page.</p>
<p>A check is usually necessary before this is done to avoid displaying links to web-based email and other URLs that is not publicly accessible.</p>
<h2>Trackbacks vs. Pingbacks</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/mist-covering-village1.jpg" alt="Morning Mist" title="Morning Mist" width="500" height="84" class="aligncenter" /></p>
<p>Although they are very similar, both trackback and pingback use entirely different protocols. You may send trackback pings by inserting a trackback link in the trackbacks area in your blog software.</p>
<p>Pingback is done automatically by the supported blog software. If you have a link to another blog, it will send the pingback to the linked blog if you enable that option in your blog.</p>
<p>Pingback has simpler autodiscovery feature than trackback.</p>
<p>With trackback, the linking blog has to download the linked page and check for the RDF section that contains auto-discovery information. On the other hand, pingback discovers the URL to send pingbacks to in the HTTP header (the X-Pingback header) and in the header section of a HTML document.</p>
<p>The latter appears as:</p>
<p><code></p>
<link rel="pingback" href="url"" />
</code></p>
<h2>How to Use Trackbacks and Pingbacks with WordPress</h2>
<p>You can specify the trackback link of the post you lik to in the Trackbacks section on the new post page. WordPress will automatically send trackback ping to the specified URL.</p>
<p>If you choose to enable trackbacks and pingbacks, WordPress will auto-discover and send pingbacks to all blogs that are mentioned in your blog post. You can toggle this option by going to <strong>Settings</strong> &rarr; <strong>Discussion</strong>.</p>
<p>The option is named: <strong>Attempt to notify any blogs linked to from the article (slows down posting.)</strong></p>
<p>You need to do nothing else besides that. I recommend you enable this option to encourage participation. Trackbacks and pingbacks are direct ways to let people know about links. They are not only useful to extend conversation but also build your network.</p>
<p>Even though I chose not to enable comments, I still enable this option so other bloggers may still notify me about their linking blog pages and discuss posted topics.</p>
<h2>The Challenge: Pingback and Tracback Spam</h2>
<p>Software are available that try to forge pingback and trackback pings so the linked blog believes the issuing blog actually links to the blog.</p>
<p>Because most blogs display the title and linking page, blog spammers may benefit from the direct referral traffic and/or search engine juice. The latter is true if the blog enables dofollow for tracbacks.</p>
<p>Just because your blog uses nofollow for comments and trackbacks doesn&#8217;t mean you will not get trackback spams though because such software run automatically, it cost nothing to send pingbacka and trackbacks to as many blogs as possible.</p>
<p>Fortunately, blog plugin such as Akismet filters most of these spam into the moderation queue and let the bloggers decide if they want to approve or delete those spam. It isn&#8217;t perfect but at least in my experience, it catches most trackback spam.</p>
<p>Here are a list of WordPress plugins that can help you control trackback and comment spam:</p>
<ul>
<li><a href="http://sw-guide.de/wordpress/plugins/simple-trackback-validation/">Simple Trackback Validation</a>. This plugin performs two checks to make sure a trackback is valid. First, it checks if the IP address of the trackback sender is equal to the IP address of the webserver the trackback URL is referring to. It also retrieves the page located at the URL included in the trackback to see if it links to your blog.</li>
<li><a href="http://tantannoodles.com/toolkit/spam-filter/">Simple Spam Filter</a>. This plugin examines trackback data. If it contains 5 or more links, bbcode style links, or spam words, and if the comment is very similar to previous comments, it will filter out the tracback.</li>
<li><a href="http://scott.sherrillmix.com/blog/blogger/wp_pingpreserver/">WP_PingPreserver</a>. If you are annoyed with WordPress for losing pings because WordPress discards pings that come in too fast, this plugin can be of help.</li>
</ul>
<p>Return to <a href="http://blogbuildingu.com/blog-promotion">Blog Promotion</a> &#8212; Tips to Get Traffic and Increase Readership.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/blog-promotion" rel="bookmark" title="Permanent Link: Blog Promotion &#8212; Tips to Get Traffic and Increase Readership">Blog Promotion &#8212; Tips to Get Traffic and Increase Readership</a></li><li><a href="http://blogbuildingu.com/blog-marketing" rel="bookmark" title="Permanent Link: Blog Marketing &#8212; Strategies That Will Change Your Business">Blog Marketing &#8212; Strategies That Will Change Your Business</a></li><li><a href="http://blogbuildingu.com/how-to-start-a-blog" rel="bookmark" title="Permanent Link: How to Start a Blog">How to Start a Blog</a></li><li><a href="http://blogbuildingu.com/thirty-day-challenge-2008-details" rel="bookmark" title="Permanent Link: Thirty Day Challenge 2008 Action List">Thirty Day Challenge 2008 Action List</a></li><li><a href="http://blogbuildingu.com/articles/blog-scam" rel="bookmark" title="Permanent Link: Blog Scam &#8212; New Breed of Business Opportunity and Internet Scam">Blog Scam &#8212; New Breed of Business Opportunity and Internet Scam</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/articles/trackback-pingback-refback/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/articles/trackback-pingback-refback</feedburner:origLink></item>
		<item>
		<title>BBU List of Must-Have WordPress Plugins (and Why)</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/448536007/wordpress-plugins</link>
		<comments>http://blogbuildingu.com/wordpress/wordpress-plugins#comments</comments>
		<pubDate>Mon, 10 Nov 2008 16:04:20 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1097</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/070.jpg" alt="WordPress Plugins" title="WordPress Plugins" width="100" height="75" class="alignleft" />WordPress plugin is an awesome way to extend the functionalities of a blog. Out of the box, WordPress is already a powerful publishing platform. However, with plugins you can enhance and customize it the way you want.</p>
<p>The idea of using plugin is a good one. If WordPress is about to include every single thing in its core, it would be a bloated piece of software, not to mention that it takes a lot of human resources and time to test&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/070.jpg" alt="WordPress Plugins" title="WordPress Plugins" width="100" height="75" class="alignleft" />WordPress plugin is an awesome way to extend the functionalities of a blog. Out of the box, WordPress is already a powerful publishing platform. However, with plugins you can enhance and customize it the way you want.</p>
<p>The idea of using plugin is a good one. If WordPress is about to include every single thing in its core, it would be a bloated piece of software, not to mention that it takes a lot of human resources and time to test it.</p>
<p>With the right design, plugin developers are able to write plugins to implement things that they expect WordPress to have.</p>
<p>Over the years of using WordPress, I&#8217;ve used hundreds of plugins in my various blogs and sites. Some of them were <em>buggy</em> while others were good. A few of them were excellent. Those that didn&#8217;t work as promised were uninstalled in a snap while at the same time I kept seeking for new plugins that were able to accomplish what I wanted.</p>
<p>Don&#8217;t get me wrong, until now I&#8217;m still testing out cool plugins but my adventure is far less bumpy than it used to be. Not that what I picked is best of the breed, but at least it does what it claims very well.</p>
<p>There are still many things WordPress can improve upon and if time permits I will even develop a few plugins in near future, but&#8230;</p>
<p>What this means is that you benefit from it. </p>
<p>If you have to setup a blog from scratch, at the very least you don&#8217;t have to be as adventurous as I was.</p>
<p>So without further ado, here is the list of plugins I use actively on my niche web sites.</p>
<p>(The list is sorted alphabetically, it has nothing to do with the importance of the plugins.)</p>
<h2>&copy; Feed</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/weather-birds.jpg" alt="Weather Birds" title="Weather Birds" width="500" height="209" class="aligncenter" /></p>
<p>The <a href="http://wordpress.org/extend/plugins/copyfeed/">&copy;Feed</a> plugin extends the feed of your blog. You may include a digital fingerprint so you could detect content theft, display a report of stolen content on the dashboard, add comments in the feed, and show related posts.</p>
<p>Even if you don&#8217;t plan to use the other features, you should at least implement related posts in your feed to attract more visitors back to your blog.</p>
<h2>Add Link Attribute</h2>
<p>Blog, specifically a WordPress blog, is search engine friendly because of the way it links your posts and pages together. Search engines are able to crawl your pages easily and that increases your visibility in search engines.</p>
<p>The thing is, it is still not optimized to maximize PageRank flow on your web site.</p>
<p><a href="http://guff.szub.net/2005/01/27/add-link-attribute/">Add Link Attribute</a> plugin solves this problem. It lets you insert your own HTML tag attribute into any template function-generated links without having to rewrite those functions directly.</p>
<p>In other words, you could avoid having to edit the core source code just to modify certain tag and add an attribute.</p>
<p>&#8220;How is this useful?&#8221; I heard you ask.</p>
<p>Well, if you implement silos on your blog / site, you probably know it. For instance if you want to display and link to category pages but prevent PageRank to flow to those pages, you may add <em>rel=nofollow</em> attribute to <em>the_category</em> function so WordPress displays and links the categories accordingly but add nofollow too.</p>
<h2>Add Signature</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/plaited.jpg" alt="Plaited" title="Plaited" width="500" height="185" class="aligncenter" /></p>
<p><a href="http://www.dagondesign.com/articles/add-signature-plugin-for-wordpress/">Add Sig</a> plugin extends WordPress to allows you to add custom signature at the bottom of your posts.</p>
<p>If you&#8217;ve ever noticed the call to action at the end of every of my blog post, you didn&#8217;t think I add it to every post of mine manually, did you?</p>
<p>I like this idea because it allows me to change the call to action &#8212; or any signature content you want &#8212; without having to edit all the posts or modify the database.</p>
<p>The good thing is, you can even use HTML and CSS in your signatures. You may also use various variables to customize your signature to include login name, email address, and so on.</p>
<h2>Advanced Excerpt</h2>
<p>If you display excerpts on your category or search pages, you should know how it looks like by default. In certain WordPress themes, it seems like WP churns out junk.</p>
<p>The <a href="http://wordpress.org/extend/plugins/advanced-excerpt/">Advanced Excerpt</a> comes to the rescue. This plugin adds several improvements to WordPress, especially on how it creates excerpts by default.</p>
<p>With it, you can keep HTML markup in the excerpt, trim the excerpt to a given length using character or word count, and customize the ellipsis character used for trimming. The result is neat-looking excerpt that enhances readability.</p>
<h2>Akismet</h2>
<p>Some people pronounce this as Askimet, but <a href="http://wordpress.org/extend/plugins/akismet/">Akismet</a> is a plugin that comes out of the box with every WordPress installation. It is not activated by default but if you use comments feature it should be.</p>
<p>Activation requires an API key, which you can obtain through WordPress.com. Although it sometimes has glitches and false negatives, I couldn&#8217;t be happier with such a free service.</p>
<p><strong>Note</strong>: Commercial API keys are available at $5/month. It gives better priority and performance, among others. Consider that if your blog handles a lot of comment spam.</p>
<h2>Another WordPress Meta Plugin</h2>
<p>The <a href="http://wordpress.org/extend/plugins/another-wordpress-meta-plugin/">Another WordPress Meta Plugin</a> is considered obsolete, but I still prefer this to All in One SEO Pack because how I implement WordPress on BBU.</p>
<p>What I want from this plugin is the ability to add custom meta description to every post, which it does very well.</p>
<h2>Broken Link Checker</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/tree-bark.jpg" alt="Tree Bark" title="Tree Bark" width="500" height="195" class="aligncenter" /></p>
<p>This is one of those plugins that is a major time saver. <a href="http://wordpress.org/extend/plugins/broken-link-checker/">Broken Link Checker</a> notifies you &#8212; through a neat report in the Dashboard &#8212; when you have made a typo on your links, or when a page is deleted or moved.</p>
<p>Cleaning up your blog post from dead links not only enhances user experience but also overall site quality. While it is not proven that broken links may impact your search engine rankings negatively, if you think it from user experience standpoint, it could mean something.</p>
<h2>Compact Monthly Archive</h2>
<p>I have a mixed feeling about monthly and yearly archives. Unless your blog is a news site, I personally don&#8217;t think there is any value at all in time-based archives.</p>
<p>Readers who find an evergreen piece of content don&#8217;t care the time the post is done as long as it is there. I bet a few people remember when it was written, either. This is quite different for timely information though.</p>
<p>For people who want to keep it, or put it up just for the sake of keeping the blog <em>tradition</em>&#8230; here is a problem.</p>
<p>For blog who has been around for quite some time and the blogger posts to the blog actively, you may notice the list of archive pages gets way too long. Drop down menu to the rescue, but it is still less elegant that expected.</p>
<p><a href="http://wordpress.org/extend/plugins/compact-monthly-archive-widget/">Compact Monthly Archive</a> lets you customize your monthly archive so it is compact and consumes much less space.</p>
<h2>Contact Form 7</h2>
<p><a href="http://wordpress.org/extend/plugins/contact-form-7/"rel="nofollow" >Contact Form 7</a> manages multiple contact forms. You may customize the form and the mail contents flexibly with simple markup.</p>
<p>I&#8217;ve tested several contact form before. For simplicity and functionality, nothing beats Contact Form 7 and this is what I use for BBU.</p>
<h2>Exec PHP</h2>
<p>Simply put, the <a href="http://wordpress.org/extend/plugins/exec-php/">Exec-PHP</a> executes PHP code in posts, pages and text widgets.</p>
<p>If you&#8217;d like to extend WordPress through custom programming, this plugin is an easy way for you to do exactly that. For instance, if you want the link in the sidebar widget to appear differently for current page, simple PHP command lets you do that.</p>
<p>Of course, you have to enable PHP with this plugin before you are able to execute code. In WordPress, this is disabled by default for security reason.</p>
<h2>FeedBurner FeedSmith</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/timber.jpg" alt="Timber" title="Timber" width="500" height="169" class="aligncenter" /></p>
<p>Although I prefer this implementation on the web server side as redirects instead of at the plugin level, <a href="http://www.google.com/support/feedburner/bin/answer.py?answer=78483">FeedBurner FeedSmith</a> plugin provides a way to let you keep your feed URL while still using FeedBurner to get additional stats.</p>
<p>Why do you want to keep your feed URL? Because that means you don&#8217;t have to modify your theme to display the new FeedBurner feed and if you decide you want to switch to another feed service, you are able to do that easily.</p>
<h2>Google XML Sitemaps</h2>
<p>This plugin generates a <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">XML-Sitemap</a> compliant sitemap of your WordPress blog. The format generated is supported by Ask.com, Google, Yahoo and MSN Search.</p>
<p>The XML Sitemap format was introduced by Gogle in 2005 and was adopted by Yahoo, MSN Search and Ask in 2006. Although it is often referred to as Google Sitemaps, actually it is useful for other search engines as well.</p>
<p>If you use Google&#8217;s Webmaster console, this helps you generate XML-Sitemaps automatically.</p>
<h2>No Self Pings</h2>
<p>I find this plugin very helpful to keep my blog sane. <a href="http://wordpress.org/extend/plugins/no-self-ping/">No Self Pings</a> prevents your WordPress blog from sending pings if you link to your other blog posts in the same blog.</p>
<p>Without this, it clutters your blog posts tremendously, especially if you aggressively link from one page to another. Personally, I think there is little value in knowing which posts from the same blog actually link to a post.</p>
<h2>Permalink Redirect</h2>
<p><a href="http://scott.yang.id.au/code/permalink-redirect/">Permalink Redirect</a> plugin replies a 301 permanent redirect, if requested URI is different from the entry&#8217;s (or archive&#8217;s) permalink.</p>
<p>This is used to ensure there is only one URL associated with each blog entry.</p>
<p>I used to 301 redirect a post if it contains a trailing forward slash in the server redirect configuration, but it appears to me later that WordPress also shows a page for other incomplete URL as long as it knows which post specifically the browser wants.</p>
<p>In order to prevent duplicate content, this plugin is the answer. By permanently redirect it, you also take advantage of links other bloggers have mistakenly used to point to your blog post.</p>
<h2>Related Posts</h2>
<p>Out of the various <a href="http://www.rene-ade.de/inhalte/wordpress-plugin-relatedposts.html">RelatedPosts</a> plugin out there, this is my favorite because it lets you display related posts as a sidebar widget.</p>
<p>Due to how my other blogs work, this is what I want, at least at the time I did research this was the only plugin that allows me to do that.</p>
<h2>Search Everything</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/holiday-cottage.jpg" alt="Holiday Cottage" title="Holiday Cottage" width="500" height="181" class="aligncenter" /></p>
<p>Using WordPress as content management often means pages are also flagship content. You want them to be included in search too when they are related to a search query.</p>
<p>Unfortunately, WordPress doesn&#8217;t provide this function, but <a href="http://wordpress.org/extend/plugins/search-everything/">Search Everything</a> solves this problem. It increases the ability of the default WordPress Search, including options to search for pages, tags, categories, comments, excerpts, and more.</p>
<h2>Simple Yearly Archive</h2>
<p>If you&#8217;ve ever wanted to create a sitemap (not XML Sitemaps) out of your blog, this is the plugin that will help you do it.</p>
<p>With a bit of modification, I was able to create a custom page that display posts only from a specific year without creating a new template with the right PHP command. Combined with Exec-PHP, you don&#8217;t need to do that though because there are functions to support yearly archives already.</p>
<p><a href="http://www.schloebe.de/wordpress/simple-yearly-archive-plugin/">Simple Yearly Archive</a>, while simple, is my preferred way to display blog archives.</p>
<h2>Wikipedia nofollow</h2>
<p>As you probably know, Wikipedia decides to add <em>rel=&#8221;nofollow&#8221;</em> attributes to every external web site. It stops transferring authorities to other web sites but at the same time keep all those good links for itself.</p>
<p>Link equity has to flow or otherwise search engines will not be able to calculate relevance objectively. And Wikipedia causes a dead end of the link flow. For that reason, I now implement <a href="http://whatjapanthinks.com/wikipedia-nofollow/">Wikipedia nofollow</a> plugin across all my blogs and sites.</p>
<h2>WordPress Reports</h2>
<p>If you&#8217;ve ever wanted to have a summary of Google Analytics report right in your Dashboard without having to log into your GA account, this is a neat plugin you should consider seriously.</p>
<p><a href="http://wordpress.org/extend/plugins/tantan-reports/">WordPress Reports</a> also includes the number of subscribers from FeedBurner so you are able to take a glance over the stats of your blog in one place.</p>
<h2>WordPress Database Backup</h2>
<p>I no longer use this plugin, but it can still be very useful for many bloggers out there. Basically <a href="http://wordpress.org/extend/plugins/wp-db-backup/">WordPress Database Backup</a> plugin allows you to backup your core WordPress database tables easily.</p>
<p>This is a best practice for every blogger who can&#8217;t afford to lose their work. Backup often. With this plugin, you don&#8217;t have a reason not to do that.</p>
<h2>WP-Syntax</h2>
<p><a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> uses GeSHI to support syntax highlighting in a wide range of popular languages. I use it in BBU not only to display nicely formatted code blocks in colors, but it also causes the blocks to display in the content column nicely.</p>
<p>Other useful features including the capability to start the first line at any number so you may create a representation of the code you quote precisely.</p>
<h2>WP Super Cache</h2>
<p>This plugin is able to save you when you have sudden surge of traffic, such as when your post is featured in Digg or Slashdot. <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a> is an enhancement over the WP Cache plugin that efficiently returns static pages without executing any PHP code at all.</p>
<p>This plugin is smart enough to serve static page only to users who are not logged in, have not left a comment on the blog or who have not viewed a password protected post.</p>
<p>Return to <a href="http://blogbuildingu.com/wordpress-how-to">WordPress How-to</a> &#8212; Tips and Tricks to Work with WordPress.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/blog-plugins" rel="bookmark" title="Permanent Link: WordPress Plugins and Localizations">WordPress Plugins and Localizations</a></li><li><a href="http://blogbuildingu.com/wordpress-how-to" rel="bookmark" title="Permanent Link: WordPress How-to &#8212; Tips and Tricks to Work with WordPress">WordPress How-to &#8212; Tips and Tricks to Work with WordPress</a></li><li><a href="http://blogbuildingu.com/wordpress/wordpress-26-released" rel="bookmark" title="Permanent Link: WordPress 2.6 Released &#8212; Check the Compatibility Pages Before Updating!">WordPress 2.6 Released &#8212; Check the Compatibility Pages Before Updating!</a></li><li><a href="http://blogbuildingu.com/wordpress/6-free-wordpress-ad-server-plugins" rel="bookmark" title="Permanent Link: 6 Free Advertising Server Plugins for WordPress &#8212; Setup, Manage and Track Banner Ads">6 Free Advertising Server Plugins for WordPress &#8212; Setup, Manage and Track Banner Ads</a></li><li><a href="http://blogbuildingu.com/wordpress/search-everything-wp-plugin" rel="bookmark" title="Permanent Link: Search Everything &#8212; A WordPress Plugin to Search Pages, Comments, and More">Search Everything &#8212; A WordPress Plugin to Search Pages, Comments, and More</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/wordpress/wordpress-plugins/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/wordpress/wordpress-plugins</feedburner:origLink></item>
		<item>
		<title>Blog Scam — New Breed of Business Opportunity and Internet Scam</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/444992322/blog-scam</link>
		<comments>http://blogbuildingu.com/articles/blog-scam#comments</comments>
		<pubDate>Fri, 07 Nov 2008 02:26:50 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[Blogging Articles]]></category>

		<category><![CDATA[blog scam]]></category>

		<category><![CDATA[business opportunity]]></category>

		<category><![CDATA[internet scam]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1089</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/069.jpg" alt="Blog Scam" title="Blog Scam" width="100" height="75" class="alignleft" />With the growing number of blog scam, it has reached a point where we should be concerned about the scene and their impact to the the blogosphere, the Web and Internet as a whole.</p>
<p>It seems like for everyone who tries to make money online, there is no fast track method to learn how to do it. Everyone has to go through the same process and learn the hard way. At least most people that I spoke to in the past&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/069.jpg" alt="Blog Scam" title="Blog Scam" width="100" height="75" class="alignleft" />With the growing number of blog scam, it has reached a point where we should be concerned about the scene and their impact to the the blogosphere, the Web and Internet as a whole.</p>
<p>It seems like for everyone who tries to make money online, there is no fast track method to learn how to do it. Everyone has to go through the same process and learn the hard way. At least most people that I spoke to in the past have more or less the same experience.</p>
<p>Heck, I was in the same shoes not so long ago&#8230;</p>
<p>The thing is, no matter how much good information available, people have a tendency to move toward an easier solution, at least for the first time.</p>
<p>If you think about it, that just makes sense. Given a choice to start a business from scratch, work very hard for at least one year before seeing any kind of good result, or do it the fun, easy, and <em>from-the-beach</em> way, most people will choose the latter rather than the former.</p>
<p>With no surprise at all, people fall into the so called blog scams and basically any other get rich quick (GRQ) business opportunity because let&#8217;s face it. Even if you have failed a few times, you <em>want</em> to believe there is a golden key that will open the floodgates of Internet money windfall.</p>
<p>I recall a few years ago when I finally had to give the dream up. I felt more disappointed than angry, this GRQ biz opps didn&#8217;t work in reality. If only it was true&#8230;</p>
<p>(You know, still a bit of hope that it would eventually work out of magic, just for once again, but I decided to throw the idea out of the window&#8230;)</p>
<h2>GRQ Scams Get a Makeover&#8230; Blog Scams!</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/pepper-in-waiting.jpg" alt="Pepper in Waiting" title="Pepper in Waiting" width="500" height="202" class="aligncenter size-full wp-image-1091" /></p>
<p>With the advent of blog software that is able to do magic when it comes to getting any kind of content online, GRQ scams has just got a makeover.</p>
<p>I bet you have seen a bunch of hype about making millions building a network of blogs.</p>
<p>How do they work?</p>
<p>Blog scams take advantage of the fact that a blog is easy to update and you could get any piece of content up within seconds, not to mention that it can potentially be automated.</p>
<p>This means if you have access to scripted web application that may scour the Internet for free articles or generate junk content, you will be able to setup blogs that update automatically.</p>
<p>Building hundreds, if not thousands of these blogs, is a no brainer if you have the right software.</p>
<p>With such a model, the scheme can be labeled as creating useful blogs with solid content, although the truth is, it involves publishing repetitive &#8212; or random spin off of existing &#8212; content.</p>
<h2>What Makes Blog Scams Scam?</h2>
<p>You may look at blogging scams from two standpoints. As a visitor who is interested with the content the Web has to offer, usually such a blog provides little or no value at all, wasting the visitor quite a lot of time.</p>
<p>Usually, that is not the main intention of the blog owner. What s/he wants to accomplish often times is because of greed &#8212; to make money from the visitors through one way or another.</p>
<p>According to <a href="http://www.ftc.gov/bcp/edu/pubs/consumer/tech/tec05.shtm">Federal Trade Commission (FTC)</a>:</p>
<blockquote><p>The scam artists lure would-be entrepreneurs with false promises of big earnings for little effort. They pitch their fraudulent offerings on the Web; in e-mail solicitations; through infomercials, classified ads and newspaper and magazine &#8220;advertorials&#8221;; and in flyers, telemarketing pitches, seminars, and direct-mail solicitations.</p></blockquote>
<p><strong>Note:</strong> I&#8217;m not saying there is no way to make money online. Once you set it up properly, it may involve very little work on your part, but still you have to work hard to reach that level. There is no such thing as autopilot income from the start.</p>
<p>There is no doubt that a blog can be a very powerful tool for business and marketing. As a blog evangelist, I encourage the use of a blog as a tool to sell products or services or build business brand online. The fact is, there are unlimited ways to use a blog nowadays.</p>
<p>However, there are some models that are presented in a way that turns a blog into more of a fraud than legitimate business.</p>
<p>The thought of easy money is very appealing, but the truth is making money and building long term success usually requires hard work. This has always been the case for both offline and online business.</p>
<p>Heck if you approach it with the same mindset, you are going to increase your chance to succeed online.</p>
<p>Because many of the blog scams revolve around using a blog as a web publishing tool, let&#8217;s talk about that. Building a legitimate online publishing business is not only possible but could bring many of the luxury of having a web business.</p>
<p>Some of the benefits include working from home or wherever place you wish. You become your own boss and set your own working schedule. The Internet doesn&#8217;t have business hours. It is always on whenever you want to access it.</p>
<p>As to the potential, Weblogs Inc. sold a blog network to AOL for $25 million in 2005. That certainly is not a fad. And a smaller scale of success is certainly possible if you have the right combination of mind set, work ethic, business strategy, and marketing.</p>
<p>So, what makes a blog model scam?</p>
<ul>
<li><strong>It promises little to no work.</strong> Once installed, the system will work day and night automatically without fail. Before long, you will see results. It will start churning out endless stream of cash in a week or less.</li>
<li><strong>High earning claims.</strong> Hundreds of dollars per day is not uncommon with such system. It becomes a numbers game. If one site / blog earned $1 per day, then 1,000 blogs would earn you $1,000 a day. Afterall, it is effortless to setup.</li>
<li><strong>Incredibly easy system and steps to follow.</strong> No technical skill required. The system works on auto-pilot without the need to learn a thing. Just buy it and make yourself a cup of coffee. If you know how to browse the Web, or point and click, you can operate it.</li>
<li><strong>Speed.</strong> People are naturally impatient. Blog scammers know it so they offer something very unrealistic, but still people buy into it. Seven figure in six months&#8230; or something very similar.</ul>
<p>For example, an ad that I saw a while ago offered people an opportunity to make $31,000 per month blogging with an easy to follow and step-by-step guide, which was sold for $49.95. While it is possible to make that kind of money by blogging, it doesn&#8217;t come easily.</p>
<p>Before your blog takes off, in order to get traffic you have to work your &#8220;you-know-what&#8221; off. It also requires persistent. If you don&#8217;t have the necessary skills, you have to learn what it takes to make it work.</p>
<h2>What Makes Blog Scams Possible?</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/ladys-hut.jpg" alt="Lady&#039;s Hut" title="Lady&#039;s Hut" width="257" height="363" class="alignright" /></p>
<p>A blog is a great publishing tool. The technology has improved to a point that it can be used as content management system (CMS) for small and medium sites. With the underlying infrastructure and the blogosphere, a blog is suitable for anyone who have a passion to get their thoughts out and be found.</p>
<p>A blog allows the readers to interact with the blogger, something most conventional CMS can&#8217;t do, at least not as easily as a blog.</p>
<p>It is not uncommon that a blog gets traffic the same day it was started. Search engine spiders are known to crawl blogs within 24-48 hours since the first entry is published. It may take longer, but still it is a shortcut to getting listed in major search engines like Google, Yahoo and MSN Search.</p>
<p>Just as a comparison, if you submit your site to search engines, it may take a few months before the search engine spiders actually come. </p>
<p>One-click publishing and instant search engine crawling are only two compelling benefits of blogging. Blog scams take advantage of those benefits to offer software package or guides that promise unrealistic income.</p>
<p>To understand it further, you need to grasp a few fundamental concepts or principles.</p>
<ol>
<li>Online users are searching for information. They are always in need for information before they actually make a purchase.</li>
<li>A lot of people start the search in search engines.</li>
<li>There are many untapped keywords, especially long tail keywords &#8212; low search volume per keyword but there are lots of them.</li>
<li>A blog lets anyone publish content quickly.</li>
<li>Setup correctly, a publisher will get the blog crawled in record time by search engine spiders.</li>
<li>Frequently updated blog tends to rank high in search engines.</li>
<li>A blog lets people find you in many ways.</li>
<li>There are some advertising networks that allow any publisher to cash in on their content almost immediately.</li>
</ol>
<p>Depends on how you&#8217;d see it, you are likely to notice a real business opportunity, or potential scam by unscrupulous scam artists.</p>
<h2>Common Techniques Used by Blog Scammers</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/wall-clock.jpg" alt="Wall Clock" title="Wall Clock" width="500" height="216" class="aligncenter" /></p>
<p>It doesn&#8217;t take long time of research to realize patterns used by common blog scammers.</p>
<p>The systems are more or less the same, with a few twists here and there. Of course, a product may be slightly improved over the predecessors.</p>
<p>If you think about it, such system usually fills in a demand too, exactly like what a legitimate model does. People are looking for information. If you are able to provide that, with the right promotion, your blog will be found.</p>
<p>Just that with a scam, but they do it by spamming the search engines. That is a very common model. It used to be that you could be able to make good money easily with this method but as search engines become smarter they know enough to sift pages better. And they are only going to get better.</p>
<p>Relying your business upon such a model, with the wrong expectation to earn an unrealistic figure, is not what most people want.</p>
<p>There is more than one way to do it though. For instance, when it comes to content, the system may go through different ways to process source of content such as directory listings, free article directories or datafeeds from affiliate merchants.</p>
<p>Here are some common blog scam techniques:</p>
<h3>Blog Content Generation Tools</h3>
<ul>
<li><strong>Auto RSS feeds to blog posting.</strong> Source one or more RSS feeds and post each entry as standalone content on the new spam blog (splog). Not only they add no value to existing content but often they fail to credit the source.</li>
<li><strong>Auto keyword stuffing content.</strong> Get content from random places, including search engine results and directory listings (they usually are keyword focused) before injecting it to the blog.</li>
<li><strong>Datafeed processing tool.</strong> Process product data from affiliate merchant&#8217;s datafeed and post them as content to the blog, complete with affiliate links.</li>
<li><strong>Free article directories scraper.</strong> Search article directories for free articles related to the topic you want to post.</li>
<li><strong>Private label content spinner.</strong> Private label content is a cheap way to get huge amount of content. Rather than manually rewrite the content, the author could use the tool to spin paragraphs, words and bits of contents to make them unique. The result is often not as natural as writing a piece of content from scratch, unless you spend a lot of time on it, which defeats the purpose of such software.</li>
</ul>
<h3>Inbound Link Tools</h3>
<ul>
<li><strong>Blog and ping.</strong> Ping as many services as possible. Some of the services will index the pages in those blog services, which in lead to the blog. Others will let real users find the post when searching for information. However, these tools usually focus on the benefit of getting strong link popularity instead of real visitors because people detect fishy content relatively fast.</li>
<p><strong>Tag and ping.</strong> Use tagging such as Technorati tags so the blog is found for popular search terms.</li>
<li><strong>Auto reciprocal link request.</strong> It is surprising that people are actually linking to splogs, but it happens especially between splogs to boost link popularity.</li>
<li><strong>Auto site submission tools.</strong> Submit to millions of directories and search engines, also sites that allow adding links.</li>
<li><strong>Blog comment and trackback spamming.</strong> Automatically post blog comments that link back to the blog. Some of the comment spam get into the blogs, for each which doesn&#8217;t include a nofollow attribute, it is a boost for their link popularity.</li>
<li><strong>Auto submission to social bookmarking sites.</strong> Submit to as many social bookmarking sites with the right keyword as tag so the content is found by interested users.</li>
</ul>
<h3>Other Tools</h3>
<ul>
<li><strong>Auto blog creation tool.</strong> Create hundreds, if not thousands of blogs automatically from one interface.</li>
<li><strong>Keyword research tool.</strong> While not exactly a scam, they are used by black hat publishers who make money from AdSense arbitrage method or others, but directing traffic to spam sites/splogs.</li>
<li><strong>Search engine cloaking.</strong> Returning different content pages for search engines and human visitors for the sake of cheating the search engine spiders.</li>
</ul>
<p>I am sure there are many tools either publicly sold or created for personal use by many sploggers, but those lists above are very common.</p>
<h2>The Thin Line Between Legitimate Blog Models and Scams</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/carvings.jpg" alt="Carvings" title="Carvings" width="500" height="196" class="aligncenter" /></p>
<p>The line that separates between a blog scam and legitimate blog model is often very thin.</p>
<p>In fact, some techniques used by blog scams take advantage of the benefits of blogging. The problem is, often they are used in ways that are destructive.</p>
<p>For example, &#8220;blog and ping&#8221; is a great tool to notify blog search engines about new entries or changes on your blog. Used properly, it tracks every single conversation that is currently happening on the blogosphere.</p>
<p>Aggressive blog and ping with spammy content turns the services into something less useful because of the volume of spam. It pollutes the blogosphere.</p>
<p>Some site generation tools claim to be legitimate and concentrate on building solid content based on sophisticated methods. Although the content generated are based on good information, still they lack personality and more or less repetition of the same content.</p>
<p>Bloggers who care to automate the whole publishing process usually don&#8217;t care much about the quality of content. They often use content from other people&#8217;s feed or article directories. That doesn&#8217;t add any value to the Internet.</p>
<p>Another technique utilizes mass submission tool for social bookmarking sites. This tool defeats the entire purpose of social bookmarking which is collection of really useful sites submitted and collected manually by human beings.</p>
<p>Of course, there are huge differences between real blog with splogs but sometimes the line is so thin even some bloggers fail to realize what they use is actually cheesy. </p>
<p>Your mileage may vary, but with a basic understanding of what is a blog and how it works, you soon will realize that every tool that tries to automate things to the extreme will either get you nowhere or even bring bad things to your business.</p>
<p>The last thing you want is to be banned by search engines, deleted from blog search engines or simply being avoided by readers, who are one of the most important currency for your blog.</p>
<p>Really, if you understand how these tools work and instead take the time to write your own content, network with other bloggers, build solid inbound links, post comments to other blogs, you are going to get some real exposure and build a legitimate blog that you are going to be proud of. The laziness and automation parts are what make them harmful for long term business.</p>
<p>The analogy is, people who keep polluting the Web and blogosphere with spammy content, it is like peeing into the pond they are going to drink from. Make the Web a better place by contributing solid content. After all, we are going to make use of it too. Plus you are going to build a sustainable business out of it.</p>
<p>The choice is yours.</p>
<p>Return to <a href="http://blogbuildingu.com/make-money-blogging">Make Money Blogging</a> &#8212; A Few Considerations and Advices.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/make-money-blogging" rel="bookmark" title="Permanent Link: Make Money Blogging &#8212; A Few Considerations and Advices">Make Money Blogging &#8212; A Few Considerations and Advices</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/articles/blog-scam/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/articles/blog-scam</feedburner:origLink></item>
		<item>
		<title>Ubuntu Installation Guide for Guest OS (and Server)</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/440866736/ubuntu-installation-guide</link>
		<comments>http://blogbuildingu.com/articles/ubuntu-installation-guide#comments</comments>
		<pubDate>Mon, 03 Nov 2008 11:16:20 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[Blogging Articles]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[virtual machine]]></category>

		<category><![CDATA[vmware player]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1039</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/067.jpg" alt="Ubuntu Installation Guide" title="Ubuntu Installation Guide" width="100" height="75" class="alignleft" />Ubuntu is a popular Linux distribution for both desktop and server use. It is one of the most widely used Linux distro. Whether you want to install Ubuntu as a server operating system or as a guest OS in a virtual machine (VMware Player, for instance), this guide would be of help. Just that for server, you have to skip the instructions specific for a virtual machine.</p>
<p>Installing Ubuntu as a guest operating system for experimenting with various blog software, theme&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/067.jpg" alt="Ubuntu Installation Guide" title="Ubuntu Installation Guide" width="100" height="75" class="alignleft" />Ubuntu is a popular Linux distribution for both desktop and server use. It is one of the most widely used Linux distro. Whether you want to install Ubuntu as a server operating system or as a guest OS in a virtual machine (VMware Player, for instance), this guide would be of help. Just that for server, you have to skip the instructions specific for a virtual machine.</p>
<p>Installing Ubuntu as a guest operating system for experimenting with various blog software, theme or any script is a good idea because a virtual machine is independent of your host operating system. Even if you accidentally delete something, it will not affect the host machine you are running on.</p>
<p><strong>Note:</strong> For people who are interested in installing Ubuntu as a virtual machine, there was a version of Ubuntu created specifically for virtual machine. Ubuntu JeOS (pronounced &#8220;Juice&#8221;) stands for Just enough Operating System. It is an efficient variant of Ubuntu server operating system, configured specifically for virtual appliances. The kernel, for instance, only contains the base elements needed to run within a virtualized environment. However, in Ubuntu 8.10 Intrepid Ibex, you may install a minimal virtual machine from the Ubuntu Server Edition Installation CD by pressing F4. Alternatively, you may also use Ubuntu&#8217;s vmbuilder. As of this writing, I&#8217;ve tested vmbuilder but it is just a bit too complex for average users at this stage. A simple test to generate a virtual machine for VMware Player ended in opening three bug reports. For that reason, this guide will show you how to install Ubuntu minimally instead of using vmbuilder.</p>
<p>Although for the sake of demonstration, this tutorial series will use Ubuntu, by no means VMware is limited to this Linux distro only. Note that I&#8217;ve been running RedHat, CentOS and even compile my own Linux distribution from scratch using VMware without any problem.</p>
<p>As VMware Player is available for both Windows and Linux platforms, you can follow along the tutorial as long as you run Windows and Linux as the host operating system. Mac users are out of luck, but they can still purchase VMware Fusion and install virtual machines.</p>
<h2>Choosing Your Virtual Machine Installation Method</h2>
<p>There are at least two ways to produce virtual machine optimized for Ubuntu installation:</p>
<ol>
<li><strong>By acquiring (downloading) Ubuntu Server Edition ISO.</strong> Ubuntu 8.04 (Hardy) has JEOS ISO image which is only about 100Mb with less than 300Mb installed footprint. However, if you want Ubuntu 8.10 (Intrepid), you must download full ISO, but pick minimal installation. <a href="https://help.ubuntu.com/community/Installation/MinimalCD"rel="nofollow" >Minimal Ubuntu Installation CD</a> is available for Ubuntu too. If you have a fast Internet connection, you may download this version and let Ubuntu grab packages during installation.</li>
<li>Using standard Ubuntu Server installation, but <strong>optimize it for virtualization with JeOSVMBuilder.</strong> The new vmbuilder is updated for Ubuntu 8.10, which is very close to the launch date as of this writing. vmbuilder sounds promising, I will test it again some time in the future.</li>
</ol>
<p>Of course, if you want to install Ubuntu for a server, the first choice is the only viable option.</p>
<p>For this tutorial, I&#8217;m going to use Ubuntu Intrepid Ibex v8.10. Because the process also shows you how to install Linux Ubuntu, you should be able to adapt this tutorial even if you choose to install using JeOS ISO (v8.04).</p>
<p>It is recommended that you have an active, unlimited and fast Internet connection because after minimal installation, we will set Ubuntu to fetch various packages from the Internet.</p>
<p>For those who are interested to test various blog software, blog themes or blog plugins, you may proceed with the blog installation easily.</p>
<h2>Acquiring Ubuntu Linux CD-ROM or ISO Image</h2>
<p>ISO image is just raw CD-ROM data stored in a file. That means you can download a .iso image and write to CD or use it directly as a virtual CD-ROM.</p>
<p>VMware supports virtual device so you don&#8217;t have to write the data into a CD. As it is raw data, the size can be quite enormous. Ubuntu 8.10 Server Edition is about 600MB. After installation, if you want to install additional packages, you should be connected to the Internet to download the necessary packages.</p>
<p>Here is the <a href="http://www.ubuntu.com/getubuntu/download">download link for Ubuntu</a>. Please choose a mirror near you for a better and faster download experience.</p>
<p>If Ubuntu 8.04 LTS, which is supported until 2013 sounds great for you, just for exercise, you may go ahead and install Ubuntu 8.04. The difference in installation &#8212; but not with the vmbuilder tool &#8212; should be minimal that you still could follow along very well.</p>
<p>If you have a quite decent machine, running a full Ubuntu distribution is not an entirely bad idea either. In all cases, the virtual machine will outperform a native Windows machine in performance, especially when installing a web server for experimenting with blog software.</p>
<p>After download, you need to change <em>ide0:0.fileName</em> in the configuration file (.vmx) to full path where the image file resides. This is necessary for the machine to boot the installation CD when you turn on the machine.</p>
<h2>Installing Ubuntu Server Edition with VMware Player</h2>
<p>Launch VMware Player either by running the program or double click on the VMware configuration file (.vmx).</p>
<p>The machine will start automatically. Because the virtual disk contains no operating system yet, VMware is smart enough to boot from the ISO image file during boot-up. There is no need to adjust the BIOS setting.</p>
<p>The first screen lists over 50 languages to choose from. I believe this has started to amaze you. Ubuntu is indeed a powerful operating system that I personally use for production environment. I&#8217;ve just read recently Wikipedia adopted Ubuntu for its server infrastructure.</p>
<p>Well, I digress but that&#8217;s how your customer will react if they love your product, I suppose&#8230;</p>
<p>After you choose the language, you will be able to see a menu like the following. You may check CD for defects, test memory, boot from first hard disk or even use this CD to rescue a broken system.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-server-install.png" alt="Ubuntu Server Installation - Welcome Screen" title="Ubuntu Server Installation - Welcome Screen" width="340" height="265" class="aligncenter" /></p>
<p>On this screen, it is important that you press <strong>F4 - Modes</strong> to only install a minimal system &#8212; which is the package selection equivalent to JeOS. In Ubuntu 8.10 release, you will be able to install minimal for virtual machine. Pick that if you install it in VMware Player.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-minimal-system.png" alt="Ubuntu Minimal System" title="Ubuntu Minimal System" width="261" height="236" class="aligncenter" /></p>
<p>Pick <strong>Install Ubuntu Server</strong> to start the installation process.</p>
<p>In the next screen, you will be asked again for a language. This one will be used for the installation process and as the default language for the final system.</p>
<p>If you choose English, which is what I do, you should be prompted to choose a country, territory or area. As always hit <strong>Enter</strong> to proceed with your selection. </p>
<p>Ubuntu installation process will then detect your keyboard layout through a series of questions. In this case, it successfully detects my keyword layout as &#8220;us,&#8221; so let&#8217;s <strong>Continue</strong> to the next step.</p>
<p>Type in the hostname for the system. A hostname is a single word that identifies your system to the network. <em>ubuntu</em> is not a bad name for identity, unless of course, you have multiple Ubuntu servers installed or running at a time. For server, you may use your domain name.</p>
<p>The process will continue by setting the clock based on a time server and let you pick a timezone. After that, it will detect various storage device (virtual hard drives) and prompt you to partition your disk.</p>
<p>For people who want more flexibility, <strong>Manual</strong> method is the way to go. For most people, <strong>Guided - use entire disk</strong> is a pretty safe answer. Using LVM (Linux Volume Manager) is out of the scope of this tutorial though.</p>
<p>The next screen warns you that all the data on the disk will be erased if you choose to proceed. Remember this is the blank disk image that you&#8217;ve downloaded or created before, so it is still blank. Now you are ready to format and load it with Ubuntu server.</p>
<p>If you confirm that, Ubuntu starts to divide your disk into two partitions. One partition is for the system files and the other is for swap files (extended memory on disk drives).</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-partition.png" alt="Ubuntu Partition" title="Ubuntu Partition" width="500" height="119" class="aligncenter" /></p>
<p>Proceed to the next step by choosing <strong>Yes</strong> to write changes to the disks.</p>
<p>Ubuntu installation process will now format your virtual hard disk and installing the base system into the newly created disk.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-install-base.png" alt="Ubuntu Install Base" title="Ubuntu Install Base" width="500" height="121" class="aligncenter" /></p>
<p>The installation process may take some time, depends on your computer speed and other factors. When it finally finishes, you will be asked to set up users and passwords. Follow the instructions and create one account that you will use for login later.</p>
<p>Ubuntu lets you setup encrypted private directory to protect your files, but this is not necessary especially in a test environment, so pick <strong>No</strong>.</p>
<p>You could enter your HTTP proxy information if you use one to access the Internet. This is necessary to configure the package manager and install additional packages later. Leave this blank for none.</p>
<p>Based on your input, Ubuntu installation will go out, scan the mirror and configure package manager (<em>apt</em>) for you. Don&#8217;t worry though, Ubuntu won&#8217;t try to update anything unless you let it to. In the next screen, you will be able to choose if you want to install security updates automatically or other options.</p>
<p>You may also manage the system with <em>Landscape</em>, which is a web-based system management service by Canonical, the company behind Ubuntu. For this demonstration, I&#8217;ll pick <strong>No automatic updates</strong>.</p>
<p>The next screen allows you to tune the system to your needs. You may pick various software options to install. If you are going with Linux, Apache, MySQL and PHP, LAMP is an option for you to pick.</p>
<p>However, in this case you are going to install either LEMP (nginx) or LLMP (lighttpd). As I&#8217;ll show you how to do this from scratch, you can skip this step without picking a thing.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-choose-software.png" alt="Ubuntu Choose Software to Install" title="Ubuntu Choose Software to Install" width="500" height="244" class="aligncenter" /></p>
<p>Wait for the system to install software packages for you. When it is done, you have completed the installation process. Now it is not as difficult as you may think, isn&#8217;t it?</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-installation-complete.png" alt="Ubuntu Installation Completed" title="Ubuntu Installation Completed" width="500" height="138" class="aligncenter" /></p>
<p>Let the system reboot and start the newly installed system for you. If you are new to Linux, chances are most of the message on the screen look like gobbledygook. It doesn&#8217;t matter at all.</p>
<p>Once you&#8217;ve seen the login prompt, enter the user name and password you&#8217;ve created above to login.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-login.png" alt="Ubuntu Login Screen" title="Ubuntu Login Screen" width="453" height="141" class="aligncenter" /></p>
<p>Once you&#8217;re logged in, use the following command to check disk space.</p>
<p><code>df -h</code></p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-dfh.png" alt="Ubuntu Check Used Disk Space" title="Ubuntu Check Used Disk Space" width="500" height="125" class="aligncenter" /></p>
<p>A minimal system takes about 517M with no additional packages installed, which may seem like a lot to some users. However, even with 4GB virtual hard drive, you still have ample of room to play.</p>
<p><strong>Note:</strong> If you pick the minimal for virtual machine mode during installation, the disk space used is only 300-400MB.</p>
<p>Let&#8217;s check for the amount of memory used by this system.</p>
<p><code>free -m</code></p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/ubuntu-freem.png" alt="Ubuntu Check Free Memory" title="Ubuntu Check Free Memory" width="500" height="60" class="aligncenter" /></p>
<p>Ubuntu uses only about 39MB, including the buffers and cached data. Suddenly 256MB seems like a lot for this kind of setup, so depends on the final system you may adjust the memory allocate for your virtual machine.</p>
<p>Return to <a href="http://blogbuildingu.com/how-to-make-server">How to Make a Server</a> &#8212; Building High Performance Server</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/how-to-make-server" rel="bookmark" title="Permanent Link: How to Make a Server &#8212; Building High Performance Server">How to Make a Server &#8212; Building High Performance Server</a></li><li><a href="http://blogbuildingu.com/articles/using-vmware-player-to-create-images-for-new-virtual-machines" rel="bookmark" title="Permanent Link: Using VMware Player to Create Images for New Virtual Machines">Using VMware Player to Create Images for New Virtual Machines</a></li><li><a href="http://blogbuildingu.com/wordpress/install-wordpress-securely" rel="bookmark" title="Permanent Link: WordPress Security &#8212; How to Install WordPress Securely">WordPress Security &#8212; How to Install WordPress Securely</a></li><li><a href="http://blogbuildingu.com/articles/what-is-a-blog" rel="bookmark" title="Permanent Link: What is a Blog?">What is a Blog?</a></li><li><a href="http://blogbuildingu.com/tdc/setup-twhirl" rel="bookmark" title="Permanent Link: Setup Twhirl &#8212; a Twitter Client Based on Adobe AIR (Week 3)">Setup Twhirl &#8212; a Twitter Client Based on Adobe AIR (Week 3)</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/articles/ubuntu-installation-guide/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/articles/ubuntu-installation-guide</feedburner:origLink></item>
		<item>
		<title>Using VMware Player to Create Images for New Virtual Machines</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/437578901/using-vmware-player-to-create-images-for-new-virtual-machines</link>
		<comments>http://blogbuildingu.com/articles/using-vmware-player-to-create-images-for-new-virtual-machines#comments</comments>
		<pubDate>Fri, 31 Oct 2008 02:31:17 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[Blogging Articles]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[virtual machines]]></category>

		<category><![CDATA[vmware]]></category>

		<category><![CDATA[vmware player]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=1011</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/066.jpg" alt="Create Virtual Machine with VMware Player" title="Create Virtual Machine with VMware Player" width="100" height="75" class="alignleft" />In two previous tutorials, you have learned how to install smaller and lighter Apache alternative for your desktop &#8212; nginx and lighttpd. While they are more than enough to satisfy the need of theme designers and plugin developers, some people prefer to have a full-blown server running for a few reasons.</p>
<p>The most obvious reason is server compatibility for which code will be deployed on. While the WLMP and WEMP are much like running your own server, there are issues like&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/066.jpg" alt="Create Virtual Machine with VMware Player" title="Create Virtual Machine with VMware Player" width="100" height="75" class="alignleft" />In two previous tutorials, you have learned how to install smaller and lighter Apache alternative for your desktop &#8212; nginx and lighttpd. While they are more than enough to satisfy the need of theme designers and plugin developers, some people prefer to have a full-blown server running for a few reasons.</p>
<p>The most obvious reason is server compatibility for which code will be deployed on. While the <a href="http://blogbuildingu.com/wordpress/install-wordpress-wlmp">WLMP</a> and <a href="http://blogbuildingu.com/wordpress/install-wordpress-wemp">WEMP</a> are much like running your own server, there are issues like file and directory permissions that are not compatible between Linux and Windows.</p>
<p>The former is more widely used because of its efficiency and performance as a web server.</p>
<p>With current technology, it is possible for you to run different types of operating system, even at the same time if you have the resources, on a desktop machine.</p>
<p>So, that saves quite a bit on power and server cost.</p>
<p>Another great thing is that nowadays virtualization software are available for free. While there are more advanced versions that require payment, for starters the free version is more than enough.</p>
<p>VMware Player is one example. It is based on the lines of products released by VMware, including VMware Workstation and VMware Server. For blog designers and developers, VMware Player is more likely the choice. VMware Server is also free but more suitable for server environment.</p>
<h2>Download VMware Player</h2>
<p>You should at least read the overview and various documentations before downloading and running VMware Player, if this is your first time to install it.</p>
<p>For many people, including bloggers, virtualization is a relatively new concept. It is important to understand at least the basic before you try to run it.</p>
<p>Although the software is straightforward to install and run, it still involves some learning curve. You should be prepared for this, but not to the level that you resist it. This is something that will benefit you more as you get familiar with it.</p>
<p>With that said, here is the link that leads you to the <a href="http://www.vmware.com/products/player/">overview page for VMware Player</a>. The download button is above the fold, but please read the overview first!</p>
<h2>Problems with VMware Player and Possible Solutions</h2>
<p>VMware Player, as the name implies, runs virtual machines on your Windows or Linux desktop created by VMware Workstation, VMware Fusion, VMWare Server of VMware ESX. It is also capable of running Microsoft Virtual Server and VIrtual PC virtual machines.</p>
<p>The limitation is, you can&#8217;t create a new virtual machine from scratch with it. VMware Workstation is the product line that supports that. Currently, VMware provides a lot of ready-made virtual appliances for you to use.</p>
<p>Fortunately, there are <em>hacks</em> that allow you to bypass that limitation in VMware Player.</p>
<p>In this tutorial, I&#8217;m going to show you how to create your own virtual machine using VMware Player so you can install your chosen operating system, such as Windows, Linux or even BSD on top of it from scratch.</p>
<p>You may also pick the Linux distribution to install so you may experience different Operating Systems (OS) before deploying on your production server or virtual private server.</p>
<p>A VMware&#8217;s virtual machine consists of two main parts:</p>
<ol>
<li>A virtual machine image / disk (.vmdk)</li>
<li>A virtual machine configuration file (.vmx)</li>
</ol>
<p>Let&#8217;s solve these problems, one at a time.</p>
<p><strong>Note:</strong> There is a solution that allows you to generate both VMware configuration file (.vmx) and disk images from the Web. Think of it as a Web-based wizard. Although still missing some options, it is still one-stop solution for VMware Player users for VM creation.</p>
<h2>Download Empty VMware Player Images</h2>
<p>Although not as flexible as other options, this is the fastest way to get you started. VMware&#8217;s configuration file is in plain text, so you should have no problem in editing it at all.</p>
<p>For instance, you may modify the CD-ROM drive to read from an ISO image in your hard drive. Ubuntu and other linux distributions provide free download of .iso image. This is the raw file that could be burned into a physical CD.</p>
<p>These empty disk images come in different sizes: 1GB, 4GB, 8GB and 15GB. Note these virtual disks have sparse files support. That means when you uncompress these files, you will see much smaller files. VMware will grow these files as you use them, so it is a good idea to have enough disk space, as much as what you plan to use.</p>
<ul>
<li><a href="http://blogbuildingu.com/files/1gb-vmdk.zip"rel="nofollow" >1GB VMware virtual disk image</a> (1KB compressed, 196KB uncompressed)</li>
<li><a href="http://blogbuildingu.com/files/4gb-vmdk.zip"rel="nofollow" >4GB VMware virtual disk image</a> (1.6KB compressed, 589KB uncompressed)</li>
<li><a href="http://blogbuildingu.com/files/8gb-vmdk.zip"rel="nofollow" >8GB VMware virtual disk image</a> (2.5KB compressed, 1.1MB uncompressed)</li>
<li><a href="http://blogbuildingu.com/files/15gb-vmdk.zip"rel="nofollow" >15GB VMware virtual disk image</a> (4KB compressed, 2MB uncompressed)</li>
</ul>
<p>While you can&#8217;t boot a thing yet with this image, they have ample of space for you to play. You can boot from CD and install operating system onto the image and make it bootable.</p>
<p>In other words, the first problem was solved.</p>
<h2>Using Qemu to Create Virtual Disk Images</h2>
<p>This is another option for disk image creation. <a href="http://www.h7.dion.ne.jp/~qemu-win/">Qemu</a> is an emulator for various CPUs, but it also includes an executable called <em>qemu-img.exe</em> that allows you to create VMware disk image, among others.</p>
<p>The command syntax for <em>qemu-img.exe</em> is as follow:</p>
<p><code>qemu-img.exe create -f vmdk Linux.vmdk 4GB</code></p>
<p>In the same directory it will create a disk image ready to be used for your new virtual machine.</p>
<h2>Download/Make VMware Configuration File</h2>
<p>VMware&#8217;s configuration file (.vmx) is just plain text with a specific extension so Windows&#8217; users may double click and run it from Windows Explorer.</p>
<p>Linux users may have <em>#!/usr/bin/vmware</em> on top of the configuration so they may set the file executable and the system knows which program to run.</p>
<p>Unlike disk image, this means you may change options easily, especially for values that are more obvious, such as the path to ISO image, etc.</p>
<p>Here is a VMware configuration file template that you can use for VMware Player. It should works for VMware Player 2.5 and above. It is always a good idea to upgrade to the latest and newest version though.</p>
<p><a href="http://blogbuildingu.com/files/Linux.vmx"rel="nofollow" >Download Virtual Machine Configuration File (VMX)</a></p>
<p>I have grouped the configuration options together so when you open the file you should see editable options on top.</p>
<p>This configuration file is created for people who want to follow along with me to install Ubuntu (Linux) and setup WordPress / Movable Type after it. However, if you want to run Windows Vista, edit the (.vmx) file to read as follow.</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;"><span style="color: #000099;">displayName</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;Windows&quot;</span>
<span style="color: #000099;">guestOS</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;winVista&quot;</span></pre></div></div>

<p>A list of supported guest Operating Systems is available below at the end of the article. Note that even if the guest OS you plan to install is not here, that doesn&#8217;t mean you can&#8217;t install it. The list shows systems that can be tweaked to perform better in virtual environment.</p>
<p>If you choose the right option, that means VMware will be <em>virtualizing</em> it better than if you choose a generic OS.</p>
<p>Here are a few other adjustable options:</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;"># Common values are <span style="">32</span>, <span style="">64</span>, <span style="">128</span>, <span style="">256</span>, <span style="">512</span> and <span style="">1024</span>
<span style="color: #000099;">memsize</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;256&quot;</span>
&nbsp;
# The path to the hard disk image <span style="">&#40;</span>has to be in the right format<span style="">&#41;</span>
scsi0:0.fileName <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;Linux.vmdk&quot;</span>
&nbsp;
# The path to Ubuntu CD-ROM image
ide1:0.fileName <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;C:\data\ubuntu-8.10-server-i386.iso&quot;</span></pre></div></div>

<h2>All in One Solution for VMware Disk Image/Configuration File</h2>
<p>Alternatively, you may use <a href="http://www.easyvmx.com/new-easyvmx.shtml">EasyVMX!</a> to create virtual machine configuration for VMware. It is much like a web version of the VMware virtual machine creation wizard.</p>
<p>Let&#8217;s go through EasyVMX! one step at a time.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/11/easyvmx-virtual-hardware.png" alt="EasyVMX Virtual Hardware" title="EasyVMX Virtual Hardware" width="500" height="156" class="aligncenter" /></p>
<p>First off, you should choose a name that clearly identify the new virtual machine. If &#8220;Ubuntu Linux&#8221; is too generic, feel free to name it &#8220;Ubuntu 8.10&#8243; or anything more specific. Also pick the right entry in the <strong>Select GuestOS</strong> dropdown list.</p>
<p>Leaving the <strong>Power ON / Power OFF</strong> options as is is usually a good idea unless you know what you are doing. If you intend to run this VM just for experiment, you certainly don&#8217;t need to adjust anything here.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-power-on-ff.png" alt="EasyVMX Power On and Off Options" title="EasyVMX Power On and Off Options" width="500" height="64" class="aligncenter" /></p>
<p>You may give your VM a more descriptive name in the <strong>Virtual Machine Description</strong> section.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-vm-description.png" alt="EasyVMX VM Description" title="EasyVMX VM Description" width="500" height="120" class="aligncenter" /></p>
<p>You should leave the <strong>Network Interface Cards</strong> options as is, unless you have specific requirements to have those features set to different values.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-nic.png" alt="EasyVMX NIC Options" title="EasyVMX NIC Options" width="500" height="125" class="aligncenter" /></p>
<p>Floppy disk drive can be a nice option to have because with it you may be able to boot from floppy disk or a floppy image. For installation of Linux, you probably don&#8217;t need this though.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-floppy.png" alt="EasyVMX Floppy" title="EasyVMX Floppy" width="500" height="93" class="aligncenter" /></p>
<p>You should have at least one CD-ROM in EasyVMX! configuration. As the second drive, specify the path to Ubuntu JEOS image file. You may edit the <em>.vmx</em> file later if you haven&#8217;t downloaded the image file yet.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-cdrom.png" alt="EasyVMX CD-ROM Options" title="EasyVMX CD-ROM Options" width="500" height="110" class="aligncenter" /></p>
<p>Set the hard disk drive to the size you want. In this case, we set it to 4GB, using virtual SCSI controller. This new version of Easy VMX also includes the capability to setup shared folder but that is optional. Only the first disk should be there.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-hard-drives.png" alt="EasyVMX Hard Drives" title="EasyVMX Hard Drives" width="500" height="163" class="aligncenter" /></p>
<p>As our goal is to setup a server machine without any graphical interface with minimal memory usage, you should uncheck all the other options unless you really want them.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/easyvmx-sound-io.png" alt="" title="EasyVMX Sound and IO Options" width="500" height="182" class="aligncenter" /></p>
<p>Hit the <strong>Create Virtual Machine</strong> button to generate configuration file and hard disk image as you&#8217;ve selected above. The next screen allows you to download all the files in one compressed .zip file.</p>
<p>Download that file and save to your hard drive.</p>
<h2>Unpack Your Files and Customize</h2>
<p>Whichever route you take, you are now set. Unpack all the files into one folder. You are ready to install the guest operating system on your newly created virtual machine.</p>
<p>Open the (.vmx) file with Notepad or any other text editor. The following are the variables that you may want to adjust:</p>
<ul>
<li><strong>displayName.</strong> The name of this virtual machine as displayed on the screen.</li>
<li><strong>guestOS.</strong> Guest operating system name. You should set this to the right OS for VMware to tweak the system so it performs better in virtualization.</li>
<li><strong>memsize.</strong> Memory size allocated for the virtual machine.</li>
<li>scsi0:0.fileName.</strong> Point the value of this variable to the virtual machine image file (.vmdk).</li>
<li><strong>ide1:0.fileName.</strong> This one should point to the installation CD (raw image, .iso). If you already have CD of the guest OS, you may not need this.</li>
</ul>
<h2>VMware Supported Virtual Machine Operating Systems</h2>
<p>I&#8217;ve tested running VMware using generic setting for an operating system. It works because VMware is just a virtual machine. However, if you want to take advantage of certain tweaks and optimization for virtualization, you should choose the right operating system. VMware may give you certain performance improvement for that.</p>
<p>For newer operating system, it is only officially supported by new versions of VMware. However, if you are running popular operating system, you should have no problem with it. Just look for one from the list below and substitute the VMware configuration file (.vmx) with the right value.</p>
<p>Here is the list of supported value for <em>guestOS</em> variable for VMware Workstation 6.5.x. If you don&#8217;t want to go through the whole process again just to change the value, this list can speed things up. You only need to edit the <em>guestOS</em> value in the <em>.vmx</em> file.</p>
<h3>Microsoft Windows</h3>
<p>Windows 3.1 = <em>win31</em><br />
Windows 95 = <em>win95</em><br />
Windows 98 = <em>win98</em><br />
Windows Me = <em>winme</em><br />
Windows NT = <em>winnt</em><br />
Windows 2000 Professional = <em>win2000pro</em><br />
Windows 2000 Server = <em>win2000serv</em><br />
Windows 2000 Advanced Server = <em>win2000advserv</em><br />
Windows XP Home Edition = <em>winxphome</em><br />
Windows XP Professional = <em>winxppro</em><br />
Windows XP Professional x64 Edition = <em>winxppro-64</em><br />
Windows Vista = <em>winvista</em><br />
Windows Vista x64 Edition = <em>winvista-64</em><br />
Windows Server 2003 Web Edition = <em>winnetweb</em><br />
Windows Server 2003 Standard Edition = <em>winnetstandard</em><br />
Windows Server 2003 Enterprise Edition = <em>winnetenterprise</em><br />
Windows Server 2003 Small Business = <em>winnetbusiness</em><br />
Windows Server 2003 Standard x64 Edition = <em>winnetstandard-64</em><br />
Windows Server 2003 Enterprise x64 Edition = <em>winnetenterprise-64</em><br />
Windows Server 2008 = <em>longhorn</em><br />
Windows Server 2008 x64 Edition = <em>longhorn-64</em></p>
<h3>Linux</h3>
<p>Red Hat Linux = <em>redhat</em><br />
Red Hat Enterprise Linux 2 = <em>rhel2</em><br />
Red Hat Enterprise Linux 3 = <em>rhel3</em><br />
Red Hat Enterprise Linux 3 64-bit = <em>rhel3-64</em><br />
Red Hat Enterprise Linux 4 = <em>rhel4</em><br />
Red Hat Enterprise Linux 4 64-bit = <em>rhel4-64</em><br />
Red Hat Enterprise Linux 5 = <em>rhel5</em><br />
Red Hat Enterprise Linux 5 64-bit = <em>rhel5-64</em><br />
Asianux 3 = <em>asianux3</em><br />
Asianux 3 64-bit = <em>asianux3-64</em><br />
SUSE Linux = <em>suse</em><br />
SUSE Linux 64-bit = <em>suse-64</em><br />
SUSE Linux Enterprise Server = <em>sles</em><br />
SUSE Linux Enterprise Server 64-bit = <em>sles-64</em><br />
SUSE Linux Enterprise Server 10 = <em>sles10</em><br />
SUSE Linux Enterprise Server 10 64-bit = <em>sles10-64</em><br />
Novell Linux Desktop 9 = <em>nld9</em><br />
Sun Java Desktop System = <em>sjds</em><br />
Mandrake Linux = <em>mandrake</em><br />
Mandriva Linux = <em>mandriva</em><br />
Mandriva Linux 64-bit = <em>mandriva-64</em><br />
Turbolinux = <em>turbolinux</em><br />
Turbolinux 64-bit = <em>turbolinux-64</em><br />
Ubuntu = <em>ubuntu</em><br />
Ubuntu 64-bit = <em>ubuntu-64</em><br />
Other Linux 2.2.x kernel = <em>otherlinux</em><br />
Other Linux 2.4.x kernel = <em>other24xlinux</em><br />
Other Linux 2.4.x kernel 64-bit = <em>other24xlinux-64</em><br />
Other Linux 2.6.x kernel = <em>other26xlinux</em><br />
Other Linux 2.6.x kernel 64-bit = <em>other26xlinux-64</em><br />
Other Linux 64-bit = <em>otherlinux-64</em></p>
<h3>Novell Netware</h3>
<p>NetWare 5 = <em>netware5</em><br />
NetWare 6 = <em>netware6</em></p>
<h3>Sun Solaris</h3>
<p>Solaris 8 (experimental) = <em>solaris8</em><br />
Solaris 9 (experimental) = <em>solaris9</em><br />
Solaris 10 = <em>solaris10</em><br />
Solaris 10 64-bit = <em>solaris10-64</em></p>
<h3>Other</h3>
<p>MS-DOS = <em>dos</em><br />
FreeBSD = <em>freebsd</em><br />
FreeBSD 64-bit = <em>freebsd-64</em><br />
Other = <em>other</em><br />
Other 64-bit = <em>other-64</em></p>
<p>Return to <a href="http://blogbuildingu.com/how-to-make-server">How to Make a Server</a> &#8212; Building High Performance Server.</p>
<hr /><h2>Related posts:</h2><ul><li><a href="http://blogbuildingu.com/how-to-make-server" rel="bookmark" title="Permanent Link: How to Make a Server &#8212; Building High Performance Server">How to Make a Server &#8212; Building High Performance Server</a></li><li><a href="http://blogbuildingu.com/articles/ubuntu-installation-guide" rel="bookmark" title="Permanent Link: Ubuntu Installation Guide for Guest OS (and Server)">Ubuntu Installation Guide for Guest OS (and Server)</a></li><li><a href="http://blogbuildingu.com/tdc/tips-for-watching-the-videos-tdc-preseason-week-8" rel="bookmark" title="Permanent Link: Tips for Watching the Videos &#8212; TDC Preseason Week 8">Tips for Watching the Videos &#8212; TDC Preseason Week 8</a></li><li><a href="http://blogbuildingu.com/articles/building-blogging-business-part-2" rel="bookmark" title="Permanent Link: Building a Long-Term Blogging Business: Creating Strategic Content Plan and a Few Content Creation Tips (Part 2)">Building a Long-Term Blogging Business: Creating Strategic Content Plan and a Few Content Creation Tips (Part 2)</a></li><li><a href="http://blogbuildingu.com/articles/whitehat-seo-tips-matt-cutts" rel="bookmark" title="Permanent Link: Whitehat SEO Tips for Bloggers by Matt Cutts">Whitehat SEO Tips for Bloggers by Matt Cutts</a></li></ul><hr /><small>Copyright &copy; BlogBuildingU.com. All rights reserved. (Digital Fingerprint: 680c7b6394e7bae396184c88eb805e81)</small>]]></content:encoded>
			<wfw:commentRss>http://blogbuildingu.com/articles/using-vmware-player-to-create-images-for-new-virtual-machines/feed</wfw:commentRss>
		<feedburner:origLink>http://blogbuildingu.com/articles/using-vmware-player-to-create-images-for-new-virtual-machines</feedburner:origLink></item>
		<item>
		<title>Install WordPress on WLMP (Windows, Lighttpd, MySQL and PHP)</title>
		<link>http://feeds.marketingloop.com/~r/blogbuildingu/~3/429187641/install-wordpress-wlmp</link>
		<comments>http://blogbuildingu.com/wordpress/install-wordpress-wlmp#comments</comments>
		<pubDate>Thu, 23 Oct 2008 02:59:42 +0000</pubDate>
		<dc:creator>Hendry Lee</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[fastcgi]]></category>

		<category><![CDATA[lighttpd]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blogbuildingu.com/?p=868</guid>
		<description><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/062.jpg" alt="Install WordPress with WLMP" title="Install WordPress with WLMP" width="100" height="75" class="alignleft" />WordPress blog designers and plugin developers work with remote files on a daily basis. The problem is, accessing files on your server, which is probably hosted hundreds of miles away from your geographic location may involve quite a lot of delay. Moreover, you may have to stop working if you have connectivity problems.</p>
<p>Fortunately there are more convenient approaches to this. Existing solutions are sub-optimal because it uses WAMP (Windows, Apache, MySQL, and PHP).</p>
Why WLMP? An Overview
<p>Don&#8217;t get me wrong,&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/062.jpg" alt="Install WordPress with WLMP" title="Install WordPress with WLMP" width="100" height="75" class="alignleft" />WordPress blog designers and plugin developers work with remote files on a daily basis. The problem is, accessing files on your server, which is probably hosted hundreds of miles away from your geographic location may involve quite a lot of delay. Moreover, you may have to stop working if you have connectivity problems.</p>
<p>Fortunately there are more convenient approaches to this. Existing solutions are sub-optimal because it uses WAMP (Windows, Apache, MySQL, and PHP).</p>
<h2>Why WLMP? An Overview</h2>
<p>Don&#8217;t get me wrong, Apache is well-established and most widely used server software throughout the Internet. It is able to handle almost any load and setup, but at the same time the cost in terms of <strong>memory consumption and processing cycle are also huge</strong>.</p>
<p>Lighttpd is a better alternative for this reason. For WordPress hosting, it has more than enough features to support all the necessary operations. Tests upon tests show that the performance in lightty is significantly better even with limited resources.</p>
<p>This is an extra bonus, especially for people who have scarce resources on their workstation &#8212; which is most likely the case.</p>
<p><strong>Note:</strong> Albeit using the same name, this setup is independent from the WLMP project, except that the lighttpd software package is taken from the project. Other than that, we are going to install and slightly optimize MySQL and PHP separately.</p>
<h2>System Requirements</h2>
<p>For this tutorial, I&#8217;m going to use Windows Vista. There is no specific requirement as far as I know of. This setup has also been tested in Windows XP Service Pack 2.</p>
<p>The installation process is pretty simple. When starting the various servers, they may consume less memory and as they serve more data and pages, they will need more memory.</p>
<p>mysqld, for instance, requires only a bit more than 1MB when you start it for the first time. The php-cgi occupies around 5MB at first.</p>
<p>However, after running WordPress for some time&#8230;</p>
<ul>
<li>LightTPD still occupies only less than 1.5MB. You&#8217;re going to like this, aren&#8217;t you?</li>
<li>PHP running in FastCGI is about 6.5MB.</li>
<li>MySQLd takes around 11MB.</li>
</ul>
<p>The total memory consumption is ~ 19MB. Of course, that depends on how you optimize MySQL or how much data do you have in the database. The point is, you probably have known about PHP and MySQL, but isn&#8217;t the figure for LightTPD encouraging?</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/wlmp-memory.jpg" alt="WLMP Memory Consumption" title="WLMP Memory Consumption" width="354" height="165" class="aligncenter" /></p>
<p>Compare this to Apache. Memory consumption of 50 - 300MB per process is not unheard of, and in fact it is quite common. Note that I&#8217;m not comparing apple to apple, but you don&#8217;t need the extra features in Apache. Another thing worth considering is CPU load.</p>
<p>In short, life with WLMP is much lightier, better, and faster.</p>
<h2>Get Started with WLMP Installation</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/lighttpd.png" alt="Lighttpd Logo" title="Lighttpd Logo" width="150" height="144" class="alignright" />I presume that the &#8220;W&#8221; part, which is Windows, is already done. Unless you are viewing this page through another computer, chances are you have already had a Windows installation on your desktop computer or laptop.</p>
<p>So let&#8217;s go ahead and proceed with lighty. Download a copy of the newest version of lighttpd from <a href="http://en.wlmp-project.net/downloads.php">WLMP project</a> web site. For demonstration purpose, the version I&#8217;m using is 1.4.20, but it should work with other versions as well.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/lighttpd-install.jpg" alt="Installation Screen for LightTPD" title="Installation Screen for LightTPD" width="499" height="288" class="aligncenter" /></p>
<p>Installation of lighttpd is straightforward. You only need to choose the directory to install the software and proceed. In this case, <em>C:\Program Files\Lighttpd</em> is fine.</p>
<h2>Configuring and Running Lighttpd</h2>
<p>The lighttpd installation includes a script that allows you to test and make sure that your installation is working fine before configuring the server.</p>
<p>This can be done simply by running the <em>TestMode.bat</em>, found in your lighty installation directory. When you double-click it, a command prompt window will appear. Don&#8217;t press Ctrl+C yet. If you see it, that means lighttpd is currently running.</p>
<p>In fact, the server may display message such as the following:</p>
<p><code>yyyy-mm-dd hh:mm:ss: (log.c.97) server started</code></p>
<p><strong>Note:</strong> If you are running Windows Firewall, a dialog may appear, warning you that lighttpd is trying to accept incoming network connections. It is important that you press the <strong>Unblock</strong> button to make exception to the http port (port 80) for lighty only if you want to allow remote connections. Otherwise, keeping it blocked still allows you to access from your desktop.</p>
<p>This dialog box will only be displayed once so you don&#8217;t have to keep allowing the connection each time you start the server.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/lighttpd-testing.jpg" alt="Unblocking LightTPD in Windows Firewall" title="Unblocking LightTPD in Windows Firewall" width="479" height="228" class="aligncenter" /></p>
<p>In case you are wondering, the exception added to Windows Firewall is named <strong>A fast, secure and flexible webserver</strong>, NOT LightTPD.</p>
<p>The next step is to fire up a browser and type in:</p>
<p><code>http://localhost</code></p>
<p>in the address bar of your browser. A screen similar to the following should appear right before you.</p>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/lighttpd-test-page.jpg" alt="Test Page for LightTPD" title="Test Page for LightTPD" width="500" height="250" class="aligncenter" /></p>
<p>This page also tells you what to do. For instance, you may put your web site in <em>C:\Program Files\Lighttpd\htdocs</em>. You will do that later when installing WordPress.</p>
<p>You may also make changes to configuration file, which is <em>C:\Program Files\Lighttpd\conf\lighttpd-inc.conf</em>. This file also includes other files in the same directory if you enable that.</p>
<p>Now that you have it running properly, go to the command prompt window and press <em>Ctrl+C</em> to stop lighttpd.</p>
<p>A message will show about the status of the shutdown process. You may need to press any key after that to get rid of the window.</p>
<h2>Configuring Lighttpd to Interact with PHP</h2>
<p>In short, Lighttpd is able to run PHP-based files via one of these two methods:</p>
<ol>
<li><strong>Running PHP as CGI (Common Gateway Interface).</strong> This requires the CGI module (mod_cgi). Whenever a request for .php file is being made, lighty will invoke an instance of <em>php-cgi.exe</em> and let it process the script before returning the result.</li>
<li><strong>Running PHP in FastCGI mode.</strong> As the name implies this method is faster because a predetermined amount of children processes have been invoked and run in the background. Lighty interacts with PHP&#8217;s FastCGI by using <em>hostname:port</em> pair (TCP protocol) or via the UNIX sockets or named pipes. This requires the mod_fastcgi module.</li>
</ol>
<p>I personally prefer the FastCGI method mainly because it is more flexible. For instance, if I happen to have a desktop and laptop on the same local network, I could install the PHP running in FastCGI mode on my laptop. The lighty and MySQL could just reside on the desktop.</p>
<p>It certainly make it even <em>lighter</em>&#8230;</p>
<p>Up until now, we haven&#8217;t installed PHP yet, but there are several things you should do to make lighttpd ready to send queries for PHP files to FastCGI.</p>
<p>You need to open the file in <em>C:\Program Files\Lighttpd\conf\lighttpd-inc.conf</em>, then do the following:</p>
<ol>
<li>Activate the <em>mod_fastcgi</em> module by deleting the hash sign (&#8217;#') at the beginning of the line.</li>
<li>Change the <em>server.document-root</em> variable to <em>&#8220;c:/program files/lighttpd/htdocs&#8221;</em> instead of just <em>&#8220;htdocs/&#8221;</em>. This is necessary to make FastCGI work flawlessly. You may need to scroll down a bit to find this configuration line.</li>
<li>Finally, scroll down again to the <strong>fastcgi module</strong> section and change the <em>fastcgi.server</em> configuration block to read like below.</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;">fastcgi.server <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> <span style="">&#40;</span> </span><span style="color: #933;">&quot;.php&quot;</span> <span style="color: #000066; font-weight:bold;">=</span>&gt;
                   <span style="">&#40;</span> <span style="color: #933;">&quot;localhost&quot;</span> <span style="color: #000066; font-weight:bold;">=</span>&gt;
                     <span style="">&#40;</span>
                       <span style="color: #933;">&quot;host&quot;</span> <span style="color: #000066; font-weight:bold;">=</span>&gt; <span style="color: #933;">&quot;127.0.0.1&quot;</span>,
                       <span style="color: #933;">&quot;port&quot;</span> <span style="color: #000066; font-weight:bold;">=</span>&gt; <span style="">10000</span>,
                       <span style="color: #933;">&quot;broken-scriptfilename&quot;</span> <span style="color: #000066; font-weight:bold;">=</span>&gt; <span style="color: #933;">&quot;enable&quot;</span>
                      <span style="">&#41;</span>
                    <span style="">&#41;</span>
                  <span style="">&#41;</span></pre></div></div>

<p>In previous section, you have tested lighttpd, and you are seeing the error messages right on the command prompt window (console). The console, in this case, is the error log destination.</p>
<p>When running as a server on the background, you wouldn&#8217;t be able to see the console so the error messages should be directed to a file. The same thing applies to the http access file.</p>
<p>You only need to add two lines to make this happen:</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;">accesslog.filename <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;c:/program files/lighttpd/logs/access.log&quot;</span>
server.errorlog <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;c:/program files/lighttpd/logs/error.log&quot;</span></pre></div></div>

<p>Also make sure the upload directory is set to full path&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="ini ini" style="font-family:monospace;">server.upload-dirs <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;c:/program files/lighttpd/TMP&quot;</span></pre></div></div>

<h2>Running and Stopping Lighttpd, MySQL and PHP FastCGI with Batch File</h2>
<p>The Windows installation of lighttpd includes programs to install and remove lighttpd as Windows service but for one reason or another it is not working.</p>
<p>Anyway, I still prefer the batch script executable though because I could start and stop all lighty, mysqld and php-cgi at the same time.</p>
<p>Here is the content for <em>start-lighttpd.bat</em>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="text text" style="font-family:monospace;">@ECHO OFF
ECHO Starting PHP FastCGI...
RunHiddenConsole.exe C:\Program Files\PHP\php-cgi.exe -b 127.0.0.1:10000
ECHO Starting LightTPD...
lighttpd.exe -f conf\lighttpd-inc.conf -m lib
ECHO Starting MySQL...
RunHiddenConsole.exe &quot;C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt&quot; --defaults-file=&quot;C:\Program Files\MySQL\MySQL Server 5.0\my.ini&quot;
SLEEP 1
EXIT</pre></td></tr></table></div>

<p>Copy and paste the text above and save it as <em>start-lighttpd.bat</em> in <em>C:\Program Files\LightTPD</em>. Alternatively download <a href="http://blogbuildingu.com/files/start-lighttpd.bat"rel="nofollow" >start-lighttpd.bat</a> here.</p>
<p>The script to stop lighttpd, mysqld and php-cgi is properly named <em>stop-lighttpd.bat</em>. The content is as follow:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="text text" style="font-family:monospace;">@ECHO OFF
ECHO Stopping MySQL...
bin\process.exe -k mysqld-nt.exe &gt;nul
ECHO Stopping LightTPD...
bin\process.exe -k lighttpd.exe &gt;nul
ECHO Stopping PHP FastCGI...
bin\process.exe -k php-cgi.exe &gt;nul
SLEEP 1
EXIT</pre></td></tr></table></div>

<p>Again copy, paste and save to the text above or download <a href="http://blogbuildingu.com/files/stop-lighttpd.bat"rel="nofollow" >stop-lighttpd.bat</a> here.</p>
<p>With both this script, you can run and stop lighttpd, mysqld and php-cgi as you wish. Turn it on when you are working and remove them to gain more memory afterwards.</p>
<p>Don&#8217;t run the batch file yet. You need to install PHP and MySQL first&#8230; which the following steps are exactly about.</p>
<h2>Installing PHP on Windows</h2>
<p><img src="http://blogbuildingu.com/wp-content/uploads/2008/10/php.gif" alt="PHP Logo" title="PHP Logo" width="120" height="67" class="alignright" />PHP installation is pretty simple. Just go to <a href="http://www.php.net/downloads.php">PHP download page</a> and download PHP x.x.x installer. The PHP version used for this demonstration is 5.2.6.</p>
<p>Run the installer