<?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>Steve's Ramblings &#187; Tutorials</title>
	<atom:link href="http://steve.blogme.us/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://steve.blogme.us</link>
	<description>Just another person with internet access</description>
	<lastBuildDate>Mon, 14 Jun 2010 21:07:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Guide: Install openiboot and Android on a 1st generation iPod Touch</title>
		<link>http://steve.blogme.us/2010/06/12/guide-install-openiboot-and-android-on-a-1st-generation-ipod-touch/</link>
		<comments>http://steve.blogme.us/2010/06/12/guide-install-openiboot-and-android-on-a-1st-generation-ipod-touch/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 22:54:09 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=708</guid>
		<description><![CDATA[
			
				
			
		
This guide will show you, in great detail, how to install both openiboot and Android on a 1st Generation iPod Touch. The video is below, it is best to watch this in full screen to see the fine details of the commands. The following files are required:

uberamd_idroid_v1.zip
iPod Touch 1G Firmware 3.1.2
Blackra1n (click the Apple image)
Mac ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F06%2F12%2Fguide-install-openiboot-and-android-on-a-1st-generation-ipod-touch%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F06%2F12%2Fguide-install-openiboot-and-android-on-a-1st-generation-ipod-touch%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>This guide will show you, in great detail, how to install both openiboot and Android on a 1st Generation iPod Touch. The video is below, it is best to watch this in full screen to see the fine details of the commands. The following files are required:</p>
<ul>
<li><a href="http://steve.blogme.us/files/uberamd_idroid_v1.zip">uberamd_idroid_v1.zip</a></li>
<li><a href="http://www.megaupload.com/?d=HXHEIJTW&#038;f=iPod1,1_3.1.2_7D11_Restore.ipsw">iPod Touch 1G Firmware 3.1.2</a></li>
<li><a href="http://www.blackra1n.com/">Blackra1n</a> (click the Apple image)</li>
<li>Mac OS X Snow Leopard (untested on Leopard but it will likely work)</li>
<li>iPod Touch 1G</li>
<li>About an hour of time</li>
</ul>
<p><span id="more-708"></span></p>
<p>To prep, extract the uberamd_idroid_v1.zip file to your hard drive (I extracted mine in my Downloads folder). Also understand how the &#8220;cd&#8221; command works in terminal. If you watch the video closely, it all makes sense. Note that to quickly auto-complete a line in terminal, press the tab key. For example instead of typing the full filename &#8220;cache.img&#8221; you can type &#8220;ca&#8221; then press tab and it will auto-complete the name.</p>
<p>Enjoy the video!</p>
<p><video src="http://steve.blogme.us/files/iptand75.mov" controls="controls" width="600px"><br />
You must have a HTML5 compatible browser to watch this video. Try Google Chrome or Safari.<br />
</video></p>
<p>You can also view this video on <a href="http://www.youtube.com/watch?v=B9JDczTd8xY">youtube</a> (it is a 3 part series).</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2010/06/12/guide-install-openiboot-and-android-on-a-1st-generation-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://steve.blogme.us/files/iptand75.mov" length="404701305" type="video/quicktime" />
		</item>
		<item>
		<title>Cisco AnyConnect in Ubuntu &amp; Fedora &#8211; Fixing it the Easy way</title>
		<link>http://steve.blogme.us/2010/06/03/cisco-anyconnect-in-ubuntu-and-possibly-fedora-fixing-it-the-easy-way/</link>
		<comments>http://steve.blogme.us/2010/06/03/cisco-anyconnect-in-ubuntu-and-possibly-fedora-fixing-it-the-easy-way/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 19:03:07 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=697</guid>
		<description><![CDATA[
			
				
			
		
Cisco AnyConnect fails to properly connect under Linux (Ubuntu and Fedora were tested) due to the following reason:
connection attempt has failed due to a server certificate problem
Eventually I found a fix for it, and while it worked it was a slight pain in the ass as it required you to download and extract firefox from ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F06%2F03%2Fcisco-anyconnect-in-ubuntu-and-possibly-fedora-fixing-it-the-easy-way%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F06%2F03%2Fcisco-anyconnect-in-ubuntu-and-possibly-fedora-fixing-it-the-easy-way%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Cisco AnyConnect fails to properly connect under Linux (Ubuntu and Fedora were tested) due to the following reason:</p>
<blockquote><p>connection attempt has failed due to a server certificate problem</p></blockquote>
<p>Eventually I found a fix for it, and while it worked it was a slight pain in the ass as it required you to download and extract firefox from Mozilla.com, pull files from the archive, copy them, and create softlinks. I created a simple script (and a folder that contains the needed files) that will resolve this issue in no time flat. Simply:</p>
<ol>
<li>Download the archive</li>
<li>Extract the archive: tar -xvzf cisco_anyconnect_fix.tar.gz</li>
<li>Go into the newly created folder: cd cisco_anyconnect_fix</li>
<li>Execute the script as root: sudo anyconnect_fix.sh</li>
<li>Connect to VPN as normal</li>
</ol>
<p>I hope this works for you, I did test it in Ubuntu 10.04 &#038; Fedora 13 with success. There is a check that will install via yum or aptitude the needed libraries. </p>
<p>Give it a try and let me know if you run into any issues.</p>
<p><strong>Download</strong> (1MB): <a href="http://steve.blogme.us/wp-content/uploads/2010/06/cisco_anyconnect_fix.tar.gz">cisco_anyconnect_fix.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2010/06/03/cisco-anyconnect-in-ubuntu-and-possibly-fedora-fixing-it-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide the Dock icon for Tweetie &#8211; Mac</title>
		<link>http://steve.blogme.us/2010/03/10/hide-the-dock-icon-for-tweetie-mac/</link>
		<comments>http://steve.blogme.us/2010/03/10/hide-the-dock-icon-for-tweetie-mac/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:38:23 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=534</guid>
		<description><![CDATA[
			
				
			
		
Tweetie for Mac is certainly one of the best Twitter applications available, however it is lacking in one area: hiding the dock icon. Tweetie uses a Dock and menubar icon which is abnormal for many applications, usually they just use one or the other. Fear not, hiding the Dock icon and keeping the menubar icon ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F03%2F10%2Fhide-the-dock-icon-for-tweetie-mac%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F03%2F10%2Fhide-the-dock-icon-for-tweetie-mac%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Tweetie for Mac is certainly one of the best Twitter applications available, however it is lacking in one area: hiding the dock icon. Tweetie uses a Dock and menubar icon which is abnormal for many applications, usually they just use one or the other. Fear not, hiding the Dock icon and keeping the menubar icon is just a few quick steps away.</p>
<ol>
<li>Quit Tweetie if you have it running</li>
<li>Go to your Applications folder using Finder</li>
<li>Right click on the Tweetie application and select &#8220;Show Package Contents&#8221;</li>
<li>Double click the Contents folder to go into it</li>
<li>Double click on the Info.plist file to open it in TextEdit</li>
<li>Under the &lt;dict&gt; tag add the following lines:<br />
<code>&lt;key&gt;LSUIElement&lt;/key&gt;<br />
&lt;string&gt;1&lt;/string&gt;</code></li>
<li>Save, quit TextEdit, launch Tweetie again, and enjoy!</li>
</ol>
<p>Here is a sample of what the top of your Info.plist file should look like with the edited lines:<br />
<code><br />
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;<br />
&lt;plist version=&quot;1.0&quot;&gt;<br />
&lt;dict&gt;<br />
	&lt;key&gt;LSUIElement&lt;/key&gt;<br />
	&lt;string&gt;1&lt;/string&gt;<br />
	&lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;<br />
	&lt;string&gt;English&lt;/string&gt;<br />
</code></p>
<p><strong>Some common issues:</strong></p>
<p>Q: Oh no, I can&#8217;t authenticate and my tweets aren&#8217;t showing up anymore?!<br />
A: Fear not, open tweetie up, Press &#8220;Command + ,&#8221; to open preferences, navigate to Accounts, remove your user account and add it again. Problem solved. Strange bug, I know.</p>
<p>Q: Um&#8230; the Menubar icon is gone as well as the dock icon!<br />
A: Try replacing LSUIElement with NSUIElement in your info.plist file.</p>
<p>Q: But something else went wrong&#8230;<br />
A: Hit me up on twitter then <a href="http://www.twitter.com/uberamd">@uberamd</a> and I will help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2010/03/10/hide-the-dock-icon-for-tweetie-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable GZIP Image Compression in FOG for Faster Image Creation</title>
		<link>http://steve.blogme.us/2010/01/14/disable-gzip-image-compression-in-fog-for-faster-image-creation/</link>
		<comments>http://steve.blogme.us/2010/01/14/disable-gzip-image-compression-in-fog-for-faster-image-creation/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 05:39:46 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[FOG]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=515</guid>
		<description><![CDATA[
			
				
			
		
Recently I changed the software the imaging server at work uses from Clonezilla to FOG. There were many reasons for the change such as a better web interface, image deployment queue, etc however one of the main things I was looking forward to was storage nodes which allows for distribution of images across multiple servers ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F01%2F14%2Fdisable-gzip-image-compression-in-fog-for-faster-image-creation%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2010%2F01%2F14%2Fdisable-gzip-image-compression-in-fog-for-faster-image-creation%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly&amp;hashtags=FOG,gzip,linux,terminal" height="61" width="50" /><br />
			</a>
		</div>
<p>Recently I changed the software the imaging server at work uses from Clonezilla to FOG. There were many reasons for the change such as a better web interface, image deployment queue, etc however one of the main things I was looking forward to was storage nodes which allows for distribution of images across multiple servers to extend storage.</p>
<p>Deploying the FOG server was easy enough, however one of the first things I noticed was that image creation (uploading a new image to the server) was incredibly slow in comparison to image deployment. Image creation would take nearly 2 hours while image deployment would take about 25 minutes. This frustrated me to no end as we were doing this over gigabit and it wasn&#8217;t utilizing hardly any of the pipe on image creation. A quick glance at the screen told me why: FOG automatically assumes you want to GZIP the image. This means a smaller image, but a drastically increased image creation time since the system needs to compress the data it is sending.</p>
<p>I searched high and low through the config files for a way to disable GZIP compression, but found nothing. Eventually I figured out how to disable the compression, however doing so was not well documented at all. Enter this post which will hopefully help others solve the same problem I ran into. </p>
<p>Simply follow these steps (type these commands in your Linux terminal, you may need to be root or sudo to run some of these):</p>
<p><code>cp /tftpboot/fog/images/init.gz /tmp/init.gz<br />
cd /tmp<br />
gunzip init.gz<br />
mkdir tmpMnt<br />
mount -o loop /tmp/init /tmp/tmpMnt</code></p>
<p>Now using your favorite linux command line editor open the file /tmp/tmpMnt/bin/fog and find and replace all instances of -z1 with -z0. To do that with VIM do the following:</p>
<p><code>vim /tmp/tmpMnt/bin/fog<br />
:%s/z1/z0/<br />
:wq</code></p>
<p>Once you have replaced all -z1 with -z0 we need to recompress and replace your old init.gz file:</p>
<p><code>cd /tmp<br />
umount /tmp/tmpMnt<br />
gzip -9 init<br />
cp /tftpboot/fog/images/init.gz /tftpboot/fog/images/init.gz.old<br />
cp -f init.gz /tftpboot/fog/images/init.gz</code></p>
<p>Thats it. Now you have disabled compression upon image creation and you should notice a VERY large drop in image creation time! FOG does provide a script that assists in editing the init.gz file, HOWEVER the script requires you to have Nautilus installed (aka GNOME) and how many people really run a GUI on a server? Not many.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2010/01/14/disable-gzip-image-compression-in-fog-for-faster-image-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive Unrar Script for Windows</title>
		<link>http://steve.blogme.us/2009/08/05/recursive-unrar-script-for-windows/</link>
		<comments>http://steve.blogme.us/2009/08/05/recursive-unrar-script-for-windows/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 21:07:16 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=438</guid>
		<description><![CDATA[
			
				
			
		
This script, as well as similar scripts can be found on the interwebs but I tend to keep losing the pages that have it. So for my own archival reasons, as well as making it a little easier for others to find, here it is.
This script uses winrar to recursively extract rar archives. This is ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2009%2F08%2F05%2Frecursive-unrar-script-for-windows%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2009%2F08%2F05%2Frecursive-unrar-script-for-windows%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>This script, as well as similar scripts can be found on the interwebs but I tend to keep losing the pages that have it. So for my own archival reasons, as well as making it a little easier for others to find, here it is.</p>
<p>This script uses winrar to recursively extract rar archives. This is very useful if you download seasons of shows and don&#8217;t want to extract each episode one by one.</p>
<p>Step 1: Open up the Windows Command Prompt (Start -> Run -> cmd) or (Start -> Programs -> Accessories -> Command Prompt)</p>
<p>Step 2: Change to the directory containing the folders for the episodes you want to extract. For example:<br />
<code>cd "\Users\Steve\Downloads\My Favorite Show - Seasons 1-6\My Show - Season 1"</code></p>
<p>Step 3: Now that we are in the folder containing all the sub-folders to each episode for your show, type in the following command to extract all of the episodes:<br />
<code>for /R %i IN (.) do "c:\Program Files\WinRAR\Rar.exe" x "%i/*.rar"</code></p>
<p>That command is a recursive for loop that looks for .rar files in each folder and extracts them, placing the extracted file in your current folder. If all goes well you will have every episode in your current folder, extracted and ready to watch!</p>
<p>Note: If you installed the 32-bit WinRAR and are running 64-bit windows your command will look like this:<br />
<code>for /R %i IN (.) do "c:\Program Files (x86)\WinRAR\Rar.exe" x "%i/*.rar"</code></p>
<p>It&#8217;s that simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2009/08/05/recursive-unrar-script-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable/enable the OS X Leopard 3D Dock</title>
		<link>http://steve.blogme.us/2009/03/20/how-to-disableenable-the-os-x-leopard-3d-dock/</link>
		<comments>http://steve.blogme.us/2009/03/20/how-to-disableenable-the-os-x-leopard-3d-dock/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 04:13:38 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/?p=134</guid>
		<description><![CDATA[
			
				
			
		
Here is a quick video tutorial on how to enable and disable the OS X 3D dock (leopard only). There isn&#8217;t sound, I don&#8217;t talk on videos, however just follow along with the text.

Get the Flash Player to see this player.

	var s1 = new SWFObject("/flvplayer.swf","single","550","353","7");
	s1.addParam("allowfullscreen","true");
	s1.addVariable("file","/FinderScreenSnapz003.flv");
	s1.addVariable("width","550");
	s1.addVariable("height","353");
	s1.write("player1");

To get the best viewing experience, click the Full Screen button. ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2009%2F03%2F20%2Fhow-to-disableenable-the-os-x-leopard-3d-dock%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2009%2F03%2F20%2Fhow-to-disableenable-the-os-x-leopard-3d-dock%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Here is a quick video tutorial on how to enable and disable the OS X 3D dock (leopard only). There isn&#8217;t sound, I don&#8217;t talk on videos, however just follow along with the text.<br />
<span id="more-134"></span></p>
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<p><script type="text/javascript">
	var s1 = new SWFObject("/flvplayer.swf","single","550","353","7");
	s1.addParam("allowfullscreen","true");
	s1.addVariable("file","/FinderScreenSnapz003.flv");
	s1.addVariable("width","550");
	s1.addVariable("height","353");
	s1.write("player1");
</script></p>
<p>To get the best viewing experience, click the Full Screen button. Trust me, its easier to see it that way.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2009/03/20/how-to-disableenable-the-os-x-leopard-3d-dock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bypass Torrent File Network Filters</title>
		<link>http://steve.blogme.us/2008/03/20/bypass-torrent-file-network-filters/</link>
		<comments>http://steve.blogme.us/2008/03/20/bypass-torrent-file-network-filters/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 18:03:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://steve.blogme.us/2008/03/20/bypass-torrent-file-network-filters/</guid>
		<description><![CDATA[
			
				
			
		
Many Universities, workplaces, etc are starting to take action against the use of torrent files. You can always change ports so port blocking is a worthless use of network time. However, places have started to restrict the ability to download files ending in the .torrent extension. This complicates things immensely.
Take for example a situation I ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2008%2F03%2F20%2Fbypass-torrent-file-network-filters%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2008%2F03%2F20%2Fbypass-torrent-file-network-filters%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Many Universities, workplaces, etc are starting to take action against the use of torrent files. You can always change ports so port blocking is a worthless use of network time. However, places have started to restrict the ability to download files ending in the .torrent extension. This complicates things immensely.</p>
<p>Take for example a situation I encountered. On the Ubuntu 7.10 release date it was nearly impossible to find a server to download the ISO from as they were all getting hammered with requests. The solution many servers displayed was &#8216;download via a torrent&#8217;. When I tried that on my university network, I encountered the problem, I couldn&#8217;t download the .torrent file. This was annoying, as the University states that using the network to download and seed legal torrents is allowed. How did I get passed this? Using a simple php script I coded up, that can be found at <strong><a href="http://steve.blogme.us/bypass.php" target="_BLANK">http://steve.blogme.us/bypass.php</a></strong></p>
<p>The script simply takes the URL to the .torrent file, saves it on the local server as a text file, and allows you to then download it, then all you need to do is change the extension to .torrent and load it up in the torrent client. It is that simple, and it works! Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2008/03/20/bypass-torrent-file-network-filters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu LLMP (Linux Lighttpd MySQL PHP) with PHPMyAdmin and Cacti &#8211; Tutorial</title>
		<link>http://steve.blogme.us/2007/12/12/ubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial/</link>
		<comments>http://steve.blogme.us/2007/12/12/ubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 20:27:53 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.blogme.us/steve/2007/12/12/ubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial/</guid>
		<description><![CDATA[
			
				
			
		
This guide will show you (yes show, it has pictures) how to configure a standard Ubuntu 7.10 install to act as a LLMP (Linux Lighttpd MySQL PHP) server. I will also show you how to install the Cacti statistics and server status software package.

Right away, open up a terminal (Applications > Accessories > Terminal) as ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsteve.blogme.us%2F2007%2F12%2F12%2Fubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsteve.blogme.us%2F2007%2F12%2F12%2Fubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial%2F&amp;source=uberamd&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>This guide will show you (yes show, it has pictures) how to configure a standard Ubuntu 7.10 install to act as a LLMP (Linux Lighttpd MySQL PHP) server. I will also show you how to install the Cacti statistics and server status software package.<br />
<span id="more-110"></span><br />
<b>Right away, open up a terminal <i>(Applications</i> > <i>Accessories</i> > <i>Terminal)</i> as everything we do will be in the terminal</b></p>
<p>First, make sure you have set the password to your root account. If you have not, do:</p>
<pre>
$ sudo passwd root
</pre>
<p>You will be asked to type in a root password, so come up with a password for the &#8216;root&#8217; account and press enter. Confirm the password, press enter again, and your set.</p>
<p>Note: I know some people don&#8217;t like activating the root account, and thats fine. You can instead place a <strong>sudo</strong> in-front of every command if you want to, or do a <strong>sudo su</strong> it doesn&#8217;t matter to me.</p>
<p>Now that your root password is set, do:</p>
<pre>
$ su -
Password
</pre>
<p>And you should be at a prompt that looks something like this (note the # sign):<br />
<img src="http://images.phpsn.net/images/llmp1.png" /></p>
<p>Now we will want to update our apt-get packages. Apt-get is the Ubuntu/Debian Package Delivery System for installing new packages from remote servers onto your system. Run:</p>
<pre># apt-get update</pre>
<p>And you should see output similar to below:<br />
<img src="http://images.phpsn.net/images/llmp2.png" /></p>
<p><b>Installing the Lighttpd Web Server</b></p>
<p>Your output may be more elaborate if you have never run apt-get update before but it will be relatively the same. Now that we are all up to date, we will install the Lighttpd web server. Follow the steps (what I typed is displayed after the # sign, remember that):<br />
<img src="http://images.phpsn.net/images/llmp3.png" /></p>
<p>Press Y at the prompt below:<br />
<img src="http://images.phpsn.net/images/llmp4.png" /></p>
<p>Once it is done installing you should see something similar to (note the Starting web server lighttpd [ OK ]):<br />
<img src="http://images.phpsn.net/images/llmp5.png" /></p>
<p>At this point the web server is installed, and working. Going to a web browser and going to the URL: http://localhost/ SHOULD give you this page:<br />
<img src="http://images.phpsn.net/images/llmp6.png" /></p>
<p>If you do not see a page like the one above, and get something like this, you encountered a problem:<br />
<img src="http://images.phpsn.net/images/llmp7.png" /></p>
<p>Now that we have Lighttpd working, here are a few commands to control it:<br />
<img src="http://images.phpsn.net/images/llmp8.png" /></p>
<p>The first command: <b>killall lighttpd</b> will kill the server (stop lighttpd from running). Thus, when you go to localhost you get the server problem page. To start the server up again you use <b>lighttpd -f /etc/lighttpd/lighttpd.conf</b> which forces the server to start using the config file found in /etc/lighttpd. It really is that easy.</p>
<p><b>Installing PHP</b></p>
<p>PHP is what almost every server has running. PHP is an engine that processes PHP code into browser-readable content. Because PHP is so powerful, we will be installing it onto our server. Lets get started. Perhaps you can guess what the command is, if not:<br />
<img src="http://images.phpsn.net/images/llmp9.png" /></p>
<p>Then:<br />
<img src="http://images.phpsn.net/images/llmp10.png" /></p>
<p>And:<br />
<img src="http://images.phpsn.net/images/llmp11.png" /></p>
<p>And:<br />
<img src="http://images.phpsn.net/images/llmp12.png" /></p>
<p>Now we have PHP installed, with CGI mode, MySQL, and CLI supported. Now we need to enable fastcgi mode in lighttpd:<br />
<img src="http://images.phpsn.net/images/llmp13.png" /></p>
<p>And restart lighttpd (like the direction in the terminal says) using <b># /etc/init.d/lighttpd force-reload</b> and we should see:<br />
<img src="http://images.phpsn.net/images/llmp14.png" /></p>
<p>(Notice the 2 [ OK ]&#8216;s, thats good). Now we can test and make sure PHP is working. Lets move into the www folder where our webpages will be stored:</p>
<pre># cd /var/www</pre>
<p>And type: <b># pico test.php</b> and you should get a blank editor window. Fill it in like shown below:<br />
<img src="http://images.phpsn.net/images/llmp15.png" /></p>
<p>Then press <b>Control O</b> to save it and <b>Control X</b> to exit. Now go to your web browser and go to the URL <b>http://localhost/test.php</b> and you should see something similar to:<br />
<img src="http://images.phpsn.net/images/llmp16.png" /></p>
<p>If you see something similar to the image above, you are doing great so far! The wording will be different but it should in general look similar. Congrats, you now have PHP and Lighttpd running together. The final step is getting MySQL going.</p>
<p><b>Installing MySQL</b></p>
<p>Much like how we installed PHP and Lighttpd, do:<br />
<code># apt-get install mysql-server-5.0</code></p>
<p>It is going to download ~33MB of data so be patient as apt-get works its magic. You are going to want to setup a root password as well. After it is complete, you should see something similar to:<br />
<img src="http://images.phpsn.net/images/llmp18.png" /></p>
<p>Note that if you were never prompted to set your mysql password you can use the command (if you have set the password, skip this set): </p>
<pre># sudo mysqladmin -u root password "YourPasswordGoesHere"</pre>
<p>To check your mysql server, type (<b># mysql -u root -p</b>):<br />
<img src="http://images.phpsn.net/images/llmp19.png" /></p>
<p>If you get something like the image above, it works. <b>\q</b> will exit mysql. Now we will make a new database called trial:<br />
<img src="http://images.phpsn.net/images/llmp20.png" /></p>
<p>To make sure the database was created we can try to delete it:<br />
<img src="http://images.phpsn.net/images/llmp21.png" /></p>
<p>So we are able to create and delete databases! Yay. Now lets install phpmyadmin so we can easily manage our databases. Type:</p>
<pre># apt-get install phpmyadmin</pre>
<p>You will get a screen like below, just go to OK, do not check any boxes:<br />
<img src="http://images.phpsn.net/images/llmp22.png" /></p>
<p>Once it is done installing, we will need to move it to /var/www:<br />
<img src="http://images.phpsn.net/images/llmp23.png" /></p>
<p>Now restart lighttpd (the commands are above), and in your browser try to go to <b>http://localhost/phpmyadmin</b> The output should look similar to the one below:<br />
<img src="http://images.phpsn.net/images/llmp24.png" /></p>
<p>Wow, we have accomplished a lot so far. MySQL, PHP, and Lighttpd all working with phpmyadmin to manage databases. Whats left? Well, nothing really, However if you want to install cacti (server status and statistics) follow the steps below.</p>
<p><b>Installing Cacti</b><br />
<i><br />
Cacti is a complete network graphing solution designed to harness the power of RRDTool&#8217;s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices</i>.</p>
<p>Start with the following command:<br />
<img src="http://images.phpsn.net/images/llmp25.png" /></p>
<p>When you reach the screen below, select &#8216;None&#8217;:<br />
<img src="http://images.phpsn.net/images/llmp26.png" /></p>
<p>At the screen below select &#8216;Yes&#8217;:<br />
<img src="http://images.phpsn.net/images/llmp27.png" /></p>
<p>At the screen below type in your MySQL root password (which you set above) and select &#8216;Ok&#8217;:<br />
<img src="http://images.phpsn.net/images/llmp28.png" /></p>
<p>At the screen below, enter the same password as your MySQL root password and select &#8216;Ok&#8217;:<br />
<img src="http://images.phpsn.net/images/llmp29.png" /></p>
<p>Then confirm the password:<br />
<img src="http://images.phpsn.net/images/llmp30.png" /></p>
<p>Now we need to link the cacti folder to our web directory folder:<br />
<img src="http://images.phpsn.net/images/llmp31.png" /></p>
<p>We can now go to http://localhost/cacti/site/ in our web browser and you should see a screen like below:<br />
<img src="http://images.phpsn.net/images/llmp32.png" /></p>
<p>Follow the promps and you will get to the login screen. The username and password are both <b>admin</b><br />
<img src="http://images.phpsn.net/images/llmp33.png" /></p>
<p>Once you are logged in, you can manage the graphs. I will not go in depth about that as you can read the manual.</p>
<p>We are now done! Congrats, you have a WORKING Linux server running Lighttpd, MySQL 5, PHP 5 with phpmyadmin and Cacti installed! It really is that simple, all of that can be completed in under 30 minutes!</p>
<p>If you enjoy this tutorial, please say thank you and do not rip it off, I spent quite a bit of time going through the steps, checking my work, and making sure it was easy to follow by taking many screenshots and would like to receive a little credit. Enjoy the tutorial and the new server!</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.blogme.us/2007/12/12/ubuntu-llmp-linux-lighttpd-mysql-php-with-phpmyadmin-and-cacti-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
