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

<channel>
	<title>WebDevster</title>
	<atom:link href="http://webdevster.com/feed" rel="self" type="application/rss+xml" />
	<link>http://webdevster.com</link>
	<description>Web Development Blog</description>
	<pubDate>Wed, 14 Dec 2011 14:55:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Allow US, UK, Canada and Deny the rest of the world.</title>
		<link>http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world</link>
		<comments>http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world#comments</comments>
		<pubDate>Wed, 14 Dec 2011 14:44:29 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[How To]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=966</guid>
		<description><![CDATA[Ok here it is. I was getting tired of removing all the spam from this site, and the other 200 sites, I administer. 
I looked up all the ips in US, UK, and Canada from http://www.countryipblocks.net/.
I formatted (compressed) the 51,600+ lines to 184 lines. Haven&#8217;t benchmark tested the difference; I&#8217;m 100% sure less lines is [...]]]></description>
			<content:encoded><![CDATA[<p>Ok here it is. I was getting tired of removing all the spam from this site, and the other 200 sites, I administer. </p>
<p>I looked up all the ips in US, UK, and Canada from http://www.countryipblocks.net/.</p>
<p>I formatted (compressed) the 51,600+ lines to 184 lines. Haven&#8217;t benchmark tested the difference; I&#8217;m 100% sure less lines is better, i.e. compressed css.</p>
<p>Don&#8217;t forget to change the line to allow your local lan ip, i.e. allow from 192.168.100 to whatever your lan is</p>
<p>Also, I put remarks in the htaccess only for reference. You can remove it all if you want.</p>
<p>Anyways you can <a href="http://webdevster.com/downloads/htaccess.7z">this htaccess from here.</a> Unzip, Copy and paste into your root htaccess or rename htaccess to .htaccess and place in the root of your website</p>
<p>Good Luck.</p>
<p>Excerpt&#8230;..</p>
<p># This htaccess will only allow United States, UK, and Canada. The rest of the world will get 403 &quot;Access Denied/Forbidden&quot;<br />
  # This goes into your root .htaccess<br />
  #<br />
  # Point 1. I left the remarks, i.e. Total Subnets:  1,532,309,752 so you can check http://www.countryipblocks.net for any new subnets periodically<br />
  # Point 2. I compressed approx. 51,600 lines, into 184 lines.<br />
  # Point 3. If your server responds with code 500 Internal Server Error, it means your web server can&#8217;t process these long lines. <br />
  ## Solution1, is to make more line chunks so 184 lines would be 200 lines or more using the same method &quot;allow from&quot;. <br />
  ## Solution2 buy more ram. <br />
  ## Solution3 adjust timeouts in Apache PHP, etc.. <br />
  # Point 4. The internal lan section, is if the web server is on your internal lan.<br />
  # Point 5. Processing the htaccess may take additional time depending on your equipment. <br />
  # A test server took 2-3 seconds to process this 812 kb htaccess; XEN VM, two cores, 2gigs of ram.<br />
  #<br />
  # These ranges of IP Blocks, Segments, Subnets, Networks, Public IPS (Just Tags)<br />
  # were last updated on 2011-12-14 from http://www.countryipblocks.net/<br />
  # This htaccess wwas created by webdevster.com.</p>
<p>order deny,allow<br />
  # Custom: Internal Lan<br />
  allow from 192.168.100<br />
  # Country: UNITED STATES<br />
  # ISO Code: US<br />
  # Total Networks: 40,524<br />
  # Total Subnets:  1,532,309,752<br />
  allow from 3.0.0.0/8 4.0.0.0/8 6.0.0.0/8 7.0.0.0/8 8.0.0.0/8 9.0.0.0/8&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p><!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to BlogRO" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FTW" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to VoxRO" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Twitter" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world.&amp;c=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to MySpace" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;title=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Del.icio.us" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;title=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to digg" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world.&amp;u=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FURL" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;title=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to reddit" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;t=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FaceBook" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Technorati" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;h=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Newsvine" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;title=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Stumble Upon" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;t=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Yahoo My Web" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world&amp;title=Allow+US%2C+UK%2C+Canada+and+Deny+the+rest+of+the+world." title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Google Bookmarks" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Squidoo" alt="Add 'Allow US, UK, Canada and Deny the rest of the world.' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/how-to/htaccess-ip-block-range-allow-us-uk-canada-and-deny-the-rest-of-the-world/feed</wfw:commentRss>
		</item>
		<item>
		<title>Simple Youtube for Drupal</title>
		<link>http://webdevster.com/web-design/simple-youtube-for-drupal</link>
		<comments>http://webdevster.com/web-design/simple-youtube-for-drupal#comments</comments>
		<pubDate>Wed, 23 Feb 2011 17:54:58 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[How To]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[drupal]]></category>

		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=958</guid>
		<description><![CDATA[How to install Simple Youtube for Drupal


by webdevster.com
This quick tutorial will show you how to install a simple &#8220;insert youtube here&#8221;, for your Drupal wysiwyg and tinmce setup. If you have FCKEditor or other editor, it should be a similar setup.
Install wysiwg like normal
Install tinymce like normal
Download youtube simple.
Install this 3rd party plugin &#8220;youtube&#8221; to [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">How to install Simple Youtube for Drupal</h2>
<a href="http://www.qksrv.net/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.qksrv.net/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br />
<p>by webdevster.com</p>
<p>This quick tutorial will show you how to install a simple &#8220;insert youtube here&#8221;, for your Drupal wysiwyg and tinmce setup. If you have FCKEditor or other editor, it should be a similar setup.</p>
<p>Install <a href="http://drupal.org/project/wysiwyg">wysiwg</a> like normal</p>
<p>Install <a href="http://tinymce.moxiecode.com/download/download.php">tinymce</a> like normal</p>
<p>Download <a href="http://sourceforge.net/tracker/index.php?func=detail&#038;aid=3151211&#038;group_id=103281&#038;atid=738747">youtube simple</a>.</p>
<p>Install this 3rd party plugin &#8220;youtube&#8221; to \sites\all\libraries\tinymce\jscripts\tiny_mce\plugins. It should look like this, \sites\all\libraries\tinymce\jscripts\tiny_mce\plugins\youtube.</p>
<p>Than open up \sites\all\modules\wysiwyg\editors\tinymce.inc file and add the following lines to about line 546:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">      <span style="">'youtube'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
      <span style="">'path'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$editor</span><span style="color: #009900;">&#91;</span><span style="">'library path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="">'/plugins/youtube'</span><span style="color: #339933;">,</span>
      <span style="">'buttons'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="">'youtube'</span> <span style="color: #339933;">=&gt;</span> t<span style="color: #009900;">&#40;</span><span style="">'YouTube'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
      <span style="">'url'</span> <span style="color: #339933;">=&gt;</span> <span style="">'http://sourceforge.net/tracker/index.php?func=detail&amp;aid=3151211&amp;group_id=103281&amp;atid=738747'</span><span style="color: #339933;">,</span>
      <span style="">'internal'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000000; font-weight: bold;">TRUE</span><span style="color: #339933;">,</span>
      <span style="">'load'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000000; font-weight: bold;">TRUE</span><span style="color: #339933;">,</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span></pre></div></div>



<p>Enable in drupal admin, got to url; your-drupal-install.com/admin/settings/wysiwyg, select profile, and you will see youtube, enable, save, done.</p>
<p>Last optional step would be to theme and configure the youtube popup dialog, \sites\all\libraries\tinymce\jscripts\tiny_mce\plugins\youtube\youtube.htm</p>
<p>Would be nice to create a Drupal simple youtube module, with this &#8220;simple youtube&#8221; code. Maybe for a later time.</p>
<p>GL</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'Simple Youtube for Drupal' to BlogRO" alt="Add 'Simple Youtube for Drupal' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'Simple Youtube for Drupal' to FTW" alt="Add 'Simple Youtube for Drupal' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'Simple Youtube for Drupal' to VoxRO" alt="Add 'Simple Youtube for Drupal' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Simple Youtube for Drupal' to Twitter" alt="Add 'Simple Youtube for Drupal' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Simple+Youtube+for+Drupal&amp;c=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Simple Youtube for Drupal' to MySpace" alt="Add 'Simple Youtube for Drupal' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;title=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Simple Youtube for Drupal' to Del.icio.us" alt="Add 'Simple Youtube for Drupal' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;title=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Simple Youtube for Drupal' to digg" alt="Add 'Simple Youtube for Drupal' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Simple+Youtube+for+Drupal&amp;u=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'Simple Youtube for Drupal' to FURL" alt="Add 'Simple Youtube for Drupal' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;title=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Simple Youtube for Drupal' to reddit" alt="Add 'Simple Youtube for Drupal' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;t=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Simple Youtube for Drupal' to FaceBook" alt="Add 'Simple Youtube for Drupal' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Simple Youtube for Drupal' to Technorati" alt="Add 'Simple Youtube for Drupal' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;h=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'Simple Youtube for Drupal' to Newsvine" alt="Add 'Simple Youtube for Drupal' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;title=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Simple Youtube for Drupal' to Stumble Upon" alt="Add 'Simple Youtube for Drupal' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;t=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'Simple Youtube for Drupal' to Yahoo My Web" alt="Add 'Simple Youtube for Drupal' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/web-design/simple-youtube-for-drupal&amp;title=Simple+Youtube+for+Drupal" title="Add 'Simple Youtube for Drupal' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Simple Youtube for Drupal' to Google Bookmarks" alt="Add 'Simple Youtube for Drupal' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/web-design/simple-youtube-for-drupal" title="Add 'Simple Youtube for Drupal' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'Simple Youtube for Drupal' to Squidoo" alt="Add 'Simple Youtube for Drupal' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/web-design/simple-youtube-for-drupal/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to install Xen 4 on Debian 6 Squeeze x64</title>
		<link>http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64</link>
		<comments>http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64#comments</comments>
		<pubDate>Sat, 12 Feb 2011 02:13:58 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[How To]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[squeeze]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=945</guid>
		<description><![CDATA[How to install Xen 4 on Debian 6 Squeeze x64.


by webdevster.com
This tutorial is for an HVM x64 VM on a XEN x64 HOST with LVM partition (IMO - is one of the fastest ways you can go for a XEN setup), so you&#8217;ll need a cpu with VT enabled. First off, you need to know [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader"><a name="20Chapter2InstallXenandVM" id="20Chapter2InstallXenandVM"></a>How to install Xen 4 on Debian 6 Squeeze x64.</h2>
<a href="http://www.kqzyfj.com/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.kqzyfj.com/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br />
<p>by webdevster.com</p>
<p>This tutorial is for an HVM x64 VM on a XEN x64 HOST with LVM partition (IMO - is one of the fastest ways you can go for a XEN setup), so you&#8217;ll need a cpu with VT enabled. First off, you need to know what HVM, LVM mean, so go <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/4#20Chapter2InstallXenandVM" title="Chapter 2 - Install Xen and VM" target="_blank">here</a>. If you don&#8217;t know what XEN is you can go <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/4#20Chapter2InstallXenandVM" title="Install Xen " target="_blank">here</a>; even though it&#8217;s for another tutorial, the same principle applies.</p> 

<p>So if you know what XEN LVM HVM means, than you are good to go. I will show you how to install XEN 4 on Debian 6 Squeeze x64, with LVM. Xen on Debian 6 squeeze went smooth, in contrast to other setups. I have also, included &#8220;how to install Debian Squeeze with LVM&#8221; for beginner&#8217;s as well.</p>

<p>It&#8217;s best to start with a wiped HD when dealing with LVM. If it&#8217;s not a new HDD, I recommend using <a href="http://www.dban.org/" title="Darik's Boot And Nuke" target="_blank">Darik&#8217;s Boot And Nuke</a>, to wipe all data, before you get started. </p>

<p>Download the latest version of Squeeze, which at this time is 6.0 (kind of ironic, ay). You can download either the netinstall or full cd; only CD 1 is needed, so don&#8217;t go download a bunch of CDs you&#8217;ll never use.</p>

<p>Insert the Debian Squeeze x64 Installation Disk (debian-6.0.0-amd64-netinst.iso) to start the installation process.</p>

<h3>How to install Debian Squeeze with LVM</h3>

<p>Partition Disk - Select &#8216;Manual&#8217; Partition<br />
  In my example, I use 73gb = 4gb for Debian Squeeze x64 OS, 2gb for swap, and the rest is for physical LVM. The swap here is for the XEN host, and will not be shared by the VMs.<br />
  So, on blank HDD, you&#8217;ll want to do the following:</p>
  
  <p>Create Debian Squeeze OS Partition:</p>
  <ul>
  <li>Select Disk you want to install OS to.</li>
  <li>Select Yes, to create a new empty partition table on this device.</li>
  <li>Select, pri/log 73 GB Free Space</li>
  <li>Create a new partition (FYI: OS)</li>
  <li>Enter 4GB, for partition size, select continue</li>
  <li>Select Primary</li>
  <li>Select Beginning</li>
  <li>For partition settings, use the following settings (Label is Optional):</li>
  Use as: Ext4 journaling file system<br />
  Mount point: /<br />
  Mount options: defaults<br />
  Label: none<br />
  Reserved blocks: 5%<br />
  Typical Usage: standard<br />
  Bootable flag: on<br />
  <li>Select, Done setting up the partition.</li>
  </ul>
  <p>Create Swap Partition:</p>
  <ul>
  <li>Select, pri/log 69 GB Free Space</li>
  <li>Create a new partition (FYI: Swap)</li>
  <li>Enter 2GB, for partition size, select continue (you&#8217;ll need to come up with a custom swap size for your server)</li>
  <li>Select Logical</li>
  <li>Select Beginning</li>
  <li>For partition settings, use the following settings (Label is Optional):</li>
  Use as: swap area<br />
  Bootable flag: off<br />
  <li>Select, Done setting up the partition.</li>
  </ul>
  <p>Create LVM:</p>
  <ul>
  <li>Select, pri/log 67 GB Free Space</li>
  <li>Create a new partition (FYI: LVM)</li>
  <li>Enter default of 67gb, for partition size, select continue</li>
  <li>Select Primary</li>
  <li>For partition settings, use the following settings (Label is Optional):</li>
  Use as: physical volume for LVM<br />
  Bootable flag: off<br />
  <li>Select, Done setting up the partition.</li>
  </ul>
  <p>So now your done with partitioning and Debian Squeeze will take care of the formatting.</p>
<p>Your screen should look like this: Note: I didn&#8217;t feel like creating a screenshot image, so I used an old image (same thing applies accept I used ext4 (YEA), instead of ext3.<br />
<a href="media/images/how-to/install-xen-on-debian-6-squeeze/xen-on-debian-6-squeeze-install.jpg" rel="thumbnail" title="Partitioning Debian 6 Squeeze for LVM - 1"><img src="media/images/how-to/install-xen-on-debian-6-squeeze/xen-on-debian-6-squeeze-install-thumb.jpg" alt="Partitioning Debian 6 Squeeze for LVM - 1" width="300" height="245" /></a></p>
  <ul><li>Now select, Finish partitioning and write changes to disk.</li></ul>
<p>Your screen should look like this: Note: I didn&#8217;t feel like creating a screenshot image, so I used an old image (same thing applies accept I used ext4 (YEA), instead of ext3.<br />
 <a href="media/images/how-to/install-xen-on-debian-6-squeeze/xen-on-debian-6-squeeze-install-2.jpg" rel="thumbnail" title="Partitioning Debian 6 Squeeze for LVM - 2"><img src="media/images/how-to/install-xen-on-debian-6-squeeze/xen-on-debian-6-squeeze-install-2-thumb.jpg" alt="Partitioning Debian 6 Squeeze for LVM - 2" width="302" height="249" /></a></p>
  <ul><li>Select, Yes. The base installation will start.</li></ul>
<h3>Set up Passwords</h3>
<p>This is pretty self explanatory</p>
<h3>Configure the package mngr</h3>
<p>Select default ftp.us.debian.org, or your preference</p>
<h3>Software Selection</h3>
<p>Deselect all, i.e. Desktop Environment, Standard System Utilites, etc..</p>
<h3>Installing Grub boot Loader</h3>
<p>Select Yes (auto installs Grub2 by default)</p>
<h3>Finish the installation</h3>
<p>Select, Continue</p>
  
<p><span class="note">NOTE:<br />
It&#8217;s worth noting that Debian Squeeze has changed some common cli commands, and default installation pkgs (like the grub2). Debian Squeeze now installs grub2 by default, so the &#8220;used to be Lenny&#8221; grub.lst is now loacted in /boot/grub/grub.cfg; but not like you can edit this file and change the boot sequence anymore, as I&#8217;ll show you below how to boot your hypervisor. Another change is the command: prompt> /etc/init.d/networking restart, Running /etc/init.d/networking restart, is deprecated because it may not enable again some interfaces &#8230; (warning). So the new method is prompt> ifdown eth0 &#038;&#038; ifup eth0. There are more changes, as I will explain as I go along with this tutorial.</span></p>

<h3>Install essential pkgs</h3>
<p>Our attempt here and throughout this tutorial is to create a slim installation of the Xen host.</p>
<p>Login as root.</p>
<span class="cmd">prompt>apt-get update</span>
<span class="cmd">prompt>aptitude full-upgrade</span>
<span class="cmd">prompt>apt-get install openssh-server ssh wget</span>

<p>You can optionally remote log in as root, with SSH (i.e. ssh via putty); or optionally with mRemote for easability.</p>
  
<h3>Configure static network IP</h3>
<span class="cmd">prompt>nano /etc/network/interfaces</span>
<p>Erase or comment out, all info and copy in the following (depending on your configuration):</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">  auto lo
  iface lo inet loopback
&nbsp;
  auto eth0
  iface eth0 inet <span style="color: #990000;">static</span>
  address 10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>11<span style="color: #339933;">.</span>11
  netmask 255<span style="color: #339933;">.</span>255<span style="color: #339933;">.</span>255<span style="color: #339933;">.</span>0
  network 10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>11<span style="color: #339933;">.</span>0
  broadcast 10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>11<span style="color: #339933;">.</span>255
  gateway 10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>11<span style="color: #339933;">.</span>1</pre></div></div>



<span class="cmd">prompt>ifdown eth0 &#038;&#038; ifup eth0</span>

<p>Once you restart networking, you will need to point your ssh client to the new IP, 10.1.11.11.</p>

<p>We can now move onto installing and configuring Xen.</p>

<h3>Install the latest stable version of Xen on Squeeze x64.</h3>

<p>Install basic prerequsites.</p>
<span class="cmd">prompt>apt-get install libvirt-bin virtinst bridge-utils</span>
<p>See what XEN Kernels are available for your Debian Squeeze x64. </p>
<span class="cmd">prompt>apt-get update</span>
<span class="cmd">prompt>apt-cache search xen | grep image<br />
linux-image-2.6.32-5-amd64 - Linux 2.6.32 for 64-bit PCs<br />
linux-image-2.6.32-5-openvz-amd64 - Linux 2.6.32 for 64-bit PCs, OpenVZ support<br />
linux-image-2.6.32-5-vserver-amd64 - Linux 2.6.32 for 64-bit PCs, Linux-VServer support<br />
linux-image-2.6.32-5-xen-amd64-dbg - Debugging infos for Linux 2.6.32-5-xen-amd64<br />
linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support<br />
linux-image-2.6-amd64 - Linux 2.6 for 64-bit PCs (meta-package)<br />
linux-image-2.6-openvz-amd64 - Linux 2.6 for 64-bit PCs (meta-package), OpenVZ support<br />
linux-image-2.6-vserver-amd64 - Linux 2.6 for 64-bit PCs (meta-package), Linux-VServer support<br />
linux-image-2.6-xen-amd64 - Linux 2.6 for 64-bit PCs (meta-package), Xen dom0 support<br />
linux-image-amd64 - Linux for 64-bit PCs (meta-package)<br />
linux-image-openvz-amd64 - Linux for 64-bit PCs (meta-package), OpenVZ support<br />
linux-image-vserver-amd64 - Linux for 64-bit PCs (meta-package), Linux-VServer support<br />
linux-image-xen-amd64 - Linux for 64-bit PCs (meta-package), Xen dom0 support<br />
linux-image-2.6.30-2-amd64 - Linux 2.6.30 image on AMD64<br />
</span>
<p>Check out which kernel you have:</p>
<span class="cmd">prompt>uname -r<br />
2.6.32-5-amd64</span>
  
<p>So luck (or smart xen/debian squeeze contributors/maintainers/users) has it, that there is a XEN kernel which matches our kernel.  We&#8217;ll install XEN with matching kernels; linux-image-2.6.32-5-xen-amd64.</p>
<span class="cmd">prompt>apt-get install linux-image-2.6.32-5-xen-amd64 xen-tools</span>

<h3>Configure XEN Loop</h3>
<span class="cmd">prompt>nano /etc/modules</span>
<p>Verify and add if not there:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">loop max_loop<span style="color: #339933;">=</span><span style="color: #cc66cc;">64</span></pre></div></div>



  
<h3>Edit XEN config file, reboot, and verify Xen Kernel running.</h3>
<span class="cmd">prompt>cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.bak</span>
<p>Always a good idea to back up original files. Ok, so know let&#8217;s change the file.</p>
<span class="cmd">prompt>nano /etc/xen/xend-config.sxp</span>
  <p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#(xend-http-server no)</span></pre></div></div>



  <p>to this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>xend<span style="color: #339933;">-</span>http<span style="color: #339933;">-</span>server yes<span style="color: #009900;">&#41;</span></pre></div></div>



  <p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#(xend-unix-server no)</span></pre></div></div>



  <p>to this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>xend<span style="color: #339933;">-</span>unix<span style="color: #339933;">-</span>server yes<span style="color: #009900;">&#41;</span></pre></div></div>



  <p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#(network-script network-bridge)</span></pre></div></div>



  <p>to this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>network<span style="color: #339933;">-</span>script <span style="">'network-bridge antispoof=yes'</span><span style="color: #009900;">&#41;</span></pre></div></div>



  <p>Verify:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>vif<span style="color: #339933;">-</span>script vif<span style="color: #339933;">-</span>bridge<span style="color: #009900;">&#41;</span></pre></div></div>



  <p>is uncommented</p>
  <p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#(vnc-listen '127.0.0.1')</span></pre></div></div>



  <p>to this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>vnc<span style="color: #339933;">-</span>listen <span style="">'0.0.0.0'</span><span style="color: #009900;">&#41;</span></pre></div></div>



  <p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>vncpasswd <span style="">''</span><span style="color: #009900;">&#41;</span></pre></div></div>



  <p>to this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #009900;">&#40;</span>vncpasswd <span style="">'SOMEVNCPASSWORD'</span><span style="color: #009900;">&#41;</span></pre></div></div>




<p>Now you are probably woondering why we set VNC to 0.0.0.0, or even messed with VNC settings. Well to answer your thoughts, we need VNC, in order to install the HVM VM, remember this isn&#8217;t paravirtualization, where you use xen-tools to create VMS, here we&#8217;ll create VMs using VNC. We set the &#8220;listen to&#8221; 0.0.0.0, only for installtion and practical reasons. Once your VNC is setup, you&#8217;ll need to revisit the &#8220;listen to&#8221;, and configure it for security reasons.</p>

<h3>Configure Squeeze Grub and Optional XEN Settings</h3>

<p>Optional - Good idea to disable OS prober; prevents virtual machines on logical volumes from appearing in the boot menu, per <a href="http://wiki.debian.org/Xen#Installationonsqueeze" title="Xen Squeeze Grub Config" target="_blank">http://wiki.debian.org/Xen</a></p>
<span class="cmd">prompt>nano /etc/default/grub</span>
<p>Add 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;">#Disable OS prober.</span>
GRUB_DISABLE_OS_PROBER<span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">true</span></pre></div></div>




<p>Optional - Definitely optional, so loook into this before enabling, per <a href="http://wiki.debian.org/Xen#Installationonsqueeze" title="Xen Squeeze Grub Config" target="_blank">http://wiki.debian.org/Xen</a></p>
<span class="cmd">prompt>nano/etc/default/xendomains</span>
<p>Add the Following</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">XENDOMAINS_RESTORE<span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">false</span>
XENDOMAINS_SAVE<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span></pre></div></div>




<p>Required - Change  grub2 loading order</p>
<span class="cmd">prompt>ls /etc/grub.d/<br />
00_header  05_debian_theme  10_linux  20_linux_xen  30_os-prober  40_custom  41_custom  README
</span>

<p>Unlike the former grub.lst, the new grub2 requires setting files in order, do we&#8217;ll move the 10_linux to the back, so 20_linux_xen, takes precedence. Per http://wiki.debian.org/Xen, Debian Squeeze and Sid use Grub 2, and the defaults are wrong for Xen. The Xen hypervisor (and not just a Xen-ready kernel!) should be the first entry, so do this:

mv -i /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2</p>

<span class="cmd">prompt>mv /etc/grub.d/10_linux /etc/grub.d/50_linux</span>

<span class="cmd">prompt>update-grub2<br />
Generating grub.cfg &#8230;<br />
Found linux image: /boot/vmlinuz-2.6.32-5-xen-amd64<br />
Found initrd image: /boot/initrd.img-2.6.32-5-xen-amd64<br />
Found linux image: /boot/vmlinuz-2.6.32-5-xen-amd64<br />
Found initrd image: /boot/initrd.img-2.6.32-5-xen-amd64<br />
Found linux image: /boot/vmlinuz-2.6.32-5-amd64<br />
Found initrd image: /boot/initrd.img-2.6.32-5-amd64<br />
done
</span>


<span class="cmd">prompt>reboot</span>
<p>Now check your shiny Xen 4.0 Kernal on x64, pretty cool ay?</p>
<span class="cmd">prompt>uname -r<br />
2.6.32-5-xen-amd64</span>
<p>Run a quick test, you&#8217;ll notice Domain-O (domO).</p>
<span class="cmd">prompt>xm list</span>

<p>If you had not change the order of the grub <img src='http://webdevster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> in the step prior, you would have recv&#8217;d this error:</p>
<span class="cmd">prompt>xm list<br />
WARNING!  Can&#8217;t find hypervisor information in sysfs!<br />
Error: Unable to connect to xend: No such file or directory. Is xend running?</span>

<p>Ok, so now that your XEN is &#8220;all cool and stuff&#8221;, we can move onto installing VNC.</p>

<p>One more thing before moving onto VNC. It&#8217;s weird but after the new Lenny to Squeeze change I get this error on reboot, with VT enabled or disabled in bios (maybe a bug or it could be a hug). Don&#8217;t know if you guys get it; let me know if you do and /or have any suggestions. Everything still runs fine, but would love to get rid of these error messages on reboot.</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">ERROR<span style="color: #339933;">:</span> Unable to locate IOAPIC <span style="color: #b1b100;">for</span> GSI <span style="color: #cc66cc;">2</span>
ERROR<span style="color: #339933;">:</span> Unable to locate IOAPIC <span style="color: #b1b100;">for</span> GSI <span style="color: #cc66cc;">9</span>
registering netback
<span style="color: #339933;">....</span>
<span style="color: #0000ff;">&quot;Your system does not have the CPU extension required to use KVM. Not doing anything.. failed&quot;</span>
XENBUS<span style="color: #339933;">:</span> Unable to read cpu state</pre></div></div>




<h3>Install VNC Server and Terminal Emulator</h3>

<p>So, like I said before in order to install a XEN HVM VM, you&#8217;ll need VNC. We will simply need a basic VNC Server setup, which comes with Xvnc. To learn more about why VNC and Windows Manager go <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/7" title="Install Xen " target="_blank">here</a>.</p> 


<ul><li>Install VNC Server</li></ul>
<span class="cmd">prompt>apt-get install -y vncviewer vnc4server xinetd xterm</span>
<ul>
  <li>Setup Password with the following - Starts VNC Server and prompts you for a new password (SOMEVNCPASSWORD) up to 8 characters long.</li>
</ul>
<span class="cmd">prompt>vnc4server</span>
<ul><li>To create new password, if you changed your mind</li></ul>
<span class="cmd">prompt>/usr/bin/vncpasswd</span>

<h3>Configure VNC Server</h3>
<p>Now, there are many ways to configure a VNC Server, so that we can interact with our Xen host and Xen host VMs. We&#8217;re going to enable a normal desktop (Xvnc) with terminal emulator, on the Xen host.</p>

<h3>Edit VNC Server xstartup file.</h3>
<span class="cmd">prompt>nano /root/.vnc/xstartup</span>
<p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#unset SESSION_MANAGER</span>
<span style="color: #666666; font-style: italic;">#exec /etc/X11/xinit/xinitrc</span></pre></div></div>



<p>To this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #990000;">unset</span> SESSION_MANAGER
<span style="color: #990000;">exec</span> sh <span style="color: #339933;">/</span>etc<span style="color: #339933;">/</span>X11<span style="color: #339933;">/</span>xinit<span style="color: #339933;">/</span>xinitrc</pre></div></div>



<p>Pay attention, here the #exec /etc/X11/xinit/xinitrc, was uncommented and an &#8217;sh&#8217; was added. Your welcome.</p>
<p>This fixes the following problem in vncserver /root/.vnc/x01:5.log file:<br />
/root/.vnc/xstartup: line 5: /etc/X11/xinit/xinitrc: Permission denied<br />
/root/.vnc/xstartup: line 5: exec: /etc/X11/xinit/xinitrc: cannot execute: Success<br />
per: <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471996" title="vnc4server: Normal desktop permission prob with xinitrc" target="_blank">vnc4server: Normal desktop permission prob with xinitrc</a></p>
<p>Change this:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">x<span style="color: #339933;">-</span>window<span style="color: #339933;">-</span>manager <span style="color: #339933;">&amp;</span></pre></div></div>



<p>To This:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#x-window-manager &amp;</span></pre></div></div>



<p>Obviously save it, and run:</p>
<span class="cmd">prompt>chmod 755 /root/.vnc/xstartup</span>

<h3>Create a Security Policy (if it doesn&#8217;t exist) file.</h3>
<p>If you have been following this tutorial, this file currently doesn&#8217;t exist.</p>
<p>Up to you, which option you want.</p>
<p>Option 1:</p>
<span class="cmd">prompt>mkdir /etc/X11/xserver</span>
<span class="cmd">prompt>nano /etc/X11/xserver/SecurityPolicy</span>
<p>and copy and save the following (line by line, as is (don&#8217;t get creative)) into the file:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">version<span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># $Xorg: SecurityPolicy,v 1.3 2000/08/17 19:47:56 cpqbld Exp $</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The site policy fields are interpreted by the XC-QUERY-SECURITY-1</span>
<span style="color: #666666; font-style: italic;"># authorization protocol.  The values are arbitrary and site-specific.</span>
<span style="color: #666666; font-style: italic;"># Refer to the Security Extension Specification for the usage of the policies.</span>
<span style="color: #666666; font-style: italic;">#sitepolicy A</span>
<span style="color: #666666; font-style: italic;">#sitepolicy B</span>
<span style="color: #666666; font-style: italic;">#sitepolicy C</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Property access rules:</span>
<span style="color: #666666; font-style: italic;"># property &lt;property&gt; &lt;window&gt; &lt;permissions&gt;</span>
<span style="color: #666666; font-style: italic;"># &lt;window&gt; ::= any | root | &lt;propertyselector&gt;</span>
<span style="color: #666666; font-style: italic;"># &lt;propertyselector&gt; ::= &lt;property&gt; | &lt;property&gt;=&lt;value&gt;</span>
<span style="color: #666666; font-style: italic;"># &lt;permissions&gt; :== [ &lt;operation&gt; | &lt;action&gt; | &lt;space&gt; ]*</span>
<span style="color: #666666; font-style: italic;"># &lt;operation&gt; :== r | w | d</span>
<span style="color: #666666; font-style: italic;">#       r       read</span>
<span style="color: #666666; font-style: italic;">#       w       write</span>
<span style="color: #666666; font-style: italic;">#       d       delete</span>
<span style="color: #666666; font-style: italic;"># &lt;action&gt; :== a | i | e</span>
<span style="color: #666666; font-style: italic;">#       a       allow</span>
<span style="color: #666666; font-style: italic;">#       i       ignore</span>
<span style="color: #666666; font-style: italic;">#       e       error</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Allow reading of application resources, but not writing.</span>
property RESOURCE_MANAGER       root    ar iw
property SCREEN_RESOURCES       root    ar iw
&nbsp;
<span style="color: #666666; font-style: italic;"># Ignore attempts to use cut buffers.  Giving errors causes apps to crash,</span>
<span style="color: #666666; font-style: italic;"># and allowing access may give away too much information.</span>
property CUT_BUFFER0    root    irw
property CUT_BUFFER1    root    irw
property CUT_BUFFER2    root    irw
property CUT_BUFFER3    root    irw
property CUT_BUFFER4    root    irw
property CUT_BUFFER5    root    irw
property CUT_BUFFER6    root    irw
property CUT_BUFFER7    root    irw
&nbsp;
<span style="color: #666666; font-style: italic;"># If you are using Motif, you probably want these.</span>
property _MOTIF_DEFAULT_BINDINGS        root    ar iw
property _MOTIF_DRAG_WINDOW     root    ar iw
property _MOTIF_DRAG_TARGETS    any     ar iw
property _MOTIF_DRAG_ATOMS      any     ar iw
property _MOTIF_DRAG_ATOM_PAIRS any     ar iw
<span style="color: #666666; font-style: italic;"># If you are running CDE you also need these</span>
property _MOTIF_WM_INFO         root    arw
property TT_SESSION             root    irw
property WM_ICON_SIZE           root    irw
property <span style="color: #0000ff;">&quot;SDT Pixel Set&quot;</span>        any     irw
&nbsp;
<span style="color: #666666; font-style: italic;"># The next two rules let xwininfo -tree work when untrusted.</span>
property WM_NAME        any     ar
&nbsp;
<span style="color: #666666; font-style: italic;"># Allow read of WM_CLASS, but only for windows with WM_NAME.</span>
<span style="color: #666666; font-style: italic;"># This might be more restrictive than necessary, but demonstrates</span>
<span style="color: #666666; font-style: italic;"># the &lt;required property&gt; facility, and is also an attempt to</span>
<span style="color: #666666; font-style: italic;"># say &quot;top level windows only.&quot;</span>
property WM_CLASS       WM_NAME ar
&nbsp;
<span style="color: #666666; font-style: italic;"># These next three let xlsclients work untrusted.  Think carefully</span>
<span style="color: #666666; font-style: italic;"># before including these; giving away the client machine name and command</span>
<span style="color: #666666; font-style: italic;"># may be exposing too much.</span>
property WM_STATE       WM_NAME ar
property WM_CLIENT_MACHINE      WM_NAME ar
property WM_COMMAND     WM_NAME ar
&nbsp;
<span style="color: #666666; font-style: italic;"># To let untrusted clients use the standard colormaps created by</span>
<span style="color: #666666; font-style: italic;"># xstdcmap, include these lines.</span>
property RGB_DEFAULT_MAP        root    ar
property RGB_BEST_MAP   root    ar
property RGB_RED_MAP    root    ar
property RGB_GREEN_MAP  root    ar
property RGB_BLUE_MAP   root    ar
property RGB_GRAY_MAP   root    ar
&nbsp;
<span style="color: #666666; font-style: italic;"># To let untrusted clients use the color management database created</span>
<span style="color: #666666; font-style: italic;"># by xcmsdb, include these lines.</span>
property XDCCC_LINEAR_RGB_CORRECTION    root    ar
property XDCCC_LINEAR_RGB_MATRICES      root    ar
property XDCCC_GRAY_SCREENWHITEPOINT    root    ar
property XDCCC_GRAY_CORRECTION  root    ar
&nbsp;
<span style="color: #666666; font-style: italic;"># To let untrusted clients use the overlay visuals that many vendors</span>
<span style="color: #666666; font-style: italic;"># support, include this line.</span>
property SERVER_OVERLAY_VISUALS root    ar</pre></div></div>



<p>derived from from: <a href="http://ubuntuforums.org/showthread.php?t=186035" title="etc X11 xserver SecurityPolicy" target="_blank">/etc/X11/xserver/SecurityPolicy</a></p>
<p>Option 2:</p>
<span class="cmd">prompt>apt-get install xserver-xorg</span>
<p>After this operation, 24.7MB of additional disk space will be used.</p>

<h3>Autostart VNC server at Boot</h3>
<p>Now make VNC Server auto start upon Xen host boot, by creating, editing, and configuring a new file, i.e. startvnc.</p>
<span class="cmd">prompt>nano /etc/init.d/startvnc</span>
<p>Add 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;">#! /bin/sh</span>
export USER<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;root&quot;</span>
export PATH<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;/usr/local/bin:/usr/bin:/bin:/usr/bin/X11&quot;</span>
NAME<span style="color: #339933;">=</span>vncstart
start<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    su <span style="color: #339933;">-</span> <span style="color: #000088;">$USER</span> <span style="color: #339933;">-</span>c<span style="color: #0000ff;">&quot;vncserver :5&quot;</span>
<span style="color: #009900;">&#125;</span>
stop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    su <span style="color: #339933;">-</span> <span style="color: #000088;">$USER</span> <span style="color: #339933;">-</span>c<span style="color: #0000ff;">&quot;vncserver -clean -kill :1&quot;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">&quot;$1&quot;</span> in
    start<span style="color: #009900;">&#41;</span>
        <span style="color: #990000;">echo</span> <span style="color: #339933;">-</span>n <span style="color: #0000ff;">&quot;Starting Xvnc: &quot;</span>
        start
        ;;
    stop<span style="color: #009900;">&#41;</span>
        <span style="color: #990000;">echo</span> <span style="color: #339933;">-</span>n <span style="color: #0000ff;">&quot;Stopping Xvnc &quot;</span>
        stop
        ;;
    restart<span style="color: #009900;">&#41;</span>
        <span style="color: #990000;">echo</span> <span style="color: #339933;">-</span>n <span style="color: #0000ff;">&quot;Restarting Xvnc &quot;</span>
        stop
        start
        ;;
<span style="color: #339933;">****</span><span style="color: #009900;">&#41;</span>
        <span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Usage: /etc/init.d/$NAME {start|stop|restart}&quot;</span>
        <span style="color: #990000;">exit</span> <span style="color: #cc66cc;">1</span>
        ;;
esac
<span style="color: #990000;">exit</span> <span style="color:#800080;">0</span></pre></div></div>



<p>derived from <a href="http://colinux.wikia.com/wiki/VNC_On_Bootup" title="VNC On Bootup" target="_blank">VNC On Bootup</a></p>
<span class="cmd">prompt>chmod 755 /etc/init.d/startvnc</span>
<span class="cmd">prompt>update-rc.d startvnc defaults<br />
update-rc.d: using dependency based boot sequencing<br />
insserv: warning: script &#8217;startvnc&#8217; missing LSB tags and overrides
</span>
<p>Ok, I have not found a VNC start script that works without errors, if you find one, please comment. Regardless of the error, it does work.</p>
<p>If you decide to remove it, run:</p>
<span class="cmd">prompt>update-rc.d -f startvnc remove</span>
<p>The reason I set the VNC default port to 5 on root localhost, is my preference and is part of this turorial I would leave it to 5. If you want, you can set to whatever you like.</p>
<span class="cmd">prompt>reboot</span>
<p>View the ports, upon reboot.</p>
<p>Your looking for 5905.</p>
<span class="cmd">prompt>netstat -tap</span>
<p>&nbsp;</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Active Internet connections <span style="color: #009900;">&#40;</span>servers and established<span style="color: #009900;">&#41;</span>
Proto Recv<span style="color: #339933;">-</span>Q Send<span style="color: #339933;">-</span>Q Local Address           Foreign Address         State       PID<span style="color: #339933;">/</span>Program name
tcp        <span style="color:#800080;">0</span>      <span style="color:#800080;">0</span> <span style="color: #339933;">*:</span>x11<span style="color: #339933;">-</span><span style="color: #cc66cc;">5</span>                 <span style="color: #339933;">*:*</span>                     LISTEN      <span style="color: #cc66cc;">1180</span><span style="color: #339933;">/</span>Xvnc4
tcp        <span style="color:#800080;">0</span>      <span style="color:#800080;">0</span> <span style="color: #339933;">*:</span>ssh                   <span style="color: #339933;">*:*</span>                     LISTEN      <span style="color: #cc66cc;">1151</span><span style="color: #339933;">/</span>sshd
tcp        <span style="color:#800080;">0</span>     <span style="color: #cc66cc;">52</span> 10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>11<span style="color: #339933;">.</span>102<span style="color: #339933;">:</span>ssh         10<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>10<span style="color: #339933;">.</span>191<span style="color: #339933;">:</span><span style="color: #cc66cc;">6267</span>        ESTABLISHED <span style="color: #cc66cc;">1251</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">1</span>
tcp6       <span style="color:#800080;">0</span>      <span style="color:#800080;">0</span> <span style="color: #009900;">&#91;</span><span style="color: #339933;">::</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">5905</span>               <span style="color: #009900;">&#91;</span><span style="color: #339933;">::</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:*</span>                  LISTEN      <span style="color: #cc66cc;">1180</span><span style="color: #339933;">/</span>Xvnc4
tcp6       <span style="color:#800080;">0</span>      <span style="color:#800080;">0</span> <span style="color: #009900;">&#91;</span><span style="color: #339933;">::</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:</span>ssh                <span style="color: #009900;">&#91;</span><span style="color: #339933;">::</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:*</span>                  LISTEN      <span style="color: #cc66cc;">1151</span><span style="color: #339933;">/</span>sshd</pre></div></div>




<h3>Test VNC</h3>
<p>Install a VNC Client on Windows or Linux (i.e. RealVNC, TightVNC, etc..) on your other computer (i.e. laptop). </p>

<p>If your client is on a Windows Machine, launch VNC Client viewer (display), and type in:<br />
10.1.11.11:5905 or 10.1.11.11:5</p>

<p>If your client is on your Xen host Server, than type in:<br />
localhost:5 or x01:5 or 127.0.0.1:5</p>

<p>If your client is on a Linux Machine, than type:<br />
<span class="cmd">prompt>vncviewer 10.1.11.11:5</span>
</p>

<h3>Troubleshoot VNC</h3>
<p>If you have been following this tutorial, the log file is located in:<br />
/root/.vnc/x01:5.log</p>
<p>Disregard the 8 lines of font missing, as we don&#8217;t use these fonts anyway&#8217;s.</p>

<span class="cmd">prompt>cat /dev/null > /root/.vnc/x01:5.log</span>
<span class="cmd">prompt>reboot</span>
<span class="cmd">prompt>cat /root/.vnc/x01:5.log</span>

<p>Make sure VNC is working, before moving on to configuring LVM for Xen VM and installing Xen Guest VM, on Xen Host LV.</p> 

<h3>Configure LVM for Xen VM</h3>

<p>IMPORTANT NOTE: Part of this section and mostly all of this article, was derived from my other article <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/8" title="Install Xen " target="_blank">here</a>. Doesn&#8217;t really matter as Debian is Debian, and not a variant like Ubuntu, so all should work the same. Not saying Ubuntu is lesser, as this is not the case.</p> 

<p>Here is a breakdown (I&#8217;m keeping it simple here) of the LVM, installation process.</p>

<p>LVM->VG->LV->VM OS</p>

<p>The VM image (OS and Swap) will be on one LV. The LV will be on the VG. LV will be treated as one Hard Drive available to the VM, therefore the VM, upon installation will create partitions inside LV, i.e. OS on primary partition and Swap - logical disk; depending on your preference.</p>

<h3>Create Volume Group (VG) and a Logical Volume (LV) on your LVM, for your Xen VM.</h3>

<p>Now, since we already created an LVM partition, prior to installing Debian Squeeze x64, all that&#8217;s left is to create a Volume Group, (VG), and Logical Volumes (LV).</p>

<span class="cmd">prompt>fdisk -l</span>
<p>&nbsp;</p>
<p>If you get Partition 1 does not end on cylinder boundary, etc&#8230;, error you can safely ignore. :). </p>

<p>per: <a href="http://nwsmith.blogspot.com/2007/08/fdisk-sfdisk-mdadm-and-scsi-hard-drive.html" title="Partition 1 does not end on cylinder boundary" target="_blank">http://nwsmith.blogspot.com/2007/08/fdisk-sfdisk-mdadm-and-scsi-hard-drive.html</a>.<br />
After some googling, we concluded that having to align the partition boundaries with the cylinders was a DOS legacy issue, and was not something that would cause a problem for Linux&#8230;..</p>
<p>per: <a href="http://prefetch.net/blog/index.php/2009/09/12/why-partition-x-does-now-end-on-cylinder-boundary-warnings-dont-matter/" title="Partition 1 does not end on cylinder boundary" target="_blank">http://prefetch.net/blog/index.php/2009/09/12/why-partition-x-does-now-end-on-cylinder-boundary-warnings-dont-matter/</a><br />
This was a bit disconcerting at first, but after a few minutes of thinking it dawned on me that modern systems use LBA (Logical Block Addressing) instead of CHS (Cylinder/Head/Sector) to address disk drives. If we view the partition table using sectors instead of cylinders:;&#8230;..</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Disk <span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda<span style="color: #339933;">:</span> <span style="color:#800080;">73.0</span> GB<span style="color: #339933;">,</span> <span style="color: #cc66cc;">72999763968</span> bytes
<span style="color: #cc66cc;">255</span> heads<span style="color: #339933;">,</span> <span style="color: #cc66cc;">63</span> sectors<span style="color: #339933;">/</span>track<span style="color: #339933;">,</span> <span style="color: #cc66cc;">8875</span> cylinders
Units <span style="color: #339933;">=</span> cylinders of <span style="color: #cc66cc;">16065</span> <span style="color: #339933;">*</span> <span style="color: #cc66cc;">512</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">8225280</span> bytes
Sector size <span style="color: #009900;">&#40;</span>logical<span style="color: #339933;">/</span>physical<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #cc66cc;">512</span> bytes <span style="color: #339933;">/</span> <span style="color: #cc66cc;">512</span> bytes
I<span style="color: #339933;">/</span>O size <span style="color: #009900;">&#40;</span>minimum<span style="color: #339933;">/</span>optimal<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #cc66cc;">512</span> bytes <span style="color: #339933;">/</span> <span style="color: #cc66cc;">512</span> bytes
Disk identifier<span style="color: #339933;">:</span> <span style="color: #208080;">0x000a7cb7</span>
&nbsp;
   Device Boot      Start         <span style="color: #990000;">End</span>      Blocks   Id  <span style="color: #990000;">System</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda1   <span style="color: #339933;">*</span>           <span style="color: #cc66cc;">1</span>         <span style="color: #cc66cc;">487</span>     <span style="color: #cc66cc;">3905536</span>   <span style="color: #cc66cc;">83</span>  Linux
Partition <span style="color: #cc66cc;">1</span> does not <span style="color: #990000;">end</span> on cylinder boundary<span style="color: #339933;">.</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda2             <span style="color: #cc66cc;">487</span>         <span style="color: #cc66cc;">730</span>     <span style="color: #cc66cc;">1951745</span>    <span style="color: #cc66cc;">5</span>  Extended
Partition <span style="color: #cc66cc;">2</span> does not <span style="color: #990000;">end</span> on cylinder boundary<span style="color: #339933;">.</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda3             <span style="color: #cc66cc;">730</span>        <span style="color: #cc66cc;">8875</span>    <span style="color: #cc66cc;">65428480</span>   8e  Linux LVM
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda5             <span style="color: #cc66cc;">487</span>         <span style="color: #cc66cc;">730</span>     <span style="color: #cc66cc;">1951744</span>   <span style="color: #cc66cc;">82</span>  Linux swap <span style="color: #339933;">/</span> Solaris</pre></div></div>




<p>I confirm, you can ignore (old legacy dos stuff). See below, they are actually not overlapping if you run this command.</p>

<span class="cmd">prompt>sfdisk -uS -l /dev/sda</span>
<p>&nbsp;</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"> Device Boot    Start       <span style="color: #990000;">End</span>   <span style="color: #666666; font-style: italic;">#sectors  Id  System</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda1   <span style="color: #339933;">*</span>      <span style="color: #cc66cc;">2048</span>   <span style="color: #cc66cc;">7813119</span>    <span style="color: #cc66cc;">7811072</span>  <span style="color: #cc66cc;">83</span>  Linux
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda2       <span style="color: #cc66cc;">7815166</span>  <span style="color: #cc66cc;">11718655</span>    <span style="color: #cc66cc;">3903490</span>   <span style="color: #cc66cc;">5</span>  Extended
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda3      <span style="color: #cc66cc;">11718656</span> <span style="color: #cc66cc;">142575615</span>  <span style="color: #cc66cc;">130856960</span>  8e  Linux LVM
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda4             <span style="color:#800080;">0</span>         <span style="color: #339933;">-</span>          <span style="color:#800080;">0</span>   <span style="color:#800080;">0</span>  <span style="color: #990000;">Empty</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>sda5       <span style="color: #cc66cc;">7815168</span>  <span style="color: #cc66cc;">11718655</span>    <span style="color: #cc66cc;">3903488</span>  <span style="color: #cc66cc;">82</span>  Linux swap <span style="color: #339933;">/</span> Solaris</pre></div></div>




<p>Ok, so now that we got that out of the way, let&#8217;s move on.</p>
<ul>
<li>
We&#8217;ll be creating one VG in sda3 LVM partition, and naming it vol.<br />
<p>To initialize partition to support LVM</p>
<span class="cmd">prompt>pvcreate /dev/sda3</span>
<p>Create a VG named vol.</p>
<span class="cmd">prompt>vgcreate vol /dev/sda3</span>
</li>
</ul>
<ul>
<li>
We&#8217;ll be creating one LV in the newly created VG vol, and naming it vmx01cms01 (to match our VM host name).<br />
<p>The size will be 15gb. Read NOTE: directly below to learn more&#8230;</p>
<span class="cmd">prompt>lvcreate -L 15gb -n vmx01cms01 vol</span>
<span class="cmd">prompt>mkfs -t ext4 /dev/vol/vmx01cms01</span>
</li>
</ul>
<ul>
<li>
View the newly created LV:<br />
<span class="cmd">prompt>lvdisplay</span>
<p>&nbsp;</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">  <span style="color: #339933;">---</span> Logical volume <span style="color: #339933;">---</span>
  LV Name                <span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>vol<span style="color: #339933;">/</span>vmx01cms01
  VG Name                vol
  LV UUID                tcswzC<span style="color: #339933;">-</span>yo6x<span style="color: #339933;">-</span>vFcn<span style="color: #339933;">-</span>RqgV<span style="color: #339933;">-</span>C2DU<span style="color: #339933;">-</span>RBBQ<span style="color: #339933;">-</span>SpoiZc
  LV Write Access        read<span style="color: #339933;">/</span>write
  LV Status              available
  <span style="color: #666666; font-style: italic;"># open                 0</span>
  LV Size                <span style="color:#800080;">15.00</span> GB
  <span style="color: #990000;">Current</span> LE             <span style="color: #cc66cc;">3840</span>
  Segments               <span style="color: #cc66cc;">1</span>
  Allocation             inherit
  Read ahead sectors     auto
  <span style="color: #339933;">-</span> currently set to     <span style="color: #cc66cc;">256</span>
  Block device           <span style="color: #cc66cc;">254</span><span style="color: #339933;">:</span><span style="color:#800080;">0</span></pre></div></div>



</li>
</ul>
<p>Now your LV is ready for a VM installation. On to the next.</p>

<p><span class="note">NOTE:<br /> 
Once the OS is installed, the size 15gb, can be changed with Gparted LiveCD, like you would any computer</span></p>

<h3> Install Xen Guest HVM VM, on Xen Host LV</h3>

<p>Here we&#8217;ll install the (Fully Virtualized - HVM) Operating System VM on the newly created LV, with another Debian Squeeze x64 OS (you can use whatever os you like, i.e. Ubuntu, Suse, etc..). Before you get started you need qemu-dm, it used to be it was installed with XEN, but now in Squeeze, you have to install seperately.</p>

<span class="cmd">prompt>apt-get install xen-qemu-dm</span>


<p>When you install xen-qemu-dm, it will also auto install etherboot mknbi, and install the latest stable version to match your XEN xernel; xen-qemu-dm-4.0</p>

<span class="cmd">prompt>reboot</span>
<p>&nbsp;</p>
<h3>Download the OS image ISO.</h3>
<p>We are using an ISO, instead of a cdrom to install the OS.</p>
<span class="cmd">prompt>mkdir -p /dl/os &#038;&#038; cd /dl/os</span>
<p>Visit <a href="http://www.debian.org/distrib/" title="Debian Distros" target="_blank">http://www.debian.org/distrib/</a> or go directly to the link <a href="http://cdimage.debian.org/debian-cd/6.0.0/amd64/iso-cd/debian-6.0.0-amd64-netinst.iso" title="Debian Squeeze AMD 64 Net Install" target="_blank">http://cdimage.debian.org/debian-cd/6.0.0/amd64/iso-cd/debian-6.0.0-amd64-netinst.iso</a>. In my example we&#8217;ll use Squeeze 6.0 AMD 64 Net install.</p>
<span class="cmd">prompt>wget http://cdimage.debian.org/debian-cd/6.0.0/amd64/iso-cd/debian-6.0.0-amd64-netinst.iso</span>
<p>&nbsp;</p>
<h3>Create the VM (domU)</h3>

<p>We&#8217;ll create a Debian Squeeze amd 64 VM on the LV we created. This process, directly uses the Xen VM cfg creation file by means of HVM (full virtualization), instead of starting with the normal xen-tools.conf file, which creates this Xen VM cfg file for us (mostly used for paravirtualization). </p>

<p>Create a new Xen VM config file:</p>

<span class="cmd">prompt>nano /etc/xen/vmx01cms01.cfg</span>

<p>At Minimum - Copy, paste, and save all the following into this new vmx01cms01.cfg, file.</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">kernel <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/usr/lib/xen-default/boot/hvmloader&quot;</span>
builder<span style="color: #339933;">=</span><span style="">'hvm'</span>
device_model<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;/usr/lib64/xen-4.0/bin/qemu-dm&quot;</span>
name <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;vmx01cms01&quot;</span>
vif <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="">'bridge=eth0'</span><span style="color: #009900;">&#93;</span>
disk <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="">'phy:/dev/vol/vmx01cms01,ioemu:hda,w'</span><span style="color: #339933;">,</span><span style="">'file:/dl/os/debian-6.0.0-amd64-netinst.iso,ioemu:hdc:cdrom,r'</span><span style="color: #009900;">&#93;</span>
<span style="color: #666666; font-style: italic;">#memory = &quot;2048&quot;</span>
<span style="color: #666666; font-style: italic;">#vcpus=2</span>
<span style="color: #666666; font-style: italic;">#on_reboot   = 'restart'</span>
<span style="color: #666666; font-style: italic;">#on_crash    = 'restart'</span>
boot<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;d&quot;</span>
vnc<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span>
vncviewer<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span>
vncdisplay<span style="color: #339933;">=</span><span style="color: #cc66cc;">6</span></pre></div></div>




<p>Go <a href="http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10898/createvm.htm" title="XEN Loadouots" target="_blank">here</a> to view some more Xen loadouts. Also, notice the commenting of the vcpus, memory, etc&#8230;; simply uncomment them to set it.</p>


<h3>Start the VM and OS Installation Process</h3>
<span class="cmd">prompt>xm create /etc/xen/vmx01cms01.cfg</span>
<p>Or you can use:</p>
<span class="cmd">xm create -c vmx01cms01.cfg</span>


<p><span class="note">NOTE:<br /> 
If you decide not to go through with the installation (no harm done, accept for a couple of log files), i.e. you decide to reconfigure something. prompt> xm destroy vmx01cms01</span></p>

<h3>View and interact with the installation process via VNC Client</h3>
<ul>
<li>
If your client is on a Windows Machine, launch VNC Client viewer (display), and type in:<br />
10.1.11.11:5906 or 10.1.11.11:6<br />
You&#8217;ll be prompted for password.
</li>
</ul>
<ul>
<li>
If your client is on your Xen host Server, than type in:<br />
localhost:6 or x01:6 or 127.0.0.1:6<br />
You&#8217;ll be prompted for password.
</li>
</ul>
<ul>
<li>
If your client is on a Linux Machine, than type:<br />
<span class="cmd">prompt>vncviewer 10.1.11.11:6<br />
Connected to RFB server, using protocol version 3.8<br />
Performing standard VNC authentication<<br />
Password: [Enter Password]
</span>
</li>
</ul>

<p>Your VNC display will look like this:<br />
<a href="media/images/how-to/install-xen-on-debian-6-squeeze/xen-debian-6-squeeze.jpg" rel="thumbnail" title="Xen on Debian 6.0 Squeeze VM"><img src="media/images/how-to/install-xen-on-debian-6-squeeze/xen-debian-6-squeeze-thumb.jpg" alt="Xen on Debian 6.0 Squeeze VM" width="296" height="235" /></a></p>
<a href="http://www.anrdoezrs.net/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.anrdoezrs.net/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br />
<p>&nbsp;</p>
<p>Congrats you are done!</p>

<p>Actually you are not done, yet.</p>


<h3>Install VM</h3>


<p>Answer each step of the installation process, as though you were installing a physical server to your preference. I selected manual partitioning with no LVM; two &#8216;primary&#8217; partitions; 12gb for OS and 4.1gb for swap; swap in my case is twice the size of ram I will give the VM.</p>
<p>See My Example:<br />
<a href="media/images/how-to/install-xen-on-debian-6-squeeze/vm-debian-6-squeeze-partition.jpg" rel="thumbnail" title="Debian 6.0 Squeeze VM Guest Partition - My Settings"><img src="media/images/how-to/install-xen-on-debian-6-squeeze/vm-debian-6-squeeze-partition-thumb.jpg" alt="Debian 6.0 Squeeze VM Guest Partition - My Settings" width="298" height="246" /></a></p>

<p>I didn&#8217;t feel like creating a screenshot image, so I used an old image (same thing applies accept I used ext4 (YEA), instead of ext3. I selected two primary partitions, to keep it simple and chances are I will not be adding more than three partitions, so no need for logical partition; logical swap. With normal partitioning instead of LVM, you&#8217;ll be able to use Gparted in the future.  This is totally up to you, because it depends on what the VM, is going to be used for; this is key. Finish the installation.</p>


<h3>Remove ISO image</h3>
<p>The final step in the installer, &#8220;Installation Complete&#8221; is to boot into your new system. At this point or during installation process you&#8217;ll want to remove &#8220;iso image&#8221; directive, by editing your vmx01cms01.cfg file.</p>

<p>Pay attention here:</p>

<span class="cmd">prompt>nano /etc/xen/vmx01cms01.cfg</span>

<p>If you want to use the Xen host&#8217;s cdrom drive:</p>
<p>change:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">disk <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="">'phy:/dev/vol/vmx01cms01,ioemu:hda,w'</span><span style="color: #339933;">,</span><span style="">'file:/dl/os/debian-6.0.0-amd64-netinst.iso,ioemu:hdc:cdrom,r'</span><span style="color: #009900;">&#93;</span>
boot<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;d&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">disk <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="">'phy:/dev/vol/vmx01cms01,ioemu:hda,w'</span><span style="color: #339933;">,</span><span style="">'phy:/dev/cdrom,hdc:cdrom,r'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#93;</span>
boot<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;cd&quot;</span></pre></div></div>



<p>If you don&#8217;t want to use the Xen host&#8217;s cdrom drive:</p>
<p>change:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">disk <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="">'phy:/dev/vol/vmx01cms01,ioemu:hda,w'</span><span style="color: #339933;">,</span><span style="">'file:/dl/os/debian-6.0.0-amd64-netinst.iso,ioemu:hdc:cdrom,r'</span><span style="color: #009900;">&#93;</span>
boot<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;d&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">disk <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span> <span style="">'phy:/dev/vol/vmx01cms01,ioemu:hda,w'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#93;</span>
<span style="color: #666666; font-style: italic;">#boot=&quot;d&quot;</span></pre></div></div>




<p><span class="note">NOTE:<br /> 
If you choose to use Xen host&#8217;s cdrom, than you must always, &#8220;I repeat again&#8221;, always have a cdrom drive attached to the Xen host, or else the VM will fail to boot. This gave me a lot of headaches, you&#8217;ll see a message in xend.log like:<br />
DEBUG (DevController:156) Waiting for 768.<br />
DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/4/768/hotplug-status.<br />
</span></p>


<h3>Boot into new VM</h3>
<p>You can now select: &#8220;Continue&#8221; to boot into new system.</p>
<span class="cmd">prompt>xm destroy vmx01cms01</span>
<span class="cmd">prompt>/etc/init.d/xend restart</span>
<span class="cmd">prompt>xm create /etc/xen/vmx01cms01.cfg</span>

<p>View Progress (or troubleshoot), by opening another ssh terminal:</p>
<span class="cmd">prompt>tail -f /var/log/xen/xend.log -n 30</span>

<p>View and interact with your new VM via VNC Client</p>
<span class="cmd">prompt>vncviewer 10.1.11.11:6</span>

<p>If it fails, it&#8217;s best to restart Xen host, as your first troubleshoot try.</p>
<span class="cmd">prompt>reboot</span>

<h3>Create Backup of the Xen VM cfg file</h3>
<p>After you have a working VM, it&#8217;s a good idea to make a copy of it.</p>
<span class="cmd">prompt>mkdir -p /bak/vm</span>
<span class="cmd">prompt>cp /etc/xen/vmx01cms01.cfg /bak/vm/</span>

<p>You, now you have a Debian 6 x64 HVM VM (guest, domU) on a Debian 6 x64 XEN Host (domO).</p>

<p>First thing you want to do is the following, so you can access the VM from a normal ssh terminal:</p>
<p>&nbsp;</p>
<span class="cmd">prompt>apt-get install openssh-server</span>
<p>&nbsp;</p>
<a href="http://www.anrdoezrs.net/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.anrdoezrs.net/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br />
<h3>Troubleshooting Debian 6 Squeeze Xen host and Optional Useful CLI Commands</h3>

<p>To avoid Debian Squeeze x64 VM boot problems.</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">INIT<span style="color: #339933;">:</span> id co respawning too fast disabled <span style="color: #b1b100;">for</span> <span style="color: #cc66cc;">5</span> minutes</pre></div></div>




<p>On your Xen VM (guest, domU):</p>
<span class="cmd">prompt>nano /etc/inittab</span>
<p>Change this:</p>
<span class="cmd">co:2345:respawn:/sbin/getty hvc0 9600 linux</span>
<p>to this:</p>
<span class="cmd">#co:2345:respawn:/sbin/getty hvc0 9600 linux</span>

<p>Or if that doesn&#8217;t work than try this:</p>
<p>On your Xen host (domO):</p>
<span class="cmd">prompt>nano /etc/inittab</span>
<p>Change this:</p>
<span class="cmd">1:2345:respawn:/sbin/getty 38400 tty1</span>
<p>to this:</p>
<span class="cmd">1:2345:respawn:/sbin/getty 38400 hvc0</span>

<p>Here are some troubleshooting examples, and some very useful CLI commands. </p>

<h3>If you need to install nic drivers on new Debian Squueze vm:</h3>

<p>Copy the nic drivers to cdrom, than insert cdrom into Xen host cdrom drive, than run the following command on Xen VM:</p>
<span class="cmd">prompt>mount -t iso9660 /dev/hdc /media/cdrom0</span>
<span class="cmd">prompt>/media/cdrom0/dpkg -i firmware-bnx2_0.27_all.deb</span>
<p>After install Unmount</p>
<span class="cmd">prompt>umount /media/cdrom0</span>
<span class="cmd">prompt>reboot</span>
<p>&nbsp;</p>
<h3>If VM eth0 doesn&#8217;t come up.</h3>

<p>Their are two solutions, the first is fixing the root of the problem, Use a permanent mac address found in /etc/xen/vmx01cms01.cfg, to permanently keep the same ethX. The second, is being caused by the VM thinking there is a new NIC installed.</p>
<p>First Solution:</p>
<span class="cmd">prompt>/etc/udev/rules.d/70-persistent-net.rules</span>
<p>Second Solution:</p> 
<span class="cmd">prompt>ifconfig -a</span>
<p>Make a note of the eth device number, i.e. eth3</p>
<span class="cmd">prompt>nano /etc/network/interfaces</span>
<p>change:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">eth0</pre></div></div>



<p>to</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">eth3</pre></div></div>



<span class="cmd">prompt>ifdown eth0 &#038;&#038; ifup eth0</span>
<p>You shouldn&#8217;t get this problem if you didn&#8217;t change the permanent MAC address.</p>

<h3>If you want to mount VM&#8217;s LV on Debian Squeeze Xen Host.</h3>
<p>You can view the VM&#8217;s LV partitions on Xen host with:</p>
<span class="cmd">prompt>fdisk -l -u /dev/vol/vmx01cms01</span>
<p>&nbsp;</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Disk <span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>vol<span style="color: #339933;">/</span>vmx01cms01<span style="color: #339933;">:</span> <span style="color:#800080;">16.1</span> GB<span style="color: #339933;">,</span> <span style="color: #cc66cc;">16106127360</span> bytes
<span style="color: #cc66cc;">255</span> heads<span style="color: #339933;">,</span> <span style="color: #cc66cc;">63</span> sectors<span style="color: #339933;">/</span>track<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1958</span> cylinders<span style="color: #339933;">,</span> total <span style="color: #cc66cc;">31457280</span> sectors
Units <span style="color: #339933;">=</span> sectors of <span style="color: #cc66cc;">1</span> <span style="color: #339933;">*</span> <span style="color: #cc66cc;">512</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">512</span> bytes
Disk identifier<span style="color: #339933;">:</span> <span style="color: #208080;">0x0008ae25</span>
&nbsp;
               Device Boot      Start         <span style="color: #990000;">End</span>      Blocks   Id  <span style="color: #990000;">System</span>
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>vol<span style="color: #339933;">/</span>vmx01cms01p1   <span style="color: #339933;">*</span>          <span style="color: #cc66cc;">63</span>    <span style="color: #cc66cc;">23438834</span>    <span style="color: #cc66cc;">11719386</span>   <span style="color: #cc66cc;">83</span>  Linux
<span style="color: #339933;">/</span>dev<span style="color: #339933;">/</span>vol<span style="color: #339933;">/</span>vmx01cms01p2        <span style="color: #cc66cc;">23438835</span>    <span style="color: #cc66cc;">31455269</span>     <span style="color: #cc66cc;">4008217</span><span style="color: #339933;">+</span>  <span style="color: #cc66cc;">82</span>  Linux swap <span style="color: #339933;">/</span> Solaris</pre></div></div>




<p>Since the VM&#8217;s LV is a whole disk containing partitions, you can&#8217;t simply mount it. You first need to create maps to the individual partitions.</p> 
<span class="cmd">prompt>apt-get install kpartx</span>
<span class="cmd">prompt>kpartx -av /dev/vol/vmx01cms01</span>
<span class="cmd">prompt>mount -t ext3 /dev/mapper/vol-vmx01cms01p1 /mnt</span>
<span class="cmd">prompt>ls /mnt</span>
<p>Make sure to umount it, when your done:</p>
<span class="cmd">prompt>umount /mnt</span>
<p>Remove device mapping</p>
<span class="cmd">prompt>kpartx -dv /dev/vol/vmx01cms01</span>
<p>&nbsp;</p>
<h3>If you want to use XM console.</h3>
<p>XM Console works in Paravirtualization with little fuss, but with HVM (full virtualization), XM Console is rather cumbersome to setup, therefore you can ssh or vnc into initial installation of the HVM VM. If you are brave to install xm console for hvm, visit, <a href="http://zhigang.org/files/docbook/xen-faq.html#serial_console_hvm" title="zhigang.org Xen FAQ" target="_blank">zhigang.org Xen FAQ</a>.</p>

<h3>Useful XEN and VM CLI commands and tips.</h3>

<p>Here are some useful CLI commands, which <strong style="color:#333333">OpenQRM will mostly facilitate for us with the WebUI</strong>.</p>

<p>Some common xen commands:</p>
<p>Start:</p>
<span class="cmd">prompt>xm create /etc/xen/vmx01cms01.cfg</span>
<p>Shutdown:</p>
<span class="cmd">prompt>xm shutdown vmx01cms01</span>
<p>Or Destroy (Unplug the VM from outlet)</p>
<span class="cmd">prompt>xm destroy vmx01cms01</span>
<p>View running VMs, in real mode:</p>
<span class="cmd">prompt>xm top</span>
<p>List running VMs:</p>
<span class="cmd">prompt>xm list</span>
<p>&nbsp;</p>
<h3>If you want to delete VM and the LVs from Debian Squeeze Xen Host (domO) </h3>
<p>If you want to delete all VM and LV, and start from scratch</p>
<p>For reference only. Might not work for LVs inside an LV.</p>

<p>Unplug the VM</p>
<span class="cmd">prompt>xm destroy vmx01cms01</span>
<p>Unmount LV (probably not mounted anyway&#8217;s, for reference only)</p>
<span class="cmd">prompt>umount /dev/mapper/vol-vmx01cms01</span>
<p>Deactivate it</p>
<span class="cmd">prompt>lvchange -a n /dev/mapper/vol-vmx01cms01</span>
<p>Delete LV</p>
<span class="cmd">prompt>lvremove /dev/mapper/vol-vmx01cms01</span>
<span class="cmd">prompt>lvdisplay</span>
<p>Nothing to display.</p>
<p>Now simply delete the vmx01cms01.cfg, VM file.</p>
<span class="cmd">prompt>rm /etc/xen/vmx01cms01.cfg</span>

<p>You now have no VM and no LV.</p>

<p>Don&#8217;t forget to change the fstab, in case you mounted any of these LVs.</p>
<span class="cmd">prompt>nano /etc/fstab</span>

<p>Don&#8217;t forget to empty out your ssh known host, if your using the same LV configs again.</p>
<span class="cmd">prompt>cat /dev/null > /root/.ssh/known_hosts</span>
<p>&nbsp;</p>
<h3>If you want to resize LV VM(Shrinking) from Debian Squeeze Xen Host (domO)</h3>
<p>For reference only. Might not work for LVs inside an LV.</p>
<p>Unmount (just in case it&#8217;s mounted) so we can shrink</p>
<span class="cmd">prompt>umount /dev/mapper/vol-vmx01cms01</span>
<span class="cmd">prompt>e2fsck -f /dev/mapper/vol-vmx01cms01</span>
<p>Resize VG</p>
<span class="cmd">prompt>resize2fs /dev/mapper/vol-vmx01cms01 1000M</span>
<p>Resize LV</p>
<span class="cmd">prompt>lvresize -L 1G /dev/vol/vmx01cms01</span>
<p>Show Results</p>
<span class="cmd">prompt>lvdisplay</span>
<p>Remount - Optional</p>
<span class="cmd">prompt>mount /dev/mapper/vol-vmx01cms01</span>
<p>&nbsp;</p>
<h3>Some Useful CLI commands and GUI, for LV</h3>
<p>LVM Managing - CLI</p>
<span class="cmd">prompt>vgdisplay</span>
<span class="cmd">prompt>pvdisplay</span>
<span class="cmd">prompt>lvdisplay</span>
<p>LVM Managing - GUI</p>
<span class="cmd">prompt>apt-get install system-config-lvm</span>
<p>&nbsp;</p>
<h3>Also, loook into OpenQRM as it&#8217;s a great Web UI tool to manage XEN and other VMS. </h3>
<p> Read about my other article on <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#AboutOpenQRM" title="About OpenQRM" target="_blank">openQRM</a>.</p>

<p>Done</p>

<h3> Have Fun with VM </h3>

<p>
<img src="media/images/how-to/congratulations-image-01.gif" alt="Congratulations" align="left" border="0" height="73" width="58"><br />
Congratulations!<br />you finished the tutorial. Thank you for following this tutorial.</p>
<p>&nbsp;</p>
<a href="http://www.qksrv.net/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.qksrv.net/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br /><!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to BlogRO" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FTW" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to VoxRO" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Twitter" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=How+to+install+Xen+4+on+Debian+6+Squeeze+x64&amp;c=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to MySpace" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;title=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Del.icio.us" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;title=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to digg" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=How+to+install+Xen+4+on+Debian+6+Squeeze+x64&amp;u=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FURL" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;title=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to reddit" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;t=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FaceBook" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Technorati" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;h=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Newsvine" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;title=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Stumble Upon" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;t=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Yahoo My Web" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64&amp;title=How+to+install+Xen+4+on+Debian+6+Squeeze+x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Google Bookmarks" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Squidoo" alt="Add 'How to install Xen 4 on Debian 6 Squeeze x64' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/how-to/how-to-install-xen-4-on-debian-6-squeeze-x64/feed</wfw:commentRss>
		</item>
		<item>
		<title>OpenQRM and XEN LVM based HVM VM.</title>
		<link>http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm</link>
		<comments>http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm#comments</comments>
		<pubDate>Sun, 21 Nov 2010 23:51:57 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[How To]]></category>

		<category><![CDATA[cloud]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[openqrm]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=845</guid>
		<description><![CDATA[
OpenQRM and XEN LVM based HVM VM.


 by webdevster.com

How to run multiple Virtual Machines (VM) in one Physical Server, and be able to manage them with a WebUI. The Virtaulized environement will be accomplished with Open Source Xen, and the management WebUI will be accomplished with Open Source, OpenQRM. Each tool will sit on a [...]]]></description>
			<content:encoded><![CDATA[<!--Page01--->
<h1>OpenQRM and XEN LVM based HVM VM.</h1>
<a href="http://www.jdoqocy.com/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.jdoqocy.com/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a><br />
<span style="font-size:small"> by webdevster.com</span>

<p>How to run multiple Virtual Machines (VM) in one Physical Server, and be able to manage them with a WebUI. The Virtaulized environement will be accomplished with Open Source Xen, and the management WebUI will be accomplished with Open Source, OpenQRM. Each tool will sit on a Linux Operating System; Debian.</p>

<p><strong><a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#Overview" title="Overview" target="_self">Overview</a></strong><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#Requirements" title="Requirements" target="_self">Requirements</a><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#Assumptions" title="Assumptions" target="_self">Assumptions</a><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#TutorialObjective" title="Tutorial Objective" target="_self">Tutorial Objective</a><br />
  <strong><a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#AboutOpenQRM" title="About OpenQRM" target="_self">About OpenQRM</a></strong><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#AbouttheOpenQRMVersion" title="About the OpenQRM Version" target="_self">About the OpenQRM Version</a><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#AboutourOpenQRMNetwork" title="About our OpenQRM Network" target="_self">About our OpenQRM Network</a><br />
  -<a href="how-to/openqrm-and-xen-lvm-based-hvm-vm#AboutourOpenQRMTopologyandResourceAllocation" title="About our OpenQRM Topology and Resource Allocation" target="_self">About our OpenQRM Topology and Resource Allocation</a><br />
  [1.0] <strong><a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/2#10Chapter1InstallOpenQRM" title="Chapter 1 - Install OpenQRM" target="_self">Chapter 1 - Install OpenQRM</a></strong> <br />
  [1.1] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/2#11Step1InstallDebianx64" title="Step 1: Install Debian x64" target="_self">Step 1: Install Debian x64</a><br />
  [1.2] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/2#12Step2InstallOptionalGUIandNXonDebianx64" title="Step 2: Install Optional GUI and NX on Debian x64" target="_self">Step 2: Install Optional GUI and NX on Debian x64</a><br />
  [1.3] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/2#13Step3FirewallDHCPNATMOnowallConfiguration" title="Step 3: Firewall/DHCP/NAT (MOnowall) Configuration" target="_self">Step 3: Firewall/DHCP/NAT (MOnowall) Configuration</a><br />
  [1.4] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/2#14Step4NetworkInterfaceConfiguration" title="Step 4: Network Interface Configuration" target="_self">Step 4: Network Interface Configuration</a><br />
  [1.5] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/3#15Step5InstallOpenQRMServer" title="Step 5. Install OpenQRM Server" target="_self">Step 5. Install OpenQRM Server</a><br />
  [1.6] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/3#16Step6OpenQRMInstallerConfiguration" title="Step 6. OpenQRM Installer Configuration" target="_self">Step 6. OpenQRM Installer Configuration</a><br />
  [1.7] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/3#17Step7DatabaseConfiguration" title="Step 7. Database Configuration" target="_self">Step 7. Database Configuration</a><br />
  [1.8] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/3#18Step8OpenQRMWebInterfaceManagerConfiguration" title="Step 8. OpenQRM Web Interface Manager Configuration" target="_self">Step 8. OpenQRM Web Interface Manager Configuration</a><br />
  [2.0] <strong><a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/4#20Chapter2InstallXenandVM" title="Chapter 2 - Install Xen and VM" target="_self">Chapter 2 - Install Xen and VM</a></strong><br />
  [2.1] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/5#21Step1InstallandProvisionDebianx64" title="Step 1. Install and Provision Debian x64" target="_self">Step 1. Install and Provision Debian x64</a><br />
  [2.2] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/6#22Step2InstallXENandconfigure" title="Step 2. Install XEN and configure" target="_self">Step 2. Install XEN and configure</a><br />
  [2.3] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/7#23Step3InstallVNCandconfigure" title="Step 3. Install VNC and configure" target="_self">Step 3. Install VNC and configure</a><br />
  [2.4] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/8#24Step4ConfigureLVMforXenVM" title="Step 4. Configure LVM for Xen VM" target="_self">Step 4. Configure LVM for Xen VM</a><br />
  [2.5] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/8#25Step5InstallXenGuestVMonXenHostLV" title="Step 5. Install Xen Guest VM, on Xen Host LV" target="_self">Step 5. Install Xen Guest VM, on Xen Host LV</a><br />
  [2.6] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/9#26Step6XenTroubleshootingandOptionalUsefulCLICommands" title="Step 6. Xen Troubleshooting and Optional Useful CLI Commands" target="_self">Step 6. Xen Troubleshooting and Optional Useful CLI Commands</a><br />
  [3.0] <strong><a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/10#30Chapter3XenandOpenQRMIntegration" title="Chapter 3 - Xen and OpenQRM Integration" target="_self">Chapter 3 - Xen and OpenQRM Integration</a></strong><br />
  [3.1] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/10#31Step1LogintoOpenQRMenableandstartPlugins" title="Step 1. Log into OpenQRM, enable, and start Plugins" target="_self">Step 1. Log into OpenQRM, enable, and start Plugins</a><br />
  [3.2] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/10#32Step2IntegrateXENhypervisorserverwithOpenQRMserver" title="Step 2. Integrate XEN hypervisor server with OpenQRM server" target="_self">Step 2. Integrate XEN hypervisor server with OpenQRM server</a><br />
  [3.3] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#33Step3ProvisionXENStorageHostinOpenQRMasResource" title="Step 3. Provision XEN-Storage Host in OpenQRM as Resource" target="_self">Step 3. Provision XEN-Storage Host in OpenQRM as Resource</a><br />
  [3.4] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#34Step4VerifyXENLVMVMonRemoteLocalXENHostServer" title="Step 4. Verify XEN LVM VM on Remote/Local XEN Host Server" target="_self">Step 4. Verify XEN LVM VM on Remote/Local XEN Host Server</a><br />
  [3.5] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#35Step5OptionalPXEBoot" title="Step 5. Optional PXE Boot" target="_self">Step 5. Optional PXE Boot</a><br />
  [3.6] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#36Step6ImportXenHostKerneltoOpenQRM" title="Step 6. Optional Import Xen Host Kernel to OpenQRM" target="_self">Step 6. Optional Import Xen Host Kernel to OpenQRM</a><br />
  [3.7] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#37Step7RemoveandRecreateVMvmx01cms01cfgcfgfile" title="Step 7. Remove and Recreate VM (vmx01cms01.cfg) cfg file" target="_self">Step 7. Remove and Recreate VM (vmx01cms01.cfg) cfg file</a><br />
  [3.8] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#38Step8ConfigureVMImage" title="Step 8. Configure VM Image" target="_self">Step 8. Configure VM Image</a><br />
  [3.9] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#39Step9ConfigureAppliance" title="Step 9. Configure Appliance" target="_self">Step 9. Configure Appliance</a><br />
  [3.10] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#310Step10StarttheAppliance" title="Step 10. Start the Appliance" target="_self">Step 10. Start the Appliance</a><br />
  [3.11] <a href="how-to/openqrm-and-xen-lvm-based-hvm-vm/11#311Step11HaveFunwithVM" title="Step 11. Have Fun with VM" target="_self">Step 11. Have Fun with VM</a>
</p>
  
<h2 class="subheader"><a name="Overview" id="Overview"></a>Overview</h2>
<p>This LVM based HVM VM setup makes for a high perfomarmance VM.</p>

<h3><a name="Requirements" id="Requirements"></a>Requirements</h3>
<p>
2 servers as follows:<br />
<ul>
<li>1 Server for OpenQRM Server</li>
<li>1 Server for XEN (open source) Host.</li>
</ul>
</p>

<p>OpenQRM server, (in our case) will not need to be a high performance server, because it&#8217;s only being used to manage Xen VMs in our local/remote cloud (virtual network). Xen Host, on the other hand is a high performance server, being that it will host multiple VMs. So each VM will be alotted CPUs, Ram, HDD space, etc&#8230;, to the extent of what the XEN host provides, i.e. Xen Host has 5 gigs of ram, Xen host gives 1 gig to each of the 4 VMs.

<h3><a name="Assumptions" id="Assumptions"></a>Assumptions</h3>
<p>
<ul>
<li>
You know how to use a text editor, i.e. nano.</li>
<li>If you know what Xen is, then the rest is pretty easy, since you can simply copy and paste the commands.</li>
<li>Using &#8216;root&#8217; user, to perform all configuration and installations</li>
</ul>
</p>

<h3><a name="TutorialObjective" id="TutorialObjective"></a>Tutorial Objective</h3>
<p>The following is the end result, of what we&#8217;ll acheive when you finish this tutorial.</p>
<p>
<ul><li><strong style="color:#333333">1 OpenQRM Server</strong> (chapter 1)<br />
  OpenQRM Cloud Manager<br />
  Debian x64<br />
  Host name (Server Name) qrm01<br />
  fqdn qrm01.lc1.cloud1<br />
ip address 10.1.11.10
</li>
</ul>
</p>
<p>
<ul><li><strong style="color:#333333">1 XEN Host Server</strong> (chapter 2)<br />
  Xen Host <br />
  Debian x64<br />
  Host name (Server Name) x01<br />
  Domain Name lc1.cloud1<br />
  fqdn x01.lc1.cloud1<br />
ip address 10.1.11.11
</li>
</ul>
</p>
<p>
<ul><li><strong style="color:#333333">1 VM on Xen Host Server</strong> (chapter 2)<br />
  Xen LVM based HVM VM<br />
  Debian x64 v5.06<br />
  Host name (Server Name) vmx01cms01<br />
  Domain Name lc1.cloud1<br />
  fqdn vmx01cms01.lc1.cloud1<br />
  ip address dhcp, (10.1.11.254 given by OpenQRM)
  </li>
</ul>
</p>
  
<h2 class="subheader"><a name="AboutOpenQRM" id="AboutOpenQRM"></a>About OpenQRM</h2>

<p><span class="note">NOTE:<br />
You can alternately check out my &#8220;get her done&#8221; tutorial, which is the same tutorial, but without any absolute (noob) beginner&#8217;s comments and explanations.
</span></p>

<p>If this tutorial seems overwhelming, it&#8217;s because it is overwhelming.</p>

<p>If you haven&#8217;t heard about the OpenQRM Virtualization phenomenon, I will explain. With OpenQRM, you can now quickly deploy Xen host and Xen VMs; stop, start, resize, snapshot, revert, clone, live migration, windows, solaris, linux, mac, Citrix, VMWare, KVM, VitrualBox, change cpu, cpu numbers, kernel, swap, nic, ram, v2p, p2v, v2v, p2p, iscsi, pxe, puppet, HP LinuxCOE, Amazon, and &quot;&quot;infinite&quot;&quot; more configurations, with an attractive easy to use WebUI. Good bye to Virt-manager, Zentific, IBM Virtualization manager, and all the gui bulls&#8211;t, time-consuming ways I&#8217;ve tried to manage Xen. And the best part of it, I am not locked into solely Xen, I can easily manage VMware&#8217;s Virtual Server and ESX. I am not locked into Citrix XenServer. And I am not locked into the new baby KVM. I can also convert any supported VMs (i.e. vmdk to xen, and vise versa). I can awesomely leverage all types of storage! All this with (HA) High Availability and Naigos. OpenQRM has set the bar.</p>


<p><span class="note">FYI - IMO:<br />
We&#8217;re using OpenQRM&#8217;s feature set for managing VMs in our cloud. OpenQRM, was initially intended for Cloud Resourcing, in other words, with OpenQRM managing the cloud, you can sell, lease, let use, virtual machines to your human clients. IMO, openQRM should release two brands, one for Cloud Managing (for you and me) and one for Cloud Resourcing (for the ISP, Web Host Provider, etc&#8230;). So the names would read, OpenQRM CM and OpenQRM CR.</span></p>

<h3><a name="AbouttheOpenQRMVersion" id="AbouttheOpenQRMVersion"></a>About the OpenQRM Version</h3>

<p>OpenQRM versions 4.6 , 4.7, and later versions come with a self installation script, which also installs all the plugins (not enabled), so no need to download any extra packages, like most dated tutorials found online. It also has a Configuration Web Interface Manager, so you don&#8217;t have to worry about connecting to db. Everything is easy peasy. </p>


<h3><a name="AboutourOpenQRMNetwork" id="AboutourOpenQRMNetwork"></a>About our OpenQRM Network</h3>

<p>First off OpenQRM runs its own DHCP service (hands out IP addresses to it&#8217;s clients). If you have an existing DHCP service (server), i.e. modem/router with 10.1.10.1.x., than you&#8217;ll need to create two separate network subnets, i.e. 10.1.10 and 10.1.11. </p>
<p>In my tutorial, OpenQRM  will bridge its static nic (10.1.11.10) with router and OpenQRM &#8217;s dhcp service will hand out 10.1.11.x ip addresses to it&#8217;s internal network. Bridging seems complicated, but OpenQRM and XEN makes it easy; no knowledge needed. Since OpenQRM is bridged, only one nic is needed and there is no need for NAT on OpenQRM. Tools I recommend to accomplish separate networks, is placing monowall or dd-wrt in front of OpenQRM; in this tutorial I will reference monowall. </p>

<p><span class="note">FYI:<br /> 
Setting up the two networks and NAT, for noobs will be a feat in itself (not covered in the scope of this tutorial). If you are testing this OpenQRM tutorial, than use VMware Workstation, it has a built in NAT and DHCP Service; kind of ironic, ay.</span></p>

<h3><a name="AboutourOpenQRMTopologyandResourceAllocation" id="AboutourOpenQRMTopologyandResourceAllocation"></a>About our OpenQRM Topology and Resource Allocation</h3>

<p>OpenQRM recommended&#8217;s three servers. Server 1 is OpenQRM/mysql/dhcp/mailserver/lvm storage (for me, I use lvm storage sort of like &quot;My Downloads&quot; folder), Server 2 is the iSCSI Storage Server for your VM image deployments, and Server 3 would be your hypervisor (XEN, VMware Server, KVM, etc&#8230;) which contains your VMs; hence you can add more hypervisor servers to your cloud. So a typical setup with OpenQRM, is where the Hypervisor server stores the VM&#8217;s OS on the iSCSI Storage Server; in other words the VM&#8217;s OS is not stored on the Hypervisor&#8217;s own physical hdd. Unless, of course you utilize one of many plugins, OpenQRM offers. One of which, we&#8217;ll be using is the Xen-storage plugin, where instead of the iSCSI storing the OS, the hypervisor stores the OS, natively. The same can be done, for all hypervisors OpenQRM, supports. IMO, you would need an enterprise fibre channel storage server solution, to provide (near or the same) performance a physically attached storage, provides, i.e. ultra320 scsi. This is why we are using, the physically attached drive on the hypervisor for Xen, unless of course you have money to buy a NetApp Filer, he he; which OpenQRM happily supports.  I googled, and found the same agreement, <a href="http://ask.slashdot.org/comments.pl?sid=134437&#038;threshold=1&#038;commentsort=0&#038;mode=thread&#038;cid=11223853" title="iSCSI vs. Fibre Channel vs. Direct Attached Disks?" target="_blank">here</a> &quot;apples to apples..&quot;</p>
<p>In my tutorial, we will use 2 servers. Server 1 is the OpenQRM server, which will be installed on Debian x64; this server has one raided hdd. Server 2 is the Xen Server, which will be installed on Debian x64. One LVM based HVM VM, will be installed on this server. This server, has one raided hdd.</p>

<p>Let&#8217;s get started on the next page 2, Chapter 1 - Install OpenQRM.


<p><!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to BlogRO" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to FTW" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to VoxRO" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Twitter" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=OpenQRM+and+XEN+LVM+based+HVM+VM.&amp;c=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to MySpace" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;title=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Del.icio.us" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;title=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to digg" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=OpenQRM+and+XEN+LVM+based+HVM+VM.&amp;u=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to FURL" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;title=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to reddit" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;t=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to FaceBook" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Technorati" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;h=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Newsvine" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;title=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Stumble Upon" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;t=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Yahoo My Web" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm&amp;title=OpenQRM+and+XEN+LVM+based+HVM+VM." title="Add 'OpenQRM and XEN LVM based HVM VM.' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Google Bookmarks" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'OpenQRM and XEN LVM based HVM VM.' to Squidoo" alt="Add 'OpenQRM and XEN LVM based HVM VM.' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/how-to/openqrm-and-xen-lvm-based-hvm-vm/feed</wfw:commentRss>
		</item>
		<item>
		<title>Configure and Setup Tax Rates in Magento</title>
		<link>http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento</link>
		<comments>http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento#comments</comments>
		<pubDate>Tue, 15 Jun 2010 06:29:36 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=832</guid>
		<description><![CDATA[How to Configure and Setup Tax Rates in Magento
Step 1.
Set up a tax rate for your state. In this example I am setting a tax rate for a store based in Florida.
Admin&#62;Sales&#62;Tax&#62;Manage Tax Zones &#38; Rates
  Select, Add New Tax Rate button
  For Tax Identifier enter, US-FL-*-Rate 1
  For Country enter, United [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">How to Configure and Setup Tax Rates in Magento</h2>
<p class="bullet-3d">Step 1.</p>
<p>Set up a tax rate for your state. In this example I am setting a tax rate for a store based in Florida.</p>
<p>Admin&gt;Sales&gt;Tax&gt;Manage Tax Zones &amp; Rates<br />
  Select, Add New Tax Rate button<br />
  For Tax Identifier enter, US-FL-*-Rate 1<br />
  For Country enter, United States <br />
  For State enter, Florida<br />
  For Rate enter, 7.00<br />
  You can leave the Tax Titles blank<br />
  Select, Save Rate button</p>
<p>If you have a physical store presence in another state make sure you add that rate also. Please keep in mind every stats has different laws regarding collecting tax. This blog is for tutorial purposes only; seek an accountant in your area for proper advice.</p>
<p>You can now safely delete the other rates.</p>

<p class="bullet-3d">Step 2.</p>
<p>Set up a default tax rate.</p>
<p>If you don&#8217;t want your customer&#8217;s to see the tax by default then you&#8217;ll need to create another default rate. For example, visitor comes to your store, and you don&#8217;t want them see the tax included on all the products, until they pass the cart and will see it in check out, dependant on the state there in. In this example, no one will see tax included on products, not in the cart or until visitor &quot;enters&quot; the state their from. And if they are from Florida then, they will only see the tax increment at checkout, when they input their state.</p>
<p>So you&#8217;ll need to edit Magneto Tax Configuration<br />
  Admin&gt;System&gt;Configuration&gt;Tax&gt;</p>
<p>Under Default Tax Destination section<br />
  For Country Select United States<br />
  For State Select Alaska<br />
  For Default Post Code Enter, *</p>
<p>Under Display section<br />
  Display Cart/Order Prices Select, Excluding Tax <br />
  Display full tax summary Select, No <br />
  Display Shipping Prices Select, Excluding Tax <br />
  Display Product Prices Select, Excluding Tax <br />
  Display Zero Tax Subtotal Select, No </p>
<p>Optionally, you can configure the other sections here.</p>
<p>You can test it, but make sure to refresh cache before.</p>
<p>Your all done. Congrats</p><!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'Configure and Setup Tax Rates in Magento' to BlogRO" alt="Add 'Configure and Setup Tax Rates in Magento' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'Configure and Setup Tax Rates in Magento' to FTW" alt="Add 'Configure and Setup Tax Rates in Magento' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'Configure and Setup Tax Rates in Magento' to VoxRO" alt="Add 'Configure and Setup Tax Rates in Magento' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Configure and Setup Tax Rates in Magento' to Twitter" alt="Add 'Configure and Setup Tax Rates in Magento' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Configure+and+Setup+Tax+Rates+in+Magento&amp;c=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Configure and Setup Tax Rates in Magento' to MySpace" alt="Add 'Configure and Setup Tax Rates in Magento' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;title=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Configure and Setup Tax Rates in Magento' to Del.icio.us" alt="Add 'Configure and Setup Tax Rates in Magento' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;title=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Configure and Setup Tax Rates in Magento' to digg" alt="Add 'Configure and Setup Tax Rates in Magento' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Configure+and+Setup+Tax+Rates+in+Magento&amp;u=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'Configure and Setup Tax Rates in Magento' to FURL" alt="Add 'Configure and Setup Tax Rates in Magento' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;title=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Configure and Setup Tax Rates in Magento' to reddit" alt="Add 'Configure and Setup Tax Rates in Magento' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;t=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Configure and Setup Tax Rates in Magento' to FaceBook" alt="Add 'Configure and Setup Tax Rates in Magento' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Configure and Setup Tax Rates in Magento' to Technorati" alt="Add 'Configure and Setup Tax Rates in Magento' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;h=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'Configure and Setup Tax Rates in Magento' to Newsvine" alt="Add 'Configure and Setup Tax Rates in Magento' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;title=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Configure and Setup Tax Rates in Magento' to Stumble Upon" alt="Add 'Configure and Setup Tax Rates in Magento' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;t=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'Configure and Setup Tax Rates in Magento' to Yahoo My Web" alt="Add 'Configure and Setup Tax Rates in Magento' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento&amp;title=Configure+and+Setup+Tax+Rates+in+Magento" title="Add 'Configure and Setup Tax Rates in Magento' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Configure and Setup Tax Rates in Magento' to Google Bookmarks" alt="Add 'Configure and Setup Tax Rates in Magento' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento" title="Add 'Configure and Setup Tax Rates in Magento' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'Configure and Setup Tax Rates in Magento' to Squidoo" alt="Add 'Configure and Setup Tax Rates in Magento' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/ecommerce/magento/configure-and-setup-tax-rates-in-magento/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to redirect Magento newsletter url</title>
		<link>http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url</link>
		<comments>http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url#comments</comments>
		<pubDate>Sun, 13 Jun 2010 18:26:31 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=819</guid>
		<description><![CDATA[How to redirect Magento newsletter subscriber to a landing page url

This article is in response to unanswered Magento Post, found at http://www.magentocommerce.com/boards/viewthread/178109/

Magento does a good job with their newsletter infrastructure, but just like their web app, it does require you to fine tune it to your specifications. One such fine tuning is the way the [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">How to redirect Magento newsletter subscriber to a landing page url</h2>
<p>
This article is in response to unanswered Magento Post, found at <a href="http://http://www.magentocommerce.com/boards/viewthread/178109/">http://www.magentocommerce.com/boards/viewthread/178109/</a>
</p>
<p>Magento does a good job with their newsletter infrastructure, but just like their web app, it does require you to fine tune it to your specifications. One such fine tuning is the way the newsletter handles it&#8217;s subscribers, once they subscribe. Ideally, when the customer subscribes you would want them to keep shopping and not to read a form about newsletter policy. </p>
<p>
<strong>1.</strong> A pop up would do the trick, but what if they have pop ups from being displayed.<br />
<strong>2.</strong> A simple note saying, Thank you for your subscription. For more info on our Newsletter Policy please click here. Magento already has this feature but without the link being dispalyed.<br />
<strong>3.</strong> Or redirect to a CMS page which shows special discounted products viewed only by new subscribers. Here you can place your newsletter policy in short format, so it&#8217;s not obtrusive, but yet is available if the subscriber wants to read.</p>
<p>Either of these methods require hacking in Magento Core files. I&#8217;ll show you Method 2 and 3.</p>
<p class="bullet-3d">Method 2.</p>
  A simple note saying, Thank you for your subscription. For more info on our Newsletter Policy please click here. </p>
<p>Log into Magento Admin&gt;CMS&gt;Manage Pages&gt;Add New Page</p>
<p>Create a Newsletter Policy CMS page, i.e. newsletter-promotions</p>
<p>Open SubscriberController.php file located in:<br />
  MagentoStore\App\Code\Core\Mage\Newsletter\controllers\</p>
<p>Change<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$session</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addSuccess</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>__<span style="color: #009900;">&#40;</span><span style="">'Thank you for your subscription'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>


<br />
  To<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$session</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addSuccess</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>__<span style="color: #009900;">&#40;</span><span style="">'Thank you for your subscription. For more info on our Newsletter Policy, please click &lt;a href=&quot;newsletter-promotions&quot; target=&quot;_self&quot;&gt;here&lt;/a&gt;.'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>



</p>
<p>It would be a good idea to also do the same for; Please enter a valid email address; Confirmation request has been sent; and There was a problem with the subscription, messages.</p>
<p class="bullet-3d">Method 3.</p>
  Redirect to a special page of discounted products vieable only by subscribers, which contains the newsletter policy. </p>
<p>Magento Admin&gt;Catalog&gt;Manage Products&gt;Add New Product<br />
  Create new special discounted products, with Visibilty attribute set to, Nowhere. Make a note of the product ID. </p>
<p>Magento Admin&gt;CMS&gt;Manage Pages&gt;Add New Page<br />
  Create a Newsletter Policy CMS page, i.e. newsletter-policy-and-promotions. In this page you can add your special products you created for your new subscribers. (This is not covered in the scope of this, How To)</p>
<p>Change at approx line 65:<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_redirectReferer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>


<br />
  To<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_redirectUrl<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getBaseUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'newsletter-policy-and-promotions'</span><span style="color: #009900;">&#41;</span>;</pre></div></div>



</p>
<p>Change at approx line 92:<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_redirectUrl<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getBaseUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>


<br />
  To<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_redirectUrl<span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getBaseUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'newsletter-policy-and-promotions'</span><span style="color: #009900;">&#41;</span>;</pre></div></div>



</p>
<p>Now the subscriber will automatically be redirected to your new page, and the, &quot;Thank you for your subscription&quot; message will still be displayed.<br />
</p>
<p>Hope this helps you.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'How to redirect Magento newsletter url' to BlogRO" alt="Add 'How to redirect Magento newsletter url' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'How to redirect Magento newsletter url' to FTW" alt="Add 'How to redirect Magento newsletter url' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'How to redirect Magento newsletter url' to VoxRO" alt="Add 'How to redirect Magento newsletter url' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'How to redirect Magento newsletter url' to Twitter" alt="Add 'How to redirect Magento newsletter url' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=How+to+redirect+Magento+newsletter+url&amp;c=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'How to redirect Magento newsletter url' to MySpace" alt="Add 'How to redirect Magento newsletter url' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;title=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'How to redirect Magento newsletter url' to Del.icio.us" alt="Add 'How to redirect Magento newsletter url' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;title=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'How to redirect Magento newsletter url' to digg" alt="Add 'How to redirect Magento newsletter url' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=How+to+redirect+Magento+newsletter+url&amp;u=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'How to redirect Magento newsletter url' to FURL" alt="Add 'How to redirect Magento newsletter url' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;title=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'How to redirect Magento newsletter url' to reddit" alt="Add 'How to redirect Magento newsletter url' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;t=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'How to redirect Magento newsletter url' to FaceBook" alt="Add 'How to redirect Magento newsletter url' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'How to redirect Magento newsletter url' to Technorati" alt="Add 'How to redirect Magento newsletter url' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;h=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'How to redirect Magento newsletter url' to Newsvine" alt="Add 'How to redirect Magento newsletter url' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;title=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'How to redirect Magento newsletter url' to Stumble Upon" alt="Add 'How to redirect Magento newsletter url' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;t=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'How to redirect Magento newsletter url' to Yahoo My Web" alt="Add 'How to redirect Magento newsletter url' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url&amp;title=How+to+redirect+Magento+newsletter+url" title="Add 'How to redirect Magento newsletter url' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'How to redirect Magento newsletter url' to Google Bookmarks" alt="Add 'How to redirect Magento newsletter url' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url" title="Add 'How to redirect Magento newsletter url' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'How to redirect Magento newsletter url' to Squidoo" alt="Add 'How to redirect Magento newsletter url' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/ecommerce/magento/to-redirect-a-newsletter-subscriber-to-a-landing-page-url/feed</wfw:commentRss>
		</item>
		<item>
		<title>Change Magento Default Image Size - Resize</title>
		<link>http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize</link>
		<comments>http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize#comments</comments>
		<pubDate>Sun, 13 Jun 2010 03:06:37 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[Magento]]></category>

		<category><![CDATA[How To]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=811</guid>
		<description><![CDATA[How to Change Magento Image Default Size.
Magento&#8217;s default image size for it&#8217;s product page is 300px X 300px or 265px x 265px. And let&#8217;s say you want to change it to 320&#215;420.

In this example I will change the modern theme default image size of 300px, which can be applied to the standard default (265px) or [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">How to Change Magento Image Default Size.</h2>
<p>Magento&#8217;s default image size for it&#8217;s product page is 300px X 300px or 265px x 265px. And let&#8217;s say you want to change it to 320&#215;420.</p>
<p>
In this example I will change the modern theme default image size of 300px, which can be applied to the standard default (265px) or your custom theme default image size.
</p>
<p>
<p class="bullet-3d">Step 1:</p>
Navigate and open:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">\magentostore\app\design\frontend\<span style="color: #000000; font-weight: bold;">default</span>\<span style="color: #000000; font-weight: bold;">default</span>\template\catalog\product\view\media<span style="color: #339933;">.</span>phtml</pre></div></div>



</p>
Change
<p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">&lt;?php</span>
        <span style="color: #000088;">$_img</span> <span style="color: #339933;">=</span> <span style="">'&lt;img src=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">helper</span><span style="color: #009900;">&#40;</span><span style="">'catalog/image'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">init</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">,</span> <span style="">'image'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resize</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">300</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'&quot; alt=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">htmlEscape</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getImageLabel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'&quot;/&gt;'</span>;
        <span style="color: #990000;">echo</span> <span style="color: #000088;">$_helper</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">productAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_img</span><span style="color: #339933;">,</span> <span style="">'image'</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


</p>
To
<p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">&lt;?php</span>
        <span style="color: #000088;">$_img</span> <span style="color: #339933;">=</span> <span style="">'&lt;img src=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">helper</span><span style="color: #009900;">&#40;</span><span style="">'catalog/image'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">init</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">,</span> <span style="">'image'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resize</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">320</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">420</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'&quot; alt=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">htmlEscape</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getImageLabel</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="">'&quot;/&gt;'</span>;
        <span style="color: #990000;">echo</span> <span style="color: #000088;">$_helper</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">productAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_product</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_img</span><span style="color: #339933;">,</span> <span style="">'image'</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>


</p>
<p>
<p class="bullet-3d">Step 2:</p>
Navigate and open:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">\magentostore\skin\frontend\<span style="color: #000000; font-weight: bold;">default</span>\<span style="color: #000000; font-weight: bold;">default</span>\css\boxes<span style="color: #339933;">.</span>css</pre></div></div>



</p>
Change


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>img<span style="color: #339933;">-</span>box <span style="color: #009900;">&#123;</span> float<span style="color: #339933;">:</span>left; width<span style="color: #339933;">:</span>302px; <span style="color: #009900;">&#125;</span></pre></div></div>



To


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>img<span style="color: #339933;">-</span>box <span style="color: #009900;">&#123;</span> float<span style="color: #339933;">:</span>left; width<span style="color: #339933;">:</span>322px; <span style="color: #009900;">&#125;</span></pre></div></div>




Change


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>img<span style="color: #339933;">-</span>box <span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>image<span style="color: #339933;">-</span>zoom <span style="color: #009900;">&#123;</span> position<span style="color: #339933;">:</span>relative; overflow<span style="color: #339933;">:</span>hidden; width<span style="color: #339933;">:</span>300px; height<span style="color: #339933;">:</span>300px; z<span style="color: #339933;">-</span>index<span style="color: #339933;">:</span><span style="color: #cc66cc;">9</span>; border<span style="color: #339933;">:</span>1px solid <span style="color: #666666; font-style: italic;">#cacaca; }</span></pre></div></div>



To


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>img<span style="color: #339933;">-</span>box <span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>image<span style="color: #339933;">-</span>zoom <span style="color: #009900;">&#123;</span> position<span style="color: #339933;">:</span>relative; overflow<span style="color: #339933;">:</span>hidden; width<span style="color: #339933;">:</span>320px; height<span style="color: #339933;">:</span>420px; z<span style="color: #339933;">-</span>index<span style="color: #339933;">:</span><span style="color: #cc66cc;">9</span>; border<span style="color: #339933;">:</span>1px solid <span style="color: #666666; font-style: italic;">#cacaca; }</span></pre></div></div>




Change


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>info<span style="color: #339933;">-</span>box               <span style="color: #009900;">&#123;</span> float<span style="color: #339933;">:</span>right; width<span style="color: #339933;">:</span>363px; <span style="color: #009900;">&#125;</span></pre></div></div>



To


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #339933;">.</span>product<span style="color: #339933;">-</span>info<span style="color: #339933;">-</span>box               <span style="color: #009900;">&#123;</span> float<span style="color: #339933;">:</span>right; width<span style="color: #339933;">:</span>343px; <span style="color: #009900;">&#125;</span></pre></div></div>




<p class="bullet-3d">Step 3:</p>
<p>
Refresh Cache and Clear Image Cache
</p>
<br />
<br /><!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'Change Magento Default Image Size - Resize' to BlogRO" alt="Add 'Change Magento Default Image Size - Resize' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'Change Magento Default Image Size - Resize' to FTW" alt="Add 'Change Magento Default Image Size - Resize' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'Change Magento Default Image Size - Resize' to VoxRO" alt="Add 'Change Magento Default Image Size - Resize' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Change Magento Default Image Size - Resize' to Twitter" alt="Add 'Change Magento Default Image Size - Resize' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Change+Magento+Default+Image+Size+-+Resize&amp;c=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Change Magento Default Image Size - Resize' to MySpace" alt="Add 'Change Magento Default Image Size - Resize' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;title=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Change Magento Default Image Size - Resize' to Del.icio.us" alt="Add 'Change Magento Default Image Size - Resize' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;title=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Change Magento Default Image Size - Resize' to digg" alt="Add 'Change Magento Default Image Size - Resize' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Change+Magento+Default+Image+Size+-+Resize&amp;u=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'Change Magento Default Image Size - Resize' to FURL" alt="Add 'Change Magento Default Image Size - Resize' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;title=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Change Magento Default Image Size - Resize' to reddit" alt="Add 'Change Magento Default Image Size - Resize' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;t=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Change Magento Default Image Size - Resize' to FaceBook" alt="Add 'Change Magento Default Image Size - Resize' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Change Magento Default Image Size - Resize' to Technorati" alt="Add 'Change Magento Default Image Size - Resize' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;h=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'Change Magento Default Image Size - Resize' to Newsvine" alt="Add 'Change Magento Default Image Size - Resize' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;title=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Change Magento Default Image Size - Resize' to Stumble Upon" alt="Add 'Change Magento Default Image Size - Resize' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;t=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'Change Magento Default Image Size - Resize' to Yahoo My Web" alt="Add 'Change Magento Default Image Size - Resize' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize&amp;title=Change+Magento+Default+Image+Size+-+Resize" title="Add 'Change Magento Default Image Size - Resize' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Change Magento Default Image Size - Resize' to Google Bookmarks" alt="Add 'Change Magento Default Image Size - Resize' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize" title="Add 'Change Magento Default Image Size - Resize' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'Change Magento Default Image Size - Resize' to Squidoo" alt="Add 'Change Magento Default Image Size - Resize' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/ecommerce/magento/change-magento-default-image-size-resize/feed</wfw:commentRss>
		</item>
		<item>
		<title>Copy and Paste Between Computers with New Google App</title>
		<link>http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app</link>
		<comments>http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app#comments</comments>
		<pubDate>Fri, 19 Feb 2010 18:23:06 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[Random Articles]]></category>

		<category><![CDATA[Web Dev]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Google App]]></category>

		<category><![CDATA[office suite]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=776</guid>
		<description><![CDATA[Copy and Paste Between Computers with New Google App


New Google App





With out a surprise, Google has come out with a new feature for its Docs online office suite. The feature not only lets you copy and paste text but it also lets you copy and past images between spreadsheets, presentations, and documents. The clipboard also [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">Copy and Paste Between Computers with New Google App</h2>
<a href="http://www.cj.com/click-4028361-10438541?cm_mmc=CJ-_-3061322-_-4028361-_-Home_468x60-Anim_8-24-2006">
<img src="http://www.cj.com/image-4028361-10438541" width="468" height="60" alt="Great Deals @ Geeks.com!" border="0"/></a>
<h3>New Google App</h3>

<div style="float:right; padding-top:3px; padding-right:3px;" ><script type="text/javascript"><!--
google_ad_client = "pub-7602949206785248";
/* Web-Dev-200x200-img-ad-posts */
google_ad_slot = "4543063624";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span class="capi">W</span>ith out a surprise, Google has come out with a new feature for its Docs online office suite. The feature not only lets you copy and paste text but it also lets you copy and past images between spreadsheets, presentations, and documents. The clipboard also lets you copy multiple items so you can re-use them later or with multiple apps, even if you delete the originating document. Google is stepping up. For all you web developers, Google also has Google Apps which I am sure all you are aware of, if not you need to know.</p>

<p>Back on subject, using the normal copy and paste routine using ctrl-C and ctrl-V, only works to a single computer. If you want to copy anything into server clipboard, merely select the item in the Google Docs editor and then click the “Copy selection to server clipboard” option from the new clipboard menu that looks like a folder with a cloud overlaid over it. </p>

<p>I can not tell you how many times this has helped me through setting up servers and doing repetitive work. </p>

<p>Another great aspect of this new Google feature is the cloud. The cloud also allows you to access the items you previously copied to server clipboard, as long as you are still signed in with the same Google account. The server clipboard icon shows a handy preview of copied items in a sub-menu and lets you paste any wanted item as plan text or HTML format.</p>

<p>Copying and pasting via the server-side clipboard allows you to copy on one computer, then sign in and paste on another one. For example, you can copy something in your work computer and then paste the item into a document on your home machine. Or, you could copy a set of cells in a spreadsheet and paste it into a document as a properly formatted table.</p>
<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'Copy and Paste Between Computers with New Google App' to BlogRO" alt="Add 'Copy and Paste Between Computers with New Google App' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'Copy and Paste Between Computers with New Google App' to FTW" alt="Add 'Copy and Paste Between Computers with New Google App' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'Copy and Paste Between Computers with New Google App' to VoxRO" alt="Add 'Copy and Paste Between Computers with New Google App' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'Copy and Paste Between Computers with New Google App' to Twitter" alt="Add 'Copy and Paste Between Computers with New Google App' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Copy+and+Paste+Between+Computers+with+New+Google+App&amp;c=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'Copy and Paste Between Computers with New Google App' to MySpace" alt="Add 'Copy and Paste Between Computers with New Google App' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;title=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'Copy and Paste Between Computers with New Google App' to Del.icio.us" alt="Add 'Copy and Paste Between Computers with New Google App' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;title=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'Copy and Paste Between Computers with New Google App' to digg" alt="Add 'Copy and Paste Between Computers with New Google App' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Copy+and+Paste+Between+Computers+with+New+Google+App&amp;u=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'Copy and Paste Between Computers with New Google App' to FURL" alt="Add 'Copy and Paste Between Computers with New Google App' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;title=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'Copy and Paste Between Computers with New Google App' to reddit" alt="Add 'Copy and Paste Between Computers with New Google App' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;t=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'Copy and Paste Between Computers with New Google App' to FaceBook" alt="Add 'Copy and Paste Between Computers with New Google App' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'Copy and Paste Between Computers with New Google App' to Technorati" alt="Add 'Copy and Paste Between Computers with New Google App' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;h=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'Copy and Paste Between Computers with New Google App' to Newsvine" alt="Add 'Copy and Paste Between Computers with New Google App' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;title=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'Copy and Paste Between Computers with New Google App' to Stumble Upon" alt="Add 'Copy and Paste Between Computers with New Google App' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;t=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'Copy and Paste Between Computers with New Google App' to Yahoo My Web" alt="Add 'Copy and Paste Between Computers with New Google App' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app&amp;title=Copy+and+Paste+Between+Computers+with+New+Google+App" title="Add 'Copy and Paste Between Computers with New Google App' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'Copy and Paste Between Computers with New Google App' to Google Bookmarks" alt="Add 'Copy and Paste Between Computers with New Google App' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app" title="Add 'Copy and Paste Between Computers with New Google App' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'Copy and Paste Between Computers with New Google App' to Squidoo" alt="Add 'Copy and Paste Between Computers with New Google App' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/random-web-related-articles/copy-and-paste-between-computers-with-new-google-app/feed</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet</title>
		<link>http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet</link>
		<comments>http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet#comments</comments>
		<pubDate>Wed, 17 Feb 2010 21:58:29 +0000</pubDate>
		<dc:creator>J</dc:creator>
		
		<category><![CDATA[Random Articles]]></category>

		<category><![CDATA[Censorship]]></category>

		<category><![CDATA[Government]]></category>

		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=772</guid>
		<description><![CDATA[&#8220;Operation Titstorm&#8221;
Australians Rebel Over Government Censorship on Internet

Internet Groups called Hackers are joining forces with another unknown name organization to rebel against the government on the censorship of some Australian government websites. 





The government of Australia has revealed exactly what they are censoring. Their campaign is to censor or ban all pictures of small breasted [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">&#8220;Operation Titstorm&#8221;</h2>
<h3>Australians Rebel Over Government Censorship on Internet</h3>

<p><span class="capi">I</span>nternet Groups called Hackers are joining forces with another unknown name organization to rebel against the government on the censorship of some Australian government websites. </p>

<div style="float:right; padding-top:3px; padding-right:3px;" ><script type="text/javascript"><!--
google_ad_client = "pub-7602949206785248";
/* Web-Dev-200x200-img-ad-posts */
google_ad_slot = "4543063624";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>The government of Australia has revealed exactly what they are censoring. Their campaign is to censor or ban all pictures of small breasted women. Also Aussies will be banned and forbidden to look at images or any content relating to women having an orgasm. </p>

<p>How you might say? Well The Australian government plans on censoring the internet connections. This is why lots of protesters are coming out of the wood works. </p>

<p>All this explains the name of the hacking campaign, &#8220;Operation Titstorm&#8221;, which they say is because the government is not keeping all breasts from modern society.</p>

<b>Incredible</b>

<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to BlogRO" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FTW" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to VoxRO" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Twitter" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet&amp;c=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to MySpace" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;title=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Del.icio.us" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;title=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to digg" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet&amp;u=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FURL" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;title=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to reddit" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;t=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FaceBook" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Technorati" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;h=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Newsvine" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;title=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Stumble Upon" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;t=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Yahoo My Web" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet&amp;title=%26%238220%3BOperation+Titstorm%26%238221%3B+Australians+Rebel+Over+Government+Censorship+on+Internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Google Bookmarks" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Squidoo" alt="Add '&#8220;Operation Titstorm&#8221; Australians Rebel Over Government Censorship on Internet' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/random-web-related-articles/operation-titstorm-australians-rebel-over-government-censorship-on-internet/feed</wfw:commentRss>
		</item>
		<item>
		<title>AWStats and WAMP Installation (Windows)</title>
		<link>http://webdevster.com/how-to/awstats-and-wamp-installation-windows</link>
		<comments>http://webdevster.com/how-to/awstats-and-wamp-installation-windows#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:09:48 +0000</pubDate>
		<dc:creator>CJ</dc:creator>
		
		<category><![CDATA[How To]]></category>

		<category><![CDATA[Web Dev]]></category>

		<category><![CDATA[AWStats]]></category>

		<category><![CDATA[Stats]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[Wamp]]></category>

		<category><![CDATA[web development]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://webdevster.com/?p=680</guid>
		<description><![CDATA[AWStats and WAMP Installation


var AdBrite_Title_Color = '000000';
var AdBrite_Text_Color = '666666';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'FFFFFF';
var AdBrite_URL_Color = '666666';
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}

document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1536940&#038;zs=3330305f323530&#038;ifr='+AdBrite_Iframe+'&#038;ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));
Your Ad Here

AWStats can be configured for most any web server, LAMP, WAMP, IIS etc.. If you like you can read my WAMP vs IIS article to better explain WAMP (WampServer). [...]]]></description>
			<content:encoded><![CDATA[<h2 class="subheader">AWStats and WAMP Installation</h2>
<div style="float:right; padding-top:5px; padding-right:5px;" ><!-- Begin: AdBrite, Generated: 2010-02-19 15:11:44  -->
<script type="text/javascript">
var AdBrite_Title_Color = '000000';
var AdBrite_Text_Color = '666666';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'FFFFFF';
var AdBrite_URL_Color = '666666';
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
</script>
<script type="text/javascript">document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1536940&zs=3330305f323530&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<div><a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?sid=1536940&afsid=1" style="font-weight:bold;font-family:Arial;font-size:13px;">Your Ad Here</a></div>
<!-- End: AdBrite --></div>
<p><span class="capi">A</span>WStats can be configured for most any web server, LAMP, WAMP, IIS etc.. If you like you can read my <a href="http://webdevster.com/web-dev/wamp-vs-windows-iis" target="_self">WAMP vs IIS article</a> to better explain WAMP (WampServer). This tutorial really shows how to install and configure the AWStats, and configure it&#8217;s directory structure to be in line with WAMP (WampServer). An addition, I have created a couple of scripts to automate AWStats updates and GEO IP updates.</p>

<h3>Preword</h3>

<p>It&#8217;s a good idea to have both Google Analytics and AWStats. Contrary to most analytic blogs, saying that Google Analytics is better than AWStats log analyzer is a misnomer. All fortune 500 sites at minimum run some sort of log analyzer &#8216;and&#8217; a variant form of Google analytics, custom proprietary application in-house and/or out sourced. There are many variables to describe the difference in both; so many, that you would need to write a 1000+ page white paper document, and this will still not cover all the differences. So to keep it wise and simple; yes, you need to have both. Just a friendly note from <a href="http://webdevster.com" target="_blank">Webdevster.com</a>, before installing AWStats, you should have already configured Google Analytics to start recording data. </p>

<div class="m-pages">
<p>This tutorial is split into five chronological sections:</p>
<p class="m-pages-0">Pages</p>
<p class="m-pages-1"><span class="mp-your-are-here">Installing AWStats on WAMP</span></p>
<p class="m-pages-2">Auto Update AWStats on WAMP</p>
<p class="m-pages-3">Create Additional AWStats WAMP Profiles</p>
<p class="m-pages-4">Install GEO IP on AWStats WAMP</p>
<p class="m-pages-5">Auto Update GEO IP AWStats WAMP</p>
</div>

<br>
<h3>Help Links to AWStats and WAMP</h3><script type="text/javascript"><!--
google_ad_client = "pub-7602949206785248";
/* WebDevster-Txt-Link-468x15 */
google_ad_slot = "8031446381";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br><br>

<h2 class="subheader">Installing and Configuring AWStats on WAMP (WampServer)</h2>

<p>First and foremost you must have Perl, installed on your WAMP (WampServer). You can follow my tutorial on <a href="http://webdevster.com/how-to/install-perl-on-wamp" target="_self">how to install Perl on WAMP (WampServer)</a>.

<p class="bullet-3d">Step 1:</p>

<p>Test your perl to make sure its installed. In a cmd type:</p>

<span class="cmd">prompt>perl -v</span>

<p>If you get the version Perl info, then it works and you can proceed to install AWStats on WAMP (WampServer)</p>

<p class="bullet-3d">Step 2:</p>

<p>Download and install <a href="http://awstats.sourceforge.net/#DOWNLOAD" target="_blank" class="icon-external-link">AWStats</a>, select and download the latest version *.exe. Run the installer, click next to, &#8220;I Agree&#8221;. Next window, select browse, and install it in c:\wamp\bin\AWStats\, which is the default directory for WAMP (WampServer). Where you install it, really makes all the difference on your success of running AWStats without any issues. So, keep close attention to the location of the files. For this, &#8220;how to&#8221; we&#8217;ll use the aforementioned default directory, c:\wamp\bin\AWStats\. </p>

<img src="media/images/how-to/install-awstats-on-wamp/screenshot-step2.jpg" alt="Step 2 - Installing and Configuring AWStats on WAMP (WampServer) Webdevster.com" width="503" height="386" border="0" />



<p class="bullet-3d">Step 3:</p>


<p>Next, it will run a Perl script to install all the requirements. The cmd window will read, AWStats awstats_configure 1.0&#8230;Please, enter full directory path of your Apache web server &#8230; Apache Web server path (&#8217;none&#8217; to skip): Type in none.</p>

<img src="media/images/how-to/install-awstats-on-wamp/screenshot-step3.png" alt="Step 3 - Installing and Configuring AWStats on WAMP (WampServer) Webdevster.com" width="668" height="415" border="0" />

<p>&nbsp;</p>

<p class="bullet-3d">Step 4:</p>

<p>The cmd window will read, Your web server config file(s) could not be found. You will need to setup your seb server manually&#8230;Do you want me to build a new AWStats config/profile (required if first install) [y/N] ? Type in y, for yes</p>

<img src="media/images/how-to/install-awstats-on-wamp/screenshot-step4.png" alt="Step 4 - Installing and Configuring AWStats on WAMP (WampServer) Webdevster.com" width="668" height="417" border="0" />

<p>&nbsp;</p>

<p class="bullet-3d">Step 5:</p>

<p><span class="note">IMPORTANT<br />
I am using my site, webdevster.com as an example. You must substitute webdevster.com related entries with your Windows environment
</span></p>

<p>The cmd window will read, Define config file name to create&#8230; What is the name of your web site or profile analysis?&#8230; Your web site, virtual server or profile name: Here we type in our web site name like so, awstats.webdevster.conf or awstats.webdev.conf; its up to you, how you want to handle your naming conventions. I&#8217;ll keep it short.</p>

<img src="media/images/how-to/install-awstats-on-wamp/screenshot-step5.png" alt="Step 5 - Installing and Configuring AWStats on WAMP (WampServer) Webdevster.com" width="666" height="417" border="0" />

<p>&nbsp;</p>

<p class="bullet-3d">Step 6:</p>

<p>The cmd window will read, Sorry for Window users, if you want to have statistics to be updated on a regular basis, you have to add the update process in a scheduler task manually&#8230; Press Enter to Continue</p>


<p class="bullet-3d">Step 7:</p>

<div style="float:right; padding-top:3px; padding-right:3px;" ><script type="text/javascript"><!--
google_ad_client = "pub-7602949206785248";
/* Web-Dev-200x200-img-ad-posts */
google_ad_slot = "4543063624";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

<p>The cmd window will read, Sorry for Window users, if you  want to have statistics to be updated on a regular basis, you have to add the  update process in a scheduler task manually&#8230; Press Enter to Continue</p>

<p>Another cmd will read, A simple config file has been  created: c:/wamp/bin/AWStats\wwwroot\cgi-bin\awstats.awstats.webdev.conf.conf  &#8230; You can then manually update your statistics for &#8216;awstats.webdev.conf&#8217; with  command:<br />
  &gt;perl awstats.pl -update -config=awstats.webdev.conf<br />
  You can also build static report pages for  &#8216;awstats.webdev.conf&#8217; with command:<br />
  &gt;perl awstats.pl -output=pagetype  -config=awstats.webdev.conf</p>

<p>Press Enter to Finish</p>

<p>And close out Installation Complete log.</p>

<p class="bullet-3d">Step 8:</p>

<p>Depending on your environment, you can choose between two options, as follows:</p>

<p><strong>Option 1.</strong> If your web server log files are located on the same machine or local network:
Browse to c:/wamp/bin/AWStats and create two additional folders; reports and data. The data folder is to store your AWStats databases for each profile, i.e. awstats.webdev.conf. The reports folder, is to store your generated reports/statistics.</p>

<p>So, it should like this:</p>

<p>c:/wamp/bin/AWStats/reports<br />
c:/wamp/bin/AWStats/data</p>

<p><strong>Option 2:</strong> If your logs are located on a remote machine, you can schedule an automatic download of the log files (not covered in the scope of this tutorial) or simply manualy download them to your local computer. Browse to c:/wamp/bin/AWStats and create three folders; logs, reports, and data. You can optionally create subdirectories, like so: logs/webdev/ or reports/webdev. The data folder is to store your AWStats Databases for each profile, i.e. awstats.webdev.conf. The reports folder, is to store your generated reports. And the logs folder, is to store your apache logs.</p>

<p>So, it should like this:</p>

<p>c:/wamp/bin/AWStats/logs<br />
c:/wamp/bin/AWStats/reports<br />
c:/wamp/bin/AWStats/data</p>

<p class="bullet-3d">Step 9:</p>

<p>Edit your c:/wamp/bin/AWStats/wwwroot/cgi-bin/awstats.awstats.webdev.conf.conf with any simple text editor, such as notepad++, etc.. Do not use Windows Word when editing any plain text config file, as it may save characters which will generate errors.</p>

<p>Depending on your environment, you can choose between two options (local networked server, or local server), as follows:</p>

<p><strong>Option 1.</strong> If your webserver log files are in your computer (local server):</p>

<ul>
<li>First, we replace this line:<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">LogFile<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;/var/log/httpd/mylog.log&quot;</span></pre></div></div>




<p>with the location of your wampserver log files. Like so:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">LogFile<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;c:/wamp/logs/webdev/http/access.log&quot;</span></pre></div></div>



</li>
</ul>

<p><strong>Option 2:</strong> If your logs are located on a local networked server:</p>

<ul>
<li>Point the LogFile to your other machine on the local network. Like the following example:<br />


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">LogFile<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>192.168.100.100<span style="color: #000099; font-weight: bold;">\l</span>ogs<span style="color: #000099; font-weight: bold;">\w</span>ebdev<span style="color: #000099; font-weight: bold;">\h</span>ttp<span style="color: #000099; font-weight: bold;">\a</span>ccess.log&quot;</span></pre></div></div>



</li>
</ul>


<p>Please note, when I first configured WAMP (WampServer), I created this directory structure, so yours will look different. Either way, you need to point it to your log files.</p>

<p>Now we continue with other edits, regardless of the location of the WAMP (WampServer).</p>
<ul>
<li>We need to confirm or edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">LogFormat<span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span></pre></div></div>



<p>If it&#8217;s not set to 1, then set it to 1.</p>
</li>
</ul>

<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">SiteDomain<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;awstats.webdev.conf&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">SiteDomain<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;webdevster.com&quot;</span></pre></div></div>



</li>
</ul>



<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">HostAliases<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;awstats.rpt.conf www.awstats.rpt.conf 127.0.0.1 localhost&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">HostAliases<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;webdevster.com www.webdevster.com 127.0.0.1 localhost&quot;</span></pre></div></div>




<p>
Please note, if your webserver is located on a another server on your local network make sure you put that ip address here also, for example 192.168.100.100, like so:
</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">HostAliases<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;webdevster.com www.webdevster.com 127.0.0.1 localhost 192.168.100.100&quot;</span></pre></div></div>



</li>
</ul>

<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DNSLookup<span style="color: #339933;">=</span><span style="color: #cc66cc;">2</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DNSLookup<span style="color: #339933;">=</span><span style="color:#800080;">0</span></pre></div></div>



<p>
Please note, we set it to zero so we can quickly process the log files the first time. If you really want reverse DNS lookup to resolve with names instead of IP addresses, then enter DNSLookup=1; this feature slows down the process signifacantly. You can enter the default of DNSLookup=2, to lessen the time to process the reverse DNS lookup.
</p>
</li>
</ul>

<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DirData<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;.&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DirData<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/data/webdev&quot;</span></pre></div></div>



<p>
Please note, I created a subdirectory webdev, so we can store webdev related data in here. And so, if you want to add another profile (web site), you would add another folder like so, data/my2ndsite. This is optional as you can keep them all living inside, /data directory.
</p>
</li>
</ul>


<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DirIcons<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;/icon&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">DirIcons<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;/awstatsicons&quot;</span></pre></div></div>



</li>
</ul>

<ul>
<li>Find and edit this line:


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">SkipHosts<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span></pre></div></div>



<p>to:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">SkipHosts<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;REGEX[^192<span style="color: #000099; font-weight: bold;">\.</span>168<span style="color: #000099; font-weight: bold;">\.</span>100<span style="color: #000099; font-weight: bold;">\.</span>]&quot;</span></pre></div></div>



<p>
Please note, this will exclude erroneous local network traffic. AWSTats will not processs entire subnet mask of (excludes any IP addresses that start with) 192.168.100.*, if you want to include local traffic than leave it alone like so, SkipHosts=&#8221;"
</p>
</li>
</ul>

<p class="bullet-3d">Step 10:</p>

<p>Make a copy of your c:/wamp/bin/AWStats/wwwroot/cgi-bin/awstats.awstats.webdev.conf.conf file in the same directory and name it awstats.webdev.conf. </p>

<p>This awstats.webdev.conf will be your configuration file that awstats loads up. The other awstats.awstats.webdev.conf.conf can be used as a template to create additional profiles, which is also covered in <a href="http://webdevster.com/how-to/create-additional-awstats-wamp-profiles" target="_self">SECTION 3. CREATE ADDITIONAL PROFILES</a></p>


<p class="bullet-3d">Step 11.</p>

<p>Process the first log by typing the following cmd.</p>

<span class="cmd">prompt>perl c:\wamp\bin\AWStats\wwwroot\cgi-bin\awstats.pl -update -config=webdev</span>

<p>It will look similar to this:</p>

<span class="cmd">
<p>
Microsoft Windows XP [Version 5.1.2600]<br />
(C) Copyright 1985-2001 Microsoft Corp.
</p>
<p>
C:\Documents and Settings\CJ>perl C:\wamp\bin\AWStats\wwwroot\cgi-bin\awstats.pl -update -config=webdev<br />
Create/Update database for config &#8220;C:\wamp\bin\AWStats\wwwroot\cgi-bin/awstats.rpt.conf&#8221; by AWStats version 6.<br />
95 (build 1.943)<br />
From data in log file &#8220;\\192.168.100.100\www\log\webdev\http\access.log&#8221;&#8230;<br />
Phase 1 : First bypass old records, searching new record&#8230;<br />
Searching new records from beginning of log file&#8230;<br />
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)&#8230;<br />
Jumped lines in file: 0<br />
Parsed lines in file: 889300<br />
 Found 33222 dropped records,<br />
 Found 8 corrupted records,<br />
 Found 0 old records,<br />
 Found 856070 new qualified records.
</p>
<p>
C:\Documents and Settings\CJ>
</p>
</span>

<p>&nbsp;</p>
<p>Please note, if your apache logs are on a networked server, make sure they are world readable:</p>

<p>The first time you run the update process, it may take a couple of minutes to a few hours, depending on the size of the log, and if you have DNS Lookup enabled</p>

<p class="bullet-3d">Step 12.</p>

<p>Configure directives.</p>

<p>Create a new text file and name it awstats.conf in c:\wamp\alias\ directory. And copy and paste the following into awstats.conf.</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Alias <span style="color: #339933;">/</span>awstatsclasses <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/cgi-bin/lib/&quot;</span>
Alias <span style="color: #339933;">/</span>awstatsicons <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/wwwroot/icon/&quot;</span>
Alias <span style="color: #339933;">/</span>awstatscss <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/wwwroot/css/&quot;</span>
ScriptAlias <span style="color: #339933;">/</span>awstats_show<span style="color: #339933;">/</span> <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/wwwroot/cgi-bin/&quot;</span> 
ScriptInterpreterSource registry 
<span style="color: #666666; font-style: italic;"># To give awstats access to specific IP addresses </span>
<span style="color: #666666; font-style: italic;"># replace the lines</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#	Order Allow,Deny </span>
<span style="color: #666666; font-style: italic;">#	Allow from all</span>
<span style="color: #666666; font-style: italic;">#with</span>
<span style="color: #666666; font-style: italic;">#       </span>
<span style="color: #666666; font-style: italic;">#	Order Deny,Allow</span>
<span style="color: #666666; font-style: italic;">#	Deny from all</span>
<span style="color: #666666; font-style: italic;">#	Allow from 127.0.0.1</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #339933;">&lt;</span>Directory <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/wwwroot/cgi-bin/&quot;</span><span style="color: #339933;">&gt;</span>
	Order Allow<span style="color: #339933;">,</span>Deny 
	Allow from all
<span style="color: #339933;">&lt;/</span>Directory<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>Directory <span style="color: #0000ff;">&quot;c:/wamp/bin/AWStats/wwwroot/icon/&quot;</span><span style="color: #339933;">&gt;</span>
	Order Allow<span style="color: #339933;">,</span>Deny 
	Allow from all
<span style="color: #339933;">&lt;/</span>Directory<span style="color: #339933;">&gt;</span></pre></div></div>




<p>Alternately you can download this awstats.conf: <a href="http://webdevster.com/downloads/scripts/awstats-windows/awstats.conf" target="_blank">plain-text</a> or <a href="http://webdevster.com/downloads/scripts/awstats-windows/c_wamp_alias_awstats.conf.zip">zipped</a></p>

<p class="bullet-3d">Step 13.</p>

<p>Restart Apache. </p>

<p>Any of the following will work:</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">And point your browser to http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//127.0.0.1/awstats_show/awstats.pl?config=webdev</span></pre></div></div>



<p>or</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Point your browser to http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//localhost/awstats_show/awstats.pl?config=webdev</span></pre></div></div>



<p>or</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Point your browser to http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//se.rv.er.ip/awstats_show/awstats.pl?config=webdev</span></pre></div></div>



<p>or</p>


<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;">Point browser to http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//yourwebsite.com/awstats_show/awstats.pl?config=webdev</span></pre></div></div>




<p><span class="note">COOL STUFF<br />

<p>You can essentially call AWSawstats from any virtual web server name, for example:</p>

<p>wearefamily.i.have.all.my.sisters.with.me.com/awstats_show/awstats.pl?config=webdev</p>

<p>Simply create a virtual web site like you normally do in your c:/wamp/www/wearefamily.i.have.all.my.brothersandsisters.with.me.com/</p>

<p>This will also add an additional layer of security. An addition you can password protect the directory, like you would normally with any virtual web site.</p>
</span>
</p>

<h4>Continue to <a href="http://webdevster.com/how-to/auto-update-awstats-on-wamp" target="_self">next page&#8230;.</a>SECTION 2. Auto Update AWStats on WAMP (Schedule an automatic AWStats update of your web sites)</h4>

<p><strong>Pages:</strong>&nbsp;1&nbsp;<a href="http://webdevster.com/how-to/auto-update-awstats-on-wamp" target="_self">2</a>&nbsp;<a href="http://webdevster.com/how-to/create-additional-awstats-wamp-profiles" target="_self">3</a>&nbsp;<a href="http://webdevster.com/how-to/install-maxmind-geoip-vs-geoipfree-on-awstats-wamp" target="_self">4</a>&nbsp;<a href="http://webdevster.com/how-to/auto-update-geo-ip-awstats-on-windows-wamp" target="_self">5</a></p> 


<SCRIPT charset="utf-8" type="text/javascript" src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822/US/webde0c-20/8001/2befb24c-4804-4502-ba1a-369c5acfcb59"> </SCRIPT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fwebde0c-20%2F8001%2F2befb24c-4804-4502-ba1a-369c5acfcb59&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT>

<!-- RO Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogro.info/submit.php?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to BlogRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/blogro.png" title="Add 'AWStats and WAMP Installation (Windows)' to BlogRO" alt="Add 'AWStats and WAMP Installation (Windows)' to BlogRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.ftw.ro/node/add/drigg/?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to FTW"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/ftw.png" title="Add 'AWStats and WAMP Installation (Windows)' to FTW" alt="Add 'AWStats and WAMP Installation (Windows)' to FTW" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://voxro.com/node/add/drigg/?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to VoxRO"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/voxro.png" title="Add 'AWStats and WAMP Installation (Windows)' to VoxRO" alt="Add 'AWStats and WAMP Installation (Windows)' to VoxRO" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to Twitter"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/twitter.png" title="Add 'AWStats and WAMP Installation (Windows)' to Twitter" alt="Add 'AWStats and WAMP Installation (Windows)' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=AWStats+and+WAMP+Installation+%28Windows%29&amp;c=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to MySpace"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/myspace.png" title="Add 'AWStats and WAMP Installation (Windows)' to MySpace" alt="Add 'AWStats and WAMP Installation (Windows)' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;title=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to Del.icio.us"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/delicious.png" title="Add 'AWStats and WAMP Installation (Windows)' to Del.icio.us" alt="Add 'AWStats and WAMP Installation (Windows)' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;title=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to digg"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/digg.png" title="Add 'AWStats and WAMP Installation (Windows)' to digg" alt="Add 'AWStats and WAMP Installation (Windows)' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=AWStats+and+WAMP+Installation+%28Windows%29&amp;u=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to FURL"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/furl.png" title="Add 'AWStats and WAMP Installation (Windows)' to FURL" alt="Add 'AWStats and WAMP Installation (Windows)' to FURL" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;title=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to reddit"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/reddit.png" title="Add 'AWStats and WAMP Installation (Windows)' to reddit" alt="Add 'AWStats and WAMP Installation (Windows)' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;t=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to FaceBook"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/facebook.png" title="Add 'AWStats and WAMP Installation (Windows)' to FaceBook" alt="Add 'AWStats and WAMP Installation (Windows)' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to Technorati"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/technorati.png" title="Add 'AWStats and WAMP Installation (Windows)' to Technorati" alt="Add 'AWStats and WAMP Installation (Windows)' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.newsvine.com/_wine/save?u=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;h=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to Newsvine"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/newsvine.png" title="Add 'AWStats and WAMP Installation (Windows)' to Newsvine" alt="Add 'AWStats and WAMP Installation (Windows)' to Newsvine" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;title=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to Stumble Upon"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/stumbleupon.png" title="Add 'AWStats and WAMP Installation (Windows)' to Stumble Upon" alt="Add 'AWStats and WAMP Installation (Windows)' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;t=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to Yahoo My Web"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/yahoo_myweb.png" title="Add 'AWStats and WAMP Installation (Windows)' to Yahoo My Web" alt="Add 'AWStats and WAMP Installation (Windows)' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://webdevster.com/how-to/awstats-and-wamp-installation-windows&amp;title=AWStats+and+WAMP+Installation+%28Windows%29" title="Add 'AWStats and WAMP Installation (Windows)' to Google Bookmarks"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/google.png" title="Add 'AWStats and WAMP Installation (Windows)' to Google Bookmarks" alt="Add 'AWStats and WAMP Installation (Windows)' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://webdevster.com/how-to/awstats-and-wamp-installation-windows" title="Add 'AWStats and WAMP Installation (Windows)' to Squidoo"><img src="http://webdevster.com/wp-content/plugins/ro-social-bookmarks/squidoo.png" title="Add 'AWStats and WAMP Installation (Windows)' to Squidoo" alt="Add 'AWStats and WAMP Installation (Windows)' to Squidoo" /></a></div>
<!-- RO Social Bookmarks END -->]]></content:encoded>
			<wfw:commentRss>http://webdevster.com/how-to/awstats-and-wamp-installation-windows/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

