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

<channel>
	<title>High Speed Web Blog &#187; Linux</title>
	<atom:link href="http://blog.highspeedweb.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.highspeedweb.net</link>
	<description>Where information gathers to be heard.</description>
	<lastBuildDate>Fri, 03 Sep 2010 17:48:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WHMCS Plugin &#8211; Cacti Statistics</title>
		<link>http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/</link>
		<comments>http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 14:25:29 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[bandwidth monitor]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Cacti Stats]]></category>
		<category><![CDATA[Cactistats]]></category>
		<category><![CDATA[dedicated server billing]]></category>
		<category><![CDATA[HighSpeedWeb]]></category>
		<category><![CDATA[over use]]></category>
		<category><![CDATA[Statistics]]></category>
		<category><![CDATA[switch control]]></category>
		<category><![CDATA[WHMCS]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=383</guid>
		<description><![CDATA[Share this on del.icio.us Digg this! Share this on Facebook Email this to a friend? Stumble upon something good? Share it on StumbleUpon Tweet This!]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/nu6AZbVaEiU&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/nu6AZbVaEiU&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><a href="https://accounting.highspeedweb.net/docs/"><img src="http://blog.highspeedweb.net/wp-content/uploads/2009/10/cactistatsreleasedblog.jpg" alt="CactiStats v1 Released!" title="cactistatsreleasedblog" width="450" height="50" class="size-full wp-image-394" /></a><br />
<span id="more-383"></span><br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/AuAjuiObp3A&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AuAjuiObp3A&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><a href="https://accounting.highspeedweb.net/docs/"><img src="http://blog.highspeedweb.net/wp-content/uploads/2009/10/cactistatsreleasedblog.jpg" alt="CactiStats v1 Released!" title="cactistatsreleasedblog" width="450" height="50" class="size-full wp-image-394" /></a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/&amp;title=WHMCS+Plugin+-+Cacti+Statistics" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/&amp;title=WHMCS+Plugin+-+Cacti+Statistics" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/&amp;t=WHMCS+Plugin+-+Cacti+Statistics" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22WHMCS%20Plugin%20-%20Cacti%20Statistics%22&amp;body=Link: http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/&amp;title=WHMCS+Plugin+-+Cacti+Statistics" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=WHMCS+Plugin+-+Cacti+Statistics+-+http://b2l.me/pgd29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2009/10/15/whmcs-plugin-cacti-statistics/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SSH -X for Windows</title>
		<link>http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/</link>
		<comments>http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 15:12:36 +0000</pubDate>
		<dc:creator>BrettW</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=379</guid>
		<description><![CDATA[Lately I&#8217;ve been experimenting with an application called Xming.  The short and sweet of Xming is that it is a free X windows server for windows.  When you use Xming with PuTTY or any other SSH application capable of X11 forwarding, it allows you to remotely run Linux applications on your local windows workstation. You [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" title="brett" src="http://blog.highspeedweb.net/wp-content/uploads/2009/02/brett.gif" alt="brett" width="50" height="50" /> Lately I&#8217;ve been experimenting with an application called <a href="http://www.straightrunning.com/XmingNotes/" target="_blank">Xming</a>.  The short and sweet of Xming is that it is a free X windows server for windows.  When you use Xming with <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a> or any other SSH application capable of X11 forwarding, it allows you to remotely run Linux applications on your local windows workstation.</p>
<p><span id="more-379"></span></p>
<p>You will need to have access to both a Windows workstation and a Linux workstation with X windows installed, to proceed with this tutorial.  If you do not have a Linux machine handy then download a copy of <a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">Virtual Box</a> and build yourself a virtual machine that runs your favorite flavor of Linux. I personally like Fedora, CentOS, and Ubuntu in that order, but ultimately it doesn&#8217;t matter which distro you choose.</p>
<p>To get started, first download and install <a href="http://sourceforge.net/projects/xming/" target="_blank">Xming</a>.  If you don&#8217;t already have a SSH client installed, then also download and install <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">PuTTY</a>.</p>
<p>Now open up Xlaunch from start, all programs, Xming. Choose multiple windows for this test and click next. Start no client, then click next. Leave clipboard checked and click next. If you want to save this config then click Save configuration, then click finish.</p>
<p>Now open PuTTY. Type the host name or IP address into the top space provided.  Make sure SSH is selected if not select it. Under Saved sessions type a name to lable this connection, and click save. Now in the menu on the left click SSH. Check Enable compression.  Now click the plus sign next to SSH in the left hand menu. Click X11, and check mark Enable X11 forwarding. On the menu scroll back up to the top and click Session. Click Save once more to keep the settings we just made changes to. Now click Open and log into your linux machine with your user name and password.</p>
<p>After you have successfully logged into your linux machine, type the name of a graphical program you like to use. Examples of such are &#8220;firefox&#8221;, &#8220;kwrite&#8221;, and &#8220;konqueror&#8221;.  If you are unsure what the command is for your app I recommend doing a google search for it.</p>
<p>here are some more gui apps that can be launched.</p>
<p>startkde &#8211; opens a full view of the desktop with menus and desktop items. (this one has proved unstable in my tests)</p>
<p>firefox &#8211; opens the firefox browser.</p>
<p>ktorrent &#8211; opens the ktorrent bittorrent app</p>
<p>konqueror &#8211; opens the konqueror web / file browser</p>
<p>most gui apps will open by simply typing the name of the app and pressing enter.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/&amp;title=SSH+-X+for+Windows" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/&amp;title=SSH+-X+for+Windows" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/&amp;t=SSH+-X+for+Windows" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22SSH%20-X%20for%20Windows%22&amp;body=Link: http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %20Lately%20I%27ve%20been%20experimenting%20with%20an%20application%20called%20Xming.%C2%A0%20The%20short%20and%20sweet%20of%20Xming%20is%20that%20it%20is%20a%20free%20X%20windows%20server%20for%20windows.%C2%A0%20When%20you%20use%20Xming%20with%20PuTTY%20or%20any%20other%20SSH%20application%20capable%20of%20X11%20forwarding%2C%20it%20allows%20you%20to%20remotely%20run%20Linux%20applications%20on%20your%20local%20w" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/&amp;title=SSH+-X+for+Windows" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=SSH+-X+for+Windows+-+http://b2l.me/pf874&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2009/09/04/ssh-x-for-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Subversion &#8211; Fixing Missing Dependency: perl(URI)</title>
		<link>http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/</link>
		<comments>http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 19:31:32 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[uri]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=267</guid>
		<description><![CDATA[Without a doubt, the Missing Dependency: perl(URI) error is the most annoying error to run into when doing a quick, so-called painless yum install of subversion. We use subversion here to handle all our source code and when rolling that code out to new servers. So it&#8217;s pretty important that all our Linux servers (all [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" />Without a doubt, the Missing Dependency: perl(URI) error is the most annoying error to run into when doing a quick, so-called painless yum install of subversion. We use subversion here to handle all our source code and when rolling that code out to new servers. So it&#8217;s pretty important that all our Linux servers (all running CentOS) are equipped with subversion. But time and time again, I was running into this problem and finally, through many Google searches, and compiling tips from a variety of sites, found a method that works for us here. Hopefully it works for you too.<br />
<span id="more-267"></span><br />
First, let me show you the exact problem. When you do a yum install subversion, you get something like this:</p>
<pre>
# yum install subversion

Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package subversion.i386 0:1.1.4-2.ent set to be updated
--> Running transaction check
--> Processing Dependency: libneon.so.24 for package: subversion
--> Processing Dependency: libswigpy.so.0 for package: subversion
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package neon.i386 0:0.24.7-4 set to be updated
---> Package swig.i386 0:1.3.21-6 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: libqthreads.so.12 for package: swig
--> Processing Dependency: libguile.so.12 for package: swig
--> Processing Dependency: libguile-ltdl.so.1 for package: swig
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package guile.i386 5:1.6.4-14 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: umb-scheme >= 3.2-21 for package: guile
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package umb-scheme.i386 0:3.2-36.EL4 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Finished Dependency Resolution
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion
</pre>
<p>And instead of yum being smart enough to find that dependency, it just ends. That&#8217;s it. There ain&#8217;t no more. And no search, upgrade or gentle persuasion will change it&#8217;s mind. So, first we get the annoying dependency that it refuses to get:</p>
<pre>
# wget http://rpmfind.net/linux/fedora/releases/7/Everything/x86_64/os/Fedora/perl-URI-1.35-3.noarch.rpm
--10:20:17--  http://rpmfind.net/linux/fedora/releases/7/Everything/x86_64/os/Fedora/perl-URI-1.35-3.noarch.rpm
Resolving rpmfind.net... 194.199.20.114, 195.220.108.108
Connecting to rpmfind.net|194.199.20.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 118607 (116K) [application/x-rpm]
Saving to: `perl-URI-1.35-3.noarch.rpm'

100%[= ... ============================>] 118,607      214K/s   in 0.5s   

10:20:18 (214 KB/s) - `perl-URI-1.35-3.noarch.rpm' saved [118607/118607]
</pre>
<p>That version works for CentOS 5, which is what we use. If you have another version, just find the RPM from <a href="http://rpmfind.net">rpmfind.net</a>. Once that&#8217;s downloaded, you just rpm install it:</p>
<pre>
# rpm -i perl-URI-1.35-3.noarch.rpm
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/lost\+found/.*.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/\.journal.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/local/lost\+found.
warning: perl-URI-1.35-3.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
</pre>
<p>The warning doesn&#8217;t affect anything that I can tell, so it&#8217;s installed and we are now ready to install subversion through yum again!</p>
<pre>
# yum install subversion
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * updates: www.gtlib.gatech.edu
 * addons: mirror.trouble-free.net
 * extras: mirror.trouble-free.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package subversion.i386 0:1.4.2-2.el5 set to be updated
--> Processing Dependency: libneon.so.25 for package: subversion
--> Processing Dependency: libapr-1.so.0 for package: subversion
--> Processing Dependency: libaprutil-1.so.0 for package: subversion
--> Running transaction check
---> Package apr-util.i386 0:1.2.7-7.el5 set to be updated
--> Processing Dependency: libpq.so.4 for package: apr-util
---> Package neon.i386 0:0.25.5-5.1 set to be updated
---> Package apr.i386 0:1.2.7-11 set to be updated
--> Running transaction check
---> Package postgresql-libs.i386 0:8.1.11-1.el5_1.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 subversion              i386       1.4.2-2.el5      base              2.3 M
Installing for dependencies:
 apr                     i386       1.2.7-11         base              122 k
 apr-util                i386       1.2.7-7.el5      base               76 k
 neon                    i386       0.25.5-5.1       base               95 k
 postgresql-libs         i386       8.1.11-1.el5_1.1  base              196 k

Transaction Summary
=============================================================================
Install      5 Package(s)
Update       0 Package(s)
Remove       0 Package(s)         

Total download size: 2.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): apr-1.2.7-11.i386. 100% |=========================| 122 kB    00:00
(2/5): neon-0.25.5-5.1.i3 100% |=========================|  95 kB    00:00
(3/5): apr-util-1.2.7-7.e 100% |=========================|  76 kB    00:00
(4/5): subversion-1.4.2-2 100% |=========================| 2.3 MB    00:01
(5/5): postgresql-libs-8. 100% |=========================| 196 kB    00:00
...
  Installing: apr                          ######################### [1/5]
  Installing: neon                         ######################### [2/5]
  Installing: postgresql-libs              ######################### [3/5]
  Installing: apr-util                     ######################### [4/5]
  Installing: subversion                   ######################### [5/5] 

Installed: subversion.i386 0:1.4.2-2.el5
...
Complete!
</pre>
<p>And we are done! subversion is installed in spite of yum&#8217;s inability to find the appropriate rpms!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/&amp;title=Installing+Subversion+-+Fixing+Missing+Dependency%3A+perl%28URI%29" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/&amp;title=Installing+Subversion+-+Fixing+Missing+Dependency%3A+perl%28URI%29" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/&amp;t=Installing+Subversion+-+Fixing+Missing+Dependency%3A+perl%28URI%29" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Installing%20Subversion%20-%20Fixing%20Missing%20Dependency%3A%20perl%28URI%29%22&amp;body=Link: http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Without%20a%20doubt%2C%20the%20Missing%20Dependency%3A%20perl%28URI%29%20error%20is%20the%20most%20annoying%20error%20to%20run%20into%20when%20doing%20a%20quick%2C%20so-called%20painless%20yum%20install%20of%20subversion.%20We%20use%20subversion%20here%20to%20handle%20all%20our%20source%20code%20and%20when%20rolling%20that%20code%20out%20to%20new%20servers.%20So%20it%27s%20pretty%20important%20that%20all%20our%20" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/&amp;title=Installing+Subversion+-+Fixing+Missing+Dependency%3A+perl%28URI%29" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Installing+Subversion+-+Fixing+Missing+Dependency%3A+perl%28URI%29+-+http://b2l.me/pgb32&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2009/02/13/installing-subversion-fixing-missing-dependency-perluri/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Power of Perl &#8211; Controlling and expanding Cpanel/WHM through the Cpanel/WHM API</title>
		<link>http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/</link>
		<comments>http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 02:39:16 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[cpanel tutorial]]></category>
		<category><![CDATA[if statement]]></category>
		<category><![CDATA[perl documentation]]></category>
		<category><![CDATA[references]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[scripting tutorials]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=248</guid>
		<description><![CDATA[When running a shared hosting environment, it is impossible to stay competitive without the use of some form of control panel. And in the world of linux shared web hosting, no control panel is as widely used as cPanel Inc&#8216;s cPanel/WHM combo. The Cpanel team has put a lot of time and effort into the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" />When running a shared hosting environment, it is impossible to stay competitive without the use of some form of control panel. And in the world of linux shared web hosting, no control panel is as widely used as <a href="http://www.cpanel.net/company/index.htm">cPanel Inc</a>&#8216;s <a href="http://www.cpanel.net/products/cpwhm/cpanel11/index.html" >cPanel/WHM</a> combo. The Cpanel team has put a lot of time and effort into the remote administration of WHM, and through that Cpanel. With a little ingenuity and not much work, really, this API can be extended to include any functions you can imagine, up to and including the system administration of the machine itself. So lets look at the basics thereof.<br />
<span id="more-248"></span><br />
For this example I am going to use perl, for several very good reasons. The first is that 96% (roughly) of cPanel/WHM is programmed in perl and sits in uncompiled files that we can use for reference. Secondly, perl is inherently a system administration language and therefore gives us much more native system functionality, not to mention its powerful regular expression engine. And, lastly, I choose perl because the heart of this entire process is already done for us by cPanel themselves and available for download as a perl package <a href="http://cream.highspeedweb.net/Accounting.pm">here</a>.</p>
<p>If you look through the package, you will see that it already has quite a bit of functionality built in. In fact, it really has most everything you would need to automate the web hosting process. However that&#8217;s not enough for us, we want more! </p>
<p>The first thing we are going to want to edit is the new subroutine in the Accounting package. You can see it is stubbed out already:</p>
<pre>
sub new {
    my ($host);
    my ($user);
    my ($accesshash);
    my ($error);
    my ($usessl);
    my ($timeout) = 300;
    my $self = {};

    bless($self);

    return ($self);
}
</pre>
<p>This function is going to need to establish 4 things that we will use for the API calls. First, a host name. Simple enough. Second, a user. Generally, this is root, though it can be just about anyone with WHM access. Third, an accesshash. This can be found in the user we specified&#8217;s home directory in a text file called .accesshash. If one doesn&#8217;t exist, login to WHM through the web interface (https://yoursever:2087/ and goto the remote access hash link and it will generate and create said text document. Finally, we need to know whether or not to use SSL to communicate. There are very few times when you want that to be no.</p>
<p>My changed new subroutine looks something like this:</p>
<pre>
sub new {
    my $class = shift;
    my $name = shift;
    my $user = shift;
    my $accesshash = shift;
    my $usessl = shift;
    my $self = {
       host => $name,
       user => $user,
       accesshash => $accesshash,
       error => "",
       usessl => $usessl,
       timeout => 300
    };
    bless($self, $class);
    return ($self);
}
</pre>
<p>This is an overly simplified example of a possible solution. In my production code, I use a <a href="http://search.cpan.org/~tmtm/Class-DBI-0.96/lib/Class/DBI.pm">Class::DBI</a> based class to pull the info I need from a database and pass it into here where this subroutine extracts the information it needs. Pretty easy, isn&#8217;t it?</p>
<p>Next we create a stub program to use the package we just edited.</p>
<pre>
#! /usr/bin/perl -w

use lib "/usr/local/hsw/libs/";
use C::Accounting;
use Data::Dump;

my $name = shift @ARGV || "server1";
my $func = shift @ARGV || "listxmlapps";

open(AHASH, "/root/.accesshash");
my @access = <AHASH>;
close AHASH;
my $accesshash = join("\n", @access);

my $whm = C::Accounting($name.".mydomain.com", "root", $accesshash, 1);
print "Running ".$func." on ".$name." with ".join(" ", @ARGV)."\n";
my $t;
eval '$t = $whm->'.$func.'(@ARGV)'; # If you have a better way of doing
                                    # this, please let me know!
if($@) { print "ERROR : ".$@."\n"; }
if($s->{error} ne "") { print "ERROR : ".$s->{error}."\n"; }
Data::Dump->dump([[$t]]);
</pre>
<p>So here we take the first two arguments passed in on ARGV, and assign them to the host and a function for us to run on it. We get the access hash from root&#8217;s home directory then we create an Accounting object. I use eval to run the function that was passed in on Accounting object and pass it in what is left in ARGV, if anything. We do some error checking and display them if they exist, then I used Data::Dump to result to the screen. Simple, but it gives us what we need to see the API at work.</p>
<p>If we run this from the commandline, we get something like this:</p>
<pre>
-bash-3.2# ./testnsclient
Running listxmlapps on server1 with
(
  "C::Dump",
  [
    [
      {
        app => [
                 "adddns",
                 "addip",
                 "applist",
                 "delip",
                 "dumpzone",
                 "fetchsslinfo",
                 "gethostname",
                 "getlanglist",
                 "killdns",
                 "listacls",
                 "listcrts",
                 "listips",
                 "listzones",
                 "loadavg",
                 "lookupnsip",
                 "myprivs",
                 "nvget",
                 "nvset",
                 "passwd",
                 "reboot",
                 "restartservice",
                 "sethostname",
                 "setresolvers",
                 "version",
               ],
      },
    ],
  ],
)
</pre>
<p>By throwing in a few arguments, we run a different function:</p>
<pre>
-bash-3.2# ./testnsclient server1 loadavg
Running loadavg on server1 with
(
  "C::Dump",
  [[{ fifteen => "0.14", five => "0.18", one => "0.17" }]],
)
</pre>
<p>So awesome!  Now what if we want to expand on this to do something cPanel doesn&#8217;t natively do? Suppose we wanted more information than what the loadavg command just gave us? Well, we need to goto the cPanel server itself. We navigate to /usr/local/cpanel/whostmgr/docroot and create a directory in there for our functions. We could create files directly in the docroot, but we don&#8217;t want our stuff interfering with cPanel&#8217;s, nor vice versa. I called mine hsw. In there, let&#8217;s create a file called load.cgi and put this inside:</p>
<pre>
#! /usr/bin/perl -w

use strict;
use CGI;

my $q = new CGI;
print $q->header();
open(ME, "|-", "cat /proc/loadavg");
while(<ME>)
{
  print $_;
}
</pre>
<p>Chmod the file to be 755 and run it, it gives this:</p>
<pre>
-bash-3.2# ./load.cgi
Content-Type: text/html; charset=ISO-8859-1

0.28 0.18 0.15 2/96 12631
</pre>
<p>Great! So that works. Now we head back to our C::Accounting package and we add a function to handle this new functionality.</p>
<pre>
sub load
{
    my ($self) = @_;
    my (%PKGS);

    my (@PAGE) = $self->whmreq("/hsw/load.cgi");

    if ( $self->{error} ne "" ) { return (); }

    foreach $_ (@PAGE) {
        s/\n//g;
        my @contents = split(/\s/, $_);
        $PKGS{"1min"}    = $contents[0];
        $PKGS{"5min"}    = $contents[1];
        $PKGS{"15min"}   = $contents[2];
        my @procs = split(/\//, $contents[3]);
        $PKGS{"running"} = $procs[0];
        $PKGS{"total"}   = $procs[1];
        $PKGS{"lastPID"} = $contents[4];
    }
    return \%PKGS;
}
</pre>
<p>So we run the subroutine whmreq with the path to our script as an argument. We are given back an array of lines that were returned. We simply parse that out and assign the information to appropriate indexes in a hash table. We then pass the reference of the hash back. By running our stub-app, we get the following:</p>
<pre>
-bash-3.2# ./testnsclient server1 load
Running load on server1 with
(
  "C::Dump",
  [
    [
      {
        "15min" => "0.10",
        "1min"  => "0.07",
        "5min"  => "0.13",
        lastPID => 21897,
        running => 1,
        total   => 89,
      },
    ],
  ],
)
</pre>
<p>Well, that gives you the basics you need to expand the capability of cPanel/WHM&#8217;s API to include your own functionality and subroutines. Now you can get your cpanel/WHM boxes, even the DNS Only versions, to do anything that perl can do&#8230; remotely and programmatically. </p>
<p>This is a very powerful tool, use it wisely.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/&amp;title=Power+of+Perl+-+Controlling+and+expanding+Cpanel%2FWHM+through+the+Cpanel%2FWHM+API" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/&amp;title=Power+of+Perl+-+Controlling+and+expanding+Cpanel%2FWHM+through+the+Cpanel%2FWHM+API" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/&amp;t=Power+of+Perl+-+Controlling+and+expanding+Cpanel%2FWHM+through+the+Cpanel%2FWHM+API" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Power%20of%20Perl%20-%20Controlling%20and%20expanding%20Cpanel%2FWHM%20through%20the%20Cpanel%2FWHM%20API%22&amp;body=Link: http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A When%20running%20a%20shared%20hosting%20environment%2C%20it%20is%20impossible%20to%20stay%20competitive%20without%20the%20use%20of%20some%20form%20of%20control%20panel.%20And%20in%20the%20world%20of%20linux%20shared%20web%20hosting%2C%20no%20control%20panel%20is%20as%20widely%20used%20as%20cPanel%20Inc%27s%20cPanel%2FWHM%20combo.%20The%20Cpanel%20team%20has%20put%20a%20lot%20of%20time%20and%20effort%20into%20the%20" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/&amp;title=Power+of+Perl+-+Controlling+and+expanding+Cpanel%2FWHM+through+the+Cpanel%2FWHM+API" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Power+of+Perl+-+Controlling+and+expanding+Cpanel%2FWHM+through+the+Cpanel%2FWHM+API+-+http://b2l.me/pjb6q&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2009/02/11/power-of-perl-controlling-and-expanding-cpanelwhm-through-the-cpanelwhm-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging Perl on Linux &#8211; Just __END__ it now! &lt;DATA&gt; it later.</title>
		<link>http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/</link>
		<comments>http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 20:05:13 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[perl documentation]]></category>
		<category><![CDATA[references]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[scripting tutorials]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=219</guid>
		<description><![CDATA[The art of debugging differs, some, with each language and it&#8217;s specific tools. Perl provides an interesting challenge to programmers since it, like most linux-originating languages, has no real IDE wherein it can be debugged step by step with breakpoints and like methodologies. Instead, the perl programmer must resort to using print statements, logging mechanisms, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" />The art of debugging differs, some, with each language and it&#8217;s specific tools. Perl provides an interesting challenge to programmers since it, like most linux-originating languages, has no real IDE wherein it can be debugged step by step with breakpoints and like methodologies. Instead, the perl programmer must resort to using print statements, logging mechanisms, and then there is the __END__.<br />
<span id="more-219"></span><br />
The __END__ directive does just what you would think it would do: stops execution of the perl script. This can be handy in a few ways, but first let&#8217;s see it in action:<br />
<code><br />
#!/usr/bin/perl -w</p>
<p>print "This is line one!\n";<br />
print "This is line two!\n";<br />
__END__<br />
print "This is like three but is never executed\n";<br />
this doesn't even have to be code cause<br />
it never gets interpreted as code.<br />
</code><br />
Run that and you will get:<br />
<code><br />
% ./test.pl<br />
This is line one!<br />
This is line two!<br />
%<br />
</code><br />
As you can see, the __END__ directive must be alone on its own line, with nothing before it. It&#8217;s picky that way. Don&#8217;t upset the __END__ or it won&#8217;t do it&#8217;s job. </p>
<p>The most obvious usage for the __END__ is cutting execution short so as to debug the top portions of the script before adding in the lower half. It doesn&#8217;t matter, either, if there are syntax errors in the lower portion since it won&#8217;t be parsed as code. How cool is that!?</p>
<p>The second use for __END__ is to include data within the code file. Though not generally a best practice, it has it&#8217;s uses in times and in seasons.  You access the data under the __END__ directive through the <DATA> file handler, like so:<br />
<code><br />
#!/usr/bin/perl -w<br />
$words = 0;<br />
$chars = 0;<br />
while(<DATA>)<br />
{<br />
  $words += split;<br />
  $chars += length;<br />
}<br />
print "Characters : $chars\n";<br />
print "Words : $words\n";<br />
print "Lines : $.\n";<br />
__END__<br />
This is a bit of text designed to show<br />
the concept of data underneath<br />
the code in Perl using the __END__<br />
directive and the DATA file handler.<br />
</code><br />
And when you run this you get:<br />
<code><br />
% ./test.pl<br />
Characters : 142<br />
Words : 27<br />
Lines : 4<br />
%<br />
</code><br />
So there you have it! Now you too can use the __END__ to justify your means!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/&amp;title=Debugging+Perl+on+Linux+-+Just+__END__+it+now%21+%26lt%3BDATA%26gt%3B+it+later." rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/&amp;title=Debugging+Perl+on+Linux+-+Just+__END__+it+now%21+%26lt%3BDATA%26gt%3B+it+later." rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/&amp;t=Debugging+Perl+on+Linux+-+Just+__END__+it+now%21+%26lt%3BDATA%26gt%3B+it+later." rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Debugging%20Perl%20on%20Linux%20-%20Just%20__END__%20it%20now%21%20%26lt%3BDATA%26gt%3B%20it%20later.%22&amp;body=Link: http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A The%20art%20of%20debugging%20differs%2C%20some%2C%20with%20each%20language%20and%20it%27s%20specific%20tools.%20Perl%20provides%20an%20interesting%20challenge%20to%20programmers%20since%20it%2C%20like%20most%20linux-originating%20languages%2C%20has%20no%20real%20IDE%20wherein%20it%20can%20be%20debugged%20step%20by%20step%20with%20breakpoints%20and%20like%20methodologies.%20Instead%2C%20the%20perl%20pr" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/&amp;title=Debugging+Perl+on+Linux+-+Just+__END__+it+now%21+%26lt%3BDATA%26gt%3B+it+later." rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Debugging+Perl+on+Linux+-+Just+__END__+it+now%21+%26lt%3BDATA%26gt%3B+it+later.+-+http://b2l.me/pgw9g&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2009/01/28/debugging-perl-on-linux-just-__end__-it-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 to kill Linux; Linux to retaliate and firebomb Windows 7</title>
		<link>http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/</link>
		<comments>http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 22:01:10 +0000</pubDate>
		<dc:creator>jakob</dc:creator>
				<category><![CDATA[Geek Rant]]></category>
		<category><![CDATA[General Tech Info]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thrifty Computing]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=138</guid>
		<description><![CDATA[It&#8217;s the same old story every year: Linux will finally dominate Windows, Windows will finally kill off that pesky open-source Linux. My dad&#8217;s better than your dad; my mashed potatoes can beat-up your mashed potatoes. The truth simply is it&#8217;s not going to pan out like that. Linux will still dominate the server world and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/uploads/2008/11/deathmatchposter2.jpg" alt="" width="75" height="25" />It&#8217;s the same old story every year: Linux will finally dominate Windows, Windows will finally kill off that pesky open-source Linux. My dad&#8217;s better than your dad; my mashed potatoes can beat-up your mashed potatoes.  The truth simply is it&#8217;s not going to pan out like that.  Linux will still dominate the server world and Windows will still dominate the desktop world (and if you think vista&#8217;s failing is a sign of Microsoft&#8217;s slipping, I kindly ask you to remember Windows ME followed by the popularity of XP).  So what&#8217;s new to the battle front? Well, honestly, it&#8217;s not really &#8216;new&#8217; it&#8217;s just what people are talking about these days. &#8216;Netbooks&#8217;. And I highly doubt it will be some epic battle of Good Vs. Evil, either.<span id="more-138"></span></p>
<p>Approximately 30% of all netbooks shipped have Linux installed on them.  That&#8217;s great, there&#8217;s many good reasons to put Linux on a netbook.  The biggest is Linux runs much smoother with less hardware than windows does.  Linux can also do anything windows can do (for the most part), but here&#8217;s the difference &#8211; there&#8217;s a learning curve.  Sure some &#8216;average consumer&#8217; might be willing to try Linux on a netbook, but that does not equate to a full OS rebuild on a desk-top.  It may convert some, but it may also remind a few why they have Windows installed in the first place &#8211; they&#8217;re already comfortable with what they know.</p>
<p>Windows 7 will not kill off Linux.  Nor will server 2008.  Nor will any other distribution of Windows.  Most Linux distributions are free, stable, and secure which keep costs down and everything running smoothly.   Gone (for the most part here) are the days of searching for drivers all day.  Heck, sometimes it&#8217;s harder to find drivers for Vista.  While Linux isn&#8217;t for everyone, it&#8217;s definitely not going anywhere anytime soon and it&#8217;s definitely not going to loose much, if any, of its server footing.</p>
<p>I, personally, use both.  Linux more-so, especially with the addition of a linux workstation at my home, than Windows &#8211; but they both have their places/faults/features.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/&amp;title=Windows+7+to+kill+Linux%3B+Linux+to+retaliate+and+firebomb+Windows+7" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/&amp;title=Windows+7+to+kill+Linux%3B+Linux+to+retaliate+and+firebomb+Windows+7" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/&amp;t=Windows+7+to+kill+Linux%3B+Linux+to+retaliate+and+firebomb+Windows+7" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Windows%207%20to%20kill%20Linux%3B%20Linux%20to%20retaliate%20and%20firebomb%20Windows%207%22&amp;body=Link: http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A It%27s%20the%20same%20old%20story%20every%20year%3A%20Linux%20will%20finally%20dominate%20Windows%2C%20Windows%20will%20finally%20kill%20off%20that%20pesky%20open-source%20Linux.%20My%20dad%27s%20better%20than%20your%20dad%3B%20my%20mashed%20potatoes%20can%20beat-up%20your%20mashed%20potatoes.%20%20The%20truth%20simply%20is%20it%27s%20not%20going%20to%20pan%20out%20like%20that.%20%20Linux%20will%20still%20dominat" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/&amp;title=Windows+7+to+kill+Linux%3B+Linux+to+retaliate+and+firebomb+Windows+7" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Windows+7+to+kill+Linux%3B+Linux+to+retaliate+and+firebomb+Windows+7+-+http://b2l.me/pg7ht&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2008/12/23/windows-7-to-kill-linux-linux-to-retaliate-and-firebomb-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloning drives for free, no matter the operating system.</title>
		<link>http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/</link>
		<comments>http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 22:17:39 +0000</pubDate>
		<dc:creator>jakob</dc:creator>
				<category><![CDATA[General Tech Info]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thrifty Computing]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[free cloning]]></category>
		<category><![CDATA[free ghosting]]></category>
		<category><![CDATA[Gparted]]></category>
		<category><![CDATA[lunix cloning]]></category>
		<category><![CDATA[mac cloning]]></category>
		<category><![CDATA[pure awesome]]></category>
		<category><![CDATA[windows 2003]]></category>
		<category><![CDATA[windows cloning]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=114</guid>
		<description><![CDATA[Pretend you&#8217;ve got 5 identical windows 2003 servers (or any server for that matter &#8211; cent os, windows 2003, 2008, and mac os even!) to setup in one work shift. Why break your back trying to install them one at a time on top of doing all the updates? You can just do one base [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/uploads/2008/11/gparted_logo3.png" alt="" width="50" height="50" /> Pretend you&#8217;ve got 5 identical windows 2003 servers  (or any server for that matter &#8211; cent os, windows 2003, 2008, and mac os even!) to setup in one work shift.  Why break your back trying to install them one at a time on top of doing all the updates?  You can just do one base install and &#8216;ghost&#8217; the drive.  &#8220;That&#8217;s expensive&#8221;, you might proclaim!  Not so &#8211; in fact, I&#8217;ll let you in on a little secret &#8211; Gparted.  Why spend $700 on cloning software when you can just do the same job for free?  Yeah, free!  Free as the air you&#8217;re breathing right now (unless you&#8217;re in space, reading from the ocean, or maybe reading from Mt. Everest).<br />
<span id="more-114"></span></p>
<p>First things first &#8211; you&#8217;ll need a copy of <a href="http://sourceforge.net/project/downloading.php?group_id=115843&amp;use_mirror=internap&amp;filename=gparted-live-0.3.9-4.iso&amp;80601478">Gparted</a>!  That&#8217;s the iso version, burn it to a cd.  Make sure you have the drive you want to clone and an empty drive connected to the same machine (the size of the drive does not matter, unless the data you&#8217;re cloning is larger than the space of the disc)  and boot to your gparted cd.  Before Gparted starts, you&#8217;ll need to choose a few options, I&#8217;ve personally found the defaults to work just fine every time I&#8217;ve used Gparted.  Follow the on-screen directions.  Once Gparted launches, you&#8217;ll see your master drive.  Select it and choose the copy option.  Switch to your secondary drive choose paste.  You&#8217;ll be greeted with two warnings, click Ok through those and choose paste again.  Apply your action.  Once the data is copied over, you&#8217;ll need to mark the flag to &#8216;bootable&#8217; (right click option).  Bada-boom, bada-bing, you just cloned your drive.  Remove the secondary drive and place it in another machine and watch it boot right up!  Pat yourself on the back for saving a few hundred dollars!  Now, of course, if you&#8217;re doing this with windows, you&#8217;ll need to use the same hardware if possible, to avoid a repair and you may need to re-register your copy with Microsoft.  If you have a volume license key, and the same hardware, you&#8217;ll have no issues with ghosting the drive using gparted.  All updates, accounts, settings, etc, etc will be copied over &#8211; it&#8217;s a true clone.  Linux, as always, doesn&#8217;t really care, as long as the new hardware is supported.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/&amp;title=Cloning+drives+for+free%2C+no+matter+the+operating+system.+" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/&amp;title=Cloning+drives+for+free%2C+no+matter+the+operating+system.+" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/&amp;t=Cloning+drives+for+free%2C+no+matter+the+operating+system.+" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Cloning%20drives%20for%20free%2C%20no%20matter%20the%20operating%20system.%20%22&amp;body=Link: http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A %20Pretend%20you%27ve%20got%205%20identical%20windows%202003%20servers%20%20%28or%20any%20server%20for%20that%20matter%20-%20cent%20os%2C%20windows%202003%2C%202008%2C%20and%20mac%20os%20even%21%29%20to%20setup%20in%20one%20work%20shift.%20%20Why%20break%20your%20back%20trying%20to%20install%20them%20one%20at%20a%20time%20on%20top%20of%20doing%20all%20the%20updates%3F%20%20You%20can%20just%20do%20one%20base%20install%20and%20%27ghost%27%20t" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/&amp;title=Cloning+drives+for+free%2C+no+matter+the+operating+system.+" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Cloning+drives+for+free%2C+no+matter+the+operating+system.++-+http://b2l.me/phmqa&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2008/11/04/cloning-drives-for-free-no-matter-the-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Web Sites for Profit and Fun &#8211; Tools of the Trade</title>
		<link>http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/</link>
		<comments>http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 23:41:07 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[paint shop pro]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[swish]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[xsite pro]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=107</guid>
		<description><![CDATA[Every trade has it&#8217;s tools and web development is no exception. It has quite a few in fact. Throughout the years of doing web development I have used many different tools and have settled on a core group of half a dozen or so. It is definitely worth your while examining those I recommend, and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" />Every trade has it&#8217;s tools and web development is no exception. It has quite a few in fact. Throughout the years of doing web development I have used many different tools and have settled on a core group of half a dozen or so. It is definitely worth your while examining those I recommend, and possible a few that will receive honorable mention here. While it&#8217;s true that tools don&#8217;t make talent, they certainly speed it along!<br />
<span id="more-107"></span><br />
In the realm of Web development, there are four general categories of tools you will need to have at your disposal. The first, and I think the funnest, is graphics.</p>
<h3>Graphics</h3>
<p><a href="http://www.anrdoezrs.net/click-3212800-10550978" target="_blank"><b>Photoshop</b></a> &#8211; If you have dealt with graphics at all, you have heard of photoshop. Everyone uses it. Everyone loves it. There are tons and tons of tutorials online for photoshop. There are also tons and tons of downloads for it like plugins and brushes. If you can afford it, buy it and skip to the next section. Can&#8217;t afford it? Try ebay or craigslist for an older copy. Still can&#8217;t? Read on.<br/><br />
<b>Paint Shop Pro</b> &#8211; This is where I first started when I began messing around with graphics. It&#8217;s a fun program, but at the time, lacked the depth and breadth that photoshop has. That may have changed, I don&#8217;t know, but another thing to consider is the amount of tutorials for photoshop as opposed to paint shop pro. Also the amount of tools, brushes, vector graphics and such. But paint shop pro is a might bit cheaper, so if you have the money, but not enough for an old copy of photoshop, here is a good place to start.</p>
<p><b><a href="http://www.gimp.org/" target="_blank" >The Gimp</a></b> &#8211; For the truly poor and those who wish to &#8220;stick it to the &#8216;man&#8217;&#8221;, there is, as always, the free and open source version. The Gimp, when I first used it, was as annoying to work with as it was awkward to learn. To be fair, I ran across it after I was well into my Photoshop 7 days, so it didn&#8217;t stand much of a chance. Also, the open source community has come a long way since then and in general they have become MUCH more user friendly. The Gimp is worth giving a day in court for those who can&#8217;t do one of the other two options.</p>
<h3>Code editors</h3>
<p><b>Visual Studio 2008</b> &#8211; The main feature I like about Visual Studio 2008 is intellisense, Microsoft&#8217;s intelligent guess-what-you-are-typing feature. It is actually remarkably helpful since it can be tough remembering all the exact syntax for all HTML, CSS, and javascript. At the time I started using it, no other product had that, though I am sure someone somewhere has picked it up. Another reason I use it is because I do C# and Windows development as well and so for the sake of space and tools consolidation, I use it for my html and CSS design too. However, it carries a HEFTY price tag (Bill Gates needs his money) and so I generally do not recommend it unless you REALLY need it. You are probably better off saving the money and going with one of the cheaper options below.</p>
<p><b><a href="http://www.tkqlhce.com/click-3212800-10576833">Dreamweaver</a></b> &#8211; Ah, Adobe&#8217;s Dreamweaver&#8230; This I would definitely recommend and it&#8217;s what I used before I started doing Windows development as well. Definitely worth the money Adobe asks for it (which isn&#8217;t much, really). It has great features, solid design, and easy to learn. I loved it. And now, with the recent flash integrations they put in, I find myself using it for some of my fast-dirty flash tasks too, particularly video integration. Always very solid, like everything Adobe.</p>
<p><b><a href="http://www.xsitepro.com/index_r.html?p=jay&#038;w=features" target="_blank">XSite Pro</a></b> &#8211; This one really surprised me when I first tried it out. I thought it would be fairly novice oriented, and it is, and that I would have no use for it. Come to find out, it does a lot of the SEO things and mundane linking, sitemaps, and things that I would rather not waste my time on. It&#8217;s great for doing small sites fast! Recently, our company has started offering 5 page sites for $500 and they have become quite popular. Well, since I don&#8217;t do crap work, even a 5 page site once I design the look and feel, create the template, generate keywords for all the pages, etc takes a day or two at least, if I can JUST work on that one project. Once I got this program, I whipped out three such sites in an afternoon. Paid for itself right there. So if you don&#8217;t like to stress the mundane parts of building small sites, get this.</p>
<p><b>Notepad!</b> &#8211; Believe it or not, for FAST quick changes, nothing beats notepad to date. When you just need to change something simple and stupid, notepad it! I guess vi would be the unix commandline equivalent. I use both regularly. Sometimes simplicity and speed beats the fancy features.</p>
<p><b>Frontpage</b> &#8211; I mention frontpage here not as a recommendation, but as a warning. USE NOT FRONTPAGE! Why? </p>
<ol>
<li>Microsoft discontinued it.</li>
<li>They did so because it is more of a pain than it&#8217;s worth.
<ul>
<li>Frontpage extensions fail OFTEN.</li>
<li> Frontpage uses syntax that, often times, are ONLY compatible with Internet Explorer (doesn&#8217;t that sound like Microsoft?)</li>
<li>It&#8217;s not nearly as good as Dreamweaver and is not much different in price</li>
<ul></li>
</ol>
<p>Microsoft has come out with Web Expressions as Frontpage&#8217;s successor, and honestly, I haven&#8217;t messed with it much. Maybe someone who has can let us know if it is any good, but in my opinion, Microsoft really dropped the ball with Frontpage. Avoid it.</p>
<h3>Test Server</h3>
<p>In order to really do development, you must have a test server to play with. No two ways about it. Don&#8217;t cry because you looked at the prices of dedicated servers around the net, you don&#8217;t have to be THAT fancy. There are other options.</p>
<p><b>Your Own Home Server</b> &#8211; This is how I started out. Take that old P3 you have stashed in the closet, you know&#8230; the one you have been holding onto cause you just KNOW it will come in handy sometime&#8230; well it&#8217;s day has come! Throw a flavor of linux on it (I prefer CentOS since it better mimics most real-world server environments), setup apache, php, and mysql and BAM! You have a test server! </p>
<p><b><a href="http://www.highspeedweb.net/v2/netrockvps.html" target="_blank">Get a Cheap VPS</a></b> &#8211; Setting up your server sound too hard? Or maybe you need to develop for several flavors of linux or even windows and don&#8217;t want to setup multiple test boxes each time you need to switch? VPS (Virtual Private Servers) are dirt cheap these days. For the price, it&#8217;s worth grabbing one or two.</p>
<p><b><a href="http://www.hostmo.com" target="_blank">Free Hosting Accounts</a></b> &#8211; Certainly not ideal, but workable, are free web hosting accounts. Usually they aggregate headers and/or footers, but what the heck, it&#8217;s free! And if you are just starting out, it can be a way to cut some costs while you pound out a few sites.</p>
<h3>Browsers</h3>
<p>Unlike the other categories, this one you will need ALL of the below items at least. And also unlike the other categories, all these are free. It is essential in this day and age to be cross-browser compatible in your coding. To be sure you are, you will need &#8230; the browsers that will render your code&#8230; at least the most popular ones.</p>
<p><b>Internet Explorer</b> &#8211; Unfortunately, you can&#8217;t ignore the fact that most of your viewers will probably be using IE. Get it. If only to check compatibility with it. IE has some quirks about some of the newer XHTML syntaxes so it really needs to be looked at before going live on a site.</p>
<p><b>Firefox</b> &#8211; Firefox has some quirks to how it displays certain things as well, so don&#8217;t pass it up either. Also, there are some EXCELLENT firefox plugins that in invaluable when debugging javascript, cookies, and CSS. Get it, download the Web Developer Toolbar, the Google toolbar, the StumbleUpon toolbar (for Marketing [trust me, it works]), and firebug at least. They will save you tons of time and headache once you start getting into the fine points of web development.</p>
<p><b>Google Chrome</b> &#8211; Honestly, I haven&#8217;t yet found an instance where a site displays well in firefox and IE and NOT in chrome. However, that&#8217;s not to say that it won&#8217;t. Chrome is built of the same engine as Safari, the main Macintosh browser. Mostly though, I have it for the speed. It&#8217;s faster than IE and firefox at blunt browsing. Check it out.</p>
<h3>Optionally, Flash</h3>
<p>Flash is increasingly becoming important in the realm of web development. It&#8217;s a great tool and should be used when it can enhance the site. There are really only two tools that come to mind for flash.</p>
<p><b><a href="http://www.jdoqocy.com/click-3212800-10570534" target="_blank">Adobe Flash</a></b> &#8211; This is what I use and what I recommend, provided again that you can afford the price tag. It&#8217;s fairly simple to use, very powerful and flexible, and there are, again, TONS of online resources available to help you out along the way.</p>
<p><b><a href="http://www.swishzone.com" target="_blank">Swish Animation</a></b> &#8211; Swish does quite a few things fast and dirty. It started out as more of a &#8220;do a few canned things fast&#8221; piece of software and from there evolved. So it does certain things that would take a while to do in Flash quickly. The down side is that, last I checked, the two weren&#8217;t compatible at all. You stick with one. But if Swish will do what you need, check it out.</p>
<p>Well, that is about it for the main tools of the trade for a web developer. Now, armed with the right tools, you can start tinkering around with concepts and ideas. The more you do so, the better you will get. The world is never going to run out of the demand for developers, so keep at it!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/&amp;title=Building+Web+Sites+for+Profit+and+Fun+-+Tools+of+the+Trade" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/&amp;title=Building+Web+Sites+for+Profit+and+Fun+-+Tools+of+the+Trade" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/&amp;t=Building+Web+Sites+for+Profit+and+Fun+-+Tools+of+the+Trade" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Building%20Web%20Sites%20for%20Profit%20and%20Fun%20-%20Tools%20of%20the%20Trade%22&amp;body=Link: http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Every%20trade%20has%20it%27s%20tools%20and%20web%20development%20is%20no%20exception.%20It%20has%20quite%20a%20few%20in%20fact.%20Throughout%20the%20years%20of%20doing%20web%20development%20I%20have%20used%20many%20different%20tools%20and%20have%20settled%20on%20a%20core%20group%20of%20half%20a%20dozen%20or%20so.%20It%20is%20definitely%20worth%20your%20while%20examining%20those%20I%20recommend%2C%20and%20possib" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/&amp;title=Building+Web+Sites+for+Profit+and+Fun+-+Tools+of+the+Trade" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Building+Web+Sites+for+Profit+and+Fun+-+Tools+of+the+Trade+-+http://b2l.me/pj88m&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2008/10/23/building-web-sites-for-profit-and-fun-tools-of-the-trade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cr0wnd</title>
		<link>http://blog.highspeedweb.net/2008/10/03/cr0wnd/</link>
		<comments>http://blog.highspeedweb.net/2008/10/03/cr0wnd/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 21:50:41 +0000</pubDate>
		<dc:creator>jakob</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=99</guid>
		<description><![CDATA[Maybe this will save you some headaches &#8211; if you&#8217;re tailing your cron log (tail -f /var/log/cron) and find a bunch of &#8220;account expired&#8221; records and you know that specific account is not expired, this might help. Try suspending and unsuspending the account. Still no go? This is a rare and very odd issue we [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe this will save you some headaches &#8211; if you&#8217;re tailing your cron log (tail -f /var/log/cron) and find a bunch of &#8220;account expired&#8221; records and you know that specific account is not expired, this might help.   Try suspending and unsuspending the account.  Still no go?  This is a rare and very odd issue we ran into, but you may want to check (especially if you&#8217;re receiving these errors after repartitioning hard drive space) the crond file itself in /etc/pam.d.  In this case it was blanked-out after repartitioning some drive space.  If it is blanked out, it will revert to  /etc/pam.d/other &#8211; which be default, in most cases, is deny.  A quick and easy fix is to copy the entires in SSHD &#8211; save and restart crond.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2008/10/03/cr0wnd/&amp;title=cr0wnd" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2008/10/03/cr0wnd/&amp;title=cr0wnd" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2008/10/03/cr0wnd/&amp;t=cr0wnd" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22cr0wnd%22&amp;body=Link: http://blog.highspeedweb.net/2008/10/03/cr0wnd/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Maybe%20this%20will%20save%20you%20some%20headaches%20-%20if%20you%27re%20tailing%20your%20cron%20log%20%28tail%20-f%20%2Fvar%2Flog%2Fcron%29%20and%20find%20a%20bunch%20of%20%22account%20expired%22%20records%20and%20you%20know%20that%20specific%20account%20is%20not%20expired%2C%20this%20might%20help.%20%20%20Try%20suspending%20and%20unsuspending%20the%20account.%20%20Still%20no%20go%3F%20%20This%20is%20a%20rare%20and%20very%20od" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2008/10/03/cr0wnd/&amp;title=cr0wnd" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=cr0wnd+-+http://b2l.me/pm4r7&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2008/10/03/cr0wnd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails &#8211; Tutorial 1 &#8211; Creating a Rails Project</title>
		<link>http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/</link>
		<comments>http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 21:23:36 +0000</pubDate>
		<dc:creator>Jay Ward</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.highspeedweb.net/?p=80</guid>
		<description><![CDATA[I heard about Rails back when I was a programmer at BlueHost / Hostmonster since they are one of the &#8220;preferred&#8221; web hosting companies for Ruby on Rails type applications. There weren&#8217;t very many clients who used it, but when questions came in about it, I always seemed to be approached with them. I guess [...]]]></description>
			<content:encoded><![CDATA[<p><img class="left" src="http://blog.highspeedweb.net/wp-content/themes/darkwater-11/images/jay.gif" alt="" width="50" height="50" />I heard about Rails back when I was a programmer at BlueHost / Hostmonster since they are one of the &#8220;preferred&#8221; web hosting companies for Ruby on Rails type applications. There weren&#8217;t very many clients who used it, but when questions came in about it, I always seemed to be approached with them. I guess tech support people think that if you are generally willing to help them out and you know a programming language, you know them all. Well, I eventually got sick of saying I don&#8217;t know and got some basic knowledge going of Ruby on Rails, and was pleasantly surprised!<br />
<span id="more-80"></span><br />
Ruby on rails is probably one of the best kept secrets in the world of Object Oriented Programming in a web world. And I am still not sure why it is kept a secret. I guess they figure that it will remain an elite language if they do that. Well, I disagree and so decided to give you the basics of this great language and framework.</p>
<p>I am going to assume you have already installed ruby, gems, and rails. If you have not, Google would be overjoyed to provide you with a plethora of commands, download locations, and configuration instructions for any architecture you wish to run ruby and rails on. I am furthermore going to assume you are using a database. I myself am doing this on CentOS 5 with MySQL 4.1.22 and Ruby 1.8.6 running Rails 2.1.0. I don&#8217;t imagine that that would be too far from the &#8220;norm&#8221; in the Ruby community. Well, so much for the preliminaries, now on to the main event</p>
<p>Installing a skeleton rails application is really quite simple. Using the rails command is quite simple and fairly straight forward. You can see the help for it by typing </p>
<pre>
# rails --help
</pre>
<p>Basically, you type in rails [path to wherever you want your rails app to be] &#8211;[whatever options you want]. My demo was created like so:</p>
<pre>
rails /home/jay/railstest --database=mysql
</pre>
<p>So I put the gave it the path to where I wanted my rails app to be (/home/jay/railstest) and told it which database I wanted to use (&#8211;database=mysql). There are some other options, take a look at rails &#8211;help to see them. But really, there aren&#8217;t many. It&#8217;s pretty simple, very straight forward, as it should be.</p>
<p>The Rails command creates the directory that you specified if it doesn&#8217;t already exist and fills it with a bunch of stuff, the framework skeleton. The structure therein is as follows:</p>
<ul>
<li><i><b>app</b></i> &#8211; The app directory is where most of the fun is. It is where you will put most all your code specific to your application. So get used to the idea. This directory contains several sub directories of note.
<ul>
<li><i>controllers</i> &#8211; Here you put all the controller classes you create to control your models. They need to be named [modelname]_controller.rb since there is some automatic URL mapping that goes on and it follows that naming convention. All Controller classes inherit from ActionController::Base.</li>
<li><i>models</i> &#8211;  Here you put all the model class definitions and code. Most of the time, these classes inherit from ActiveRecord::Base</li>
<li><i>views</i> &#8211; The template files for whatever views you have. You should also put stylesheets, images, etc here and if need be sym-link them to your public areas. </li>
<li><i>helpers</i> &#8211; Here you put view helpers, and they need to be named [viewname]_helper.rb</li>
<li><i>apis</i> &#8211; Here you put API classes for web services and such</li>
</ul>
</li>
<li><i><b>config</b></i> &#8211; This folder holds, surprisingly, configuration files for the Rails Environment, routing maps, database configs, and other like materials.</li>
<li><i><b>components</b></i> &#8211; Here are the components that really self-contained mini-apps that are used to link controllers, models and views together.</li>
<li><i><b>db</b></i> &#8211; This folder has a file called schema.rb that holds your database schema and also migrations for your schema</li>
<li><i><b>lib</b></i> &#8211; As most developers would assume, this folder holds any code or libraries that are don&#8217;t fit into the other categories (models, controllers, views) that need to be included.</li>
<li><i><b>public</b></i> &#8211; This is where the web server looks to. It has images, stylesheets, javascript files, static HTML pages, etc (or symlinks thereto).</li>
<li><i><b>script</b></i> &#8211; Here we have some helper scripts for automation, generation, etc.</li>
</ul>
<p>And there you have your default app. Next time we&#8217;ll start playing with setting up the database.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/&amp;title=Ruby+on+Rails+-+Tutorial+1+-+Creating+a+Rails+Project" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/&amp;title=Ruby+on+Rails+-+Tutorial+1+-+Creating+a+Rails+Project" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/&amp;t=Ruby+on+Rails+-+Tutorial+1+-+Creating+a+Rails+Project" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Ruby%20on%20Rails%20-%20Tutorial%201%20-%20Creating%20a%20Rails%20Project%22&amp;body=Link: http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A I%20heard%20about%20Rails%20back%20when%20I%20was%20a%20programmer%20at%20BlueHost%20%2F%20Hostmonster%20since%20they%20are%20one%20of%20the%20%22preferred%22%20web%20hosting%20companies%20for%20Ruby%20on%20Rails%20type%20applications.%20There%20weren%27t%20very%20many%20clients%20who%20used%20it%2C%20but%20when%20questions%20came%20in%20about%20it%2C%20I%20always%20seemed%20to%20be%20approached%20with%20them.%20I%20" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/&amp;title=Ruby+on+Rails+-+Tutorial+1+-+Creating+a+Rails+Project" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ruby+on+Rails+-+Tutorial+1+-+Creating+a+Rails+Project+-+http://b2l.me/pj84d&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://blog.highspeedweb.net/2008/08/29/ruby-on-rails-tutorial-1-creating-a-rails-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
