<?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>SteveLove.org &#187; Ubuntu</title>
	<atom:link href="http://stevelove.org/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevelove.org</link>
	<description>Code, Literature and Other Worthless Pursuits</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:53:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>How to install PHP memcached on an Ubuntu server</title>
		<link>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/</link>
		<comments>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 22:04:00 +0000</pubDate>
		<dc:creator>Steve Love</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://stevelove.org/?p=124</guid>
		<description><![CDATA[I needed to install memcached on my local development server the other day and hit several snags during the process when I couldn't find a clear guide. It doesn't help that there's another package floating around called "memcache" which is not the same as "memcached".

Fortunately I found <a href="http://www.easy-coding.de/wiki/php/php-memcached-installieren.html">this post in German</a> which <a href="http://translate.google.com/translate?hl=en&#038;sl=de&#038;u=http://www.easy-coding.de/wiki/php/php-memcached-installieren.html&#038;ei=5aa6SvTrL9CLtgeLypm4BA&#038;sa=X&#038;oi=translate&#038;resnum=3&#038;ct=result&#038;prev=/search%3Fq%3D/tmp/pear/temp/memcached/configure%2527%2Bfailed%26hl%3Den%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3DWUG%26sa%3DN%26start%3D10">Google kindly translated</a> for me, and it solved my problems.

Since the translation screws up some of the code, I thought I would post the steps here in English in case anyone finds it useful.]]></description>
			<content:encoded><![CDATA[<p>I needed to install memcached on my local development server the other day and hit several snags during the process when I couldn&#8217;t find a clear guide. It doesn&#8217;t help that there&#8217;s another package floating around called &#8220;memcache&#8221; which is not the same as &#8220;memcached&#8221;.</p>
<p>Fortunately I found <a href="http://www.easy-coding.de/wiki/php/php-memcached-installieren.html">this post in German</a> which <a href="http://translate.google.com/translate?hl=en&#038;sl=de&#038;u=http://www.easy-coding.de/wiki/php/php-memcached-installieren.html&#038;ei=5aa6SvTrL9CLtgeLypm4BA&#038;sa=X&#038;oi=translate&#038;resnum=3&#038;ct=result&#038;prev=/search%3Fq%3D/tmp/pear/temp/memcached/configure%2527%2Bfailed%26hl%3Den%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3DWUG%26sa%3DN%26start%3D10">Google kindly translated</a> for me, and it solved my problems.</p>
<p>Since the translation screws up some of the code, I thought I would post the steps here in English in case anyone finds it useful.<span id="more-124"></span></p>
<h3>Step 1: LAMP</h3>
<p>If you don&#8217;t already have PHP 5 and Apache2 set up, this will get you started. Open up a terminal and type:<br />
[bash]sudo tasksel install lamp-server[/bash]</p>
<p>Guiding you through setting up PHP and Apache is beyond the scope of this guide, so if you get stuck, check the multitude of guides available on Google.</p>
<h3>Step 2: Upgrade LAMP</h3>
<p>With PHP 5 and Apache installed, the next step is to install the developer versions.</p>
<ul>
<li>php5-dev (otherwise you&#8217;ll get an error about &#8220;phpize&#8221;)</li>
<li>apache2-threaded-dev (or else you&#8217;ll get an &#8220;apxs&#8221; error)</li>
</ul>
<p>[bash] sudo apt-get install php5-dev apache2-threaded-dev [/bash]</p>
<h3>Step 3: Getting build tools</h3>
<p>We&#8217;re going to be building from source. If you&#8217;ve never done that before it&#8217;s pretty easy, but first you&#8217;ll need some extra tools.<br />
[bash] sudo apt-get install build-essential [/bash]</p>
<h3>Step 4: PEAR and memcached</h3>
<p>You&#8217;re also going to need PEAR and the memcached binary.<br />
[bash] sudo apt-get install php-pear memcached [/bash]</p>
<h3>Step 5: Building libmemcached</h3>
<p>You&#8217;ll need to <a href="http://download.tangent.org/">get the latest source package from here</a>. You may have to try different versions until you get it working. In 9.04, <span class="code">libmemcached-0.33</span> worked. For 9.10, it was <span class="code">libmemcached-0.37</span>. As of Ubuntu 10.04&#8242;s launch, the latest version was <span class="code">libmemcached-0.40</span>, which appears to install correctly but under actual usage conditions the Memcached::add() method failed to write every time, returning error code 5. I recommend sticking with <span class="code">libmemcached-0.37</span> for now if you&#8217;re running Ubuntu 10.04. </p>
<p>Download the appropriate version with your preferred method, or type:<br />
[bash] wget http://download.tangent.org/libmemcached-0.37.tar.gz [/bash]</p>
<p>Extract the files with your preferred method, or type:<br />
[bash] tar -xzf libmemcached-0.37.tar.gz [/bash]</p>
<p>Move into the extracted directory:<br />
[bash] cd libmemcached-0.37/ [/bash]</p>
<p>Configure the package.<br />
[bash] ./configure [/bash]</p>
<p>Make.<br />
[bash] make [/bash]</p>
<p>Make install. Note this probably will require sudo rights.<br />
[bash] sudo make install [/bash]</p>
<h3>Step 6: PECL</h3>
<p>Finally, you can install the memcached extension through PECL. [Thanks to Andy Lav for pointing out this very important missing step in the comments.]<br />
[bash] sudo pecl install memcached [/bash]</p>
<p>When this process completed, you should see something like this:<br />
[bash]<br />
Build process completed successfully<br />
Installing &#8216;/usr/lib/php5/20060613+lfs/memcached.so&#8217;<br />
install ok: channel://pecl.php.net/memcached-1.0.0<br />
Extension memcached enabled in php.ini<br />
[/bash]</p>
<p>If you see this, you should be ready to go.</p>
<p>You might instead get a message that says: <span class="code">You should add &#8220;extension = memcached.so&#8221; to php.ini</span>. If that&#8217;s the case, open the file with the following and paste <span class="code">extension = memcached.so</span> at the top:<br />
[bash] gksudo gedit /etc/php5/apache2/php.ini [/bash]</p>
<p>After you save and close the file, restart Apache.<br />
[bash] sudo /etc/init.d/apache2 restart [/bash]</p>
]]></content:encoded>
			<wfw:commentRss>http://stevelove.org/2009/09/30/how-to-install-php-memcached-on-an-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Clonezilla is pretty much awesome at system recovery</title>
		<link>http://stevelove.org/2009/07/11/clonezilla-is-pretty-much-awesome-at-system-recovery/</link>
		<comments>http://stevelove.org/2009/07/11/clonezilla-is-pretty-much-awesome-at-system-recovery/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 19:16:08 +0000</pubDate>
		<dc:creator>Steve Love</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Clonezilla]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://stevelove.org/?p=114</guid>
		<description><![CDATA[Cross-platform Clonezilla is a great tool for handling your system backup and system restore needs. Just tested it out using the Live CD on my laptop and found it to be very fast and very successful. Initially I used the stable release of Clonezilla to back up my laptop&#8217;s entire hard drive to a USB [...]]]></description>
			<content:encoded><![CDATA[<p>Cross-platform <a href="http://clonezilla.org">Clonezilla</a> is a great tool for handling your system backup and system restore needs. Just tested it out using the Live CD on my laptop and found it to be very fast and very successful.<span id="more-114"></span></p>
<p>Initially I used the stable release of Clonezilla to back up my laptop&#8217;s entire hard drive to a USB external hard drive. No problems at all. However, I hit a minor snag when restoring the system with the stable release in that it failed to re-install grub. Oops. Not to worry though, Clonezilla has an &#8220;alternative&#8221; release based off Ubuntu (the stable release is built on standard Debian). Since I happen to be running Ubuntu, I made a new Live CD with the alternative Ubuntu release and once again tried the system restore. This time it worked perfectly and my system is exactly as it was at the time I backed it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://stevelove.org/2009/07/11/clonezilla-is-pretty-much-awesome-at-system-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to VirtualBox 3.0 causes Linux guest to hang [Solved]</title>
		<link>http://stevelove.org/2009/07/08/upgrading-to-virtualbox-3-0-causes-linux-guest-to-hang-solved/</link>
		<comments>http://stevelove.org/2009/07/08/upgrading-to-virtualbox-3-0-causes-linux-guest-to-hang-solved/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 03:48:36 +0000</pubDate>
		<dc:creator>Steve Love</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://stevelove.org/?p=109</guid>
		<description><![CDATA[I got to work a little early this morning and decided to upgrade to the new VirtualBox 3.0, which I use to run Ubuntu 9.04 as a guest on my 64-bit Windows Vista host machine. The upgrade was simple as always and I experienced no issues &#8230; until I tried to boot up my Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>I got to work a little early this morning and decided to upgrade to the new <a href="http://www.virtualbox.org/">VirtualBox 3.0</a>, which I use to run Ubuntu 9.04 as a guest on my 64-bit Windows Vista host machine. </p>
<p>The upgrade was simple as always and I experienced no issues &#8230; until I tried to boot up my Ubuntu VM. It appeared to hang during boot up, and finally ended in a kernel panic. Every time.</p>
<p>There&#8217;s an easy fix, however, which I found <a href="http://forums.virtualbox.org/viewtopic.php?f=6&#038;t=19395#p83847">here</a> after a quick Google search. The solution is to change the VM settings for the network adapter from &#8220;PCnet-FAST III&#8221; to &#8220;Intel PRO/1000 MT Desktop&#8221;. </p>
]]></content:encoded>
			<wfw:commentRss>http://stevelove.org/2009/07/08/upgrading-to-virtualbox-3-0-causes-linux-guest-to-hang-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install and set up Adobe Flex SDK on Ubuntu linux</title>
		<link>http://stevelove.org/2009/05/14/how-to-install-and-set-up-adobe-flex-sdk-on-ubuntu-linux/</link>
		<comments>http://stevelove.org/2009/05/14/how-to-install-and-set-up-adobe-flex-sdk-on-ubuntu-linux/#comments</comments>
		<pubDate>Fri, 15 May 2009 03:41:14 +0000</pubDate>
		<dc:creator>Steve Love</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://stevelove.org/?p=31</guid>
		<description><![CDATA[With the open source Adobe Flex SDK, developers using any operating system and any text editor or IDE can create rich Internet applications that compile into SWF files. This guide is for those wanting to install and set up the Flex SDK on Ubuntu linux. What do you need to install Flex on Ubuntu? The [...]]]></description>
			<content:encoded><![CDATA[<p>With the open source <a href="http://en.wikipedia.org/wiki/Adobe_Flex">Adobe Flex</a> SDK, developers using any operating system and any text editor or IDE can create rich Internet applications that compile into SWF files. This guide is for those wanting to install and set up the Flex SDK on Ubuntu linux. <span id="more-31"></span></p>
<h3>What do you need to install Flex on Ubuntu?</h3>
<ol>
<li>The <a href="http://www.adobe.com/products/flex/flexdownloads/">Flex SDK</a></li>
<li>Sun Java (needed for compiling the SWF binaries)</li>
</ol>
<h3>Set up and install Flex</h3>
<p>Step 1. If you haven&#8217;t already, install Java. (If you aren&#8217;t sure, go ahead and try this step anyway.) First open up a terminal (Accessories menu > Terminal) and type the following:</p>
<p>[text]sudo apt-get install java-package sun-java6-jdk[/text]</p>
<p>This will take several minutes while the packages download and install. You&#8217;ll also need to agree to Sun&#8217;s license.</p>
<p>Step 2. Download the <a href="http://www.adobe.com/products/flex/flexdownloads/">Flex SDK</a>. The rest of this guide will assume you saved the SDK to your desktop: <span class="code">~/Desktop</span>.</p>
<p>Step 3. We need to create a directory for the Flex SDK. In a terminal window, enter the following:</p>
<p>[text]sudo mkdir /opt/flex[/text]</p>
<p>The &#8220;opt&#8221; directory is generally where optional application software packages live. (More info on the <a href="http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard">linux file system</a>.) All we did here is make a new &#8220;flex&#8221; directory inside &#8220;opt&#8221;.</p>
<p>Step 4. Now we need to unzip the Flex SDK. Type the following in a terminal window:</p>
<p>[text]<br />
cd ~/Desktop<br />
unzip flex_sdk_4.zip -d tempflex<br />
[/text]</p>
<p>What this does is unzip the contents of your download into a new and temporary directory on your Desktop called &#8220;tempflex&#8221;.</p>
<p>Step 5. After that&#8217;s complete, we need to move these files to &#8220;opt/flex&#8221; which we&#8217;ve already prepared for the SDK. Type the following in a terminal window:</p>
<p>[text]sudo mv tempflex/* /opt/flex/[/text]</p>
<p>This will move the contents of &#8220;tempflex&#8221; into &#8220;opt/flex&#8221;. If you want to make sure you moved everything, you can type the following into a terminal window:</p>
<p>[text]<br />
cd /opt/flex<br />
ls<br />
[/text]</p>
<p>You should see a list of all the files in the directory.</p>
<p>Step 6. Last step. All we need to do now is let Ubuntu know where the new Flex compiler lives. Type the following in a terminal window to open up &#8220;~/.bashrc&#8221; in a text editor:</p>
<p>[text]gedit ~/.bashrc[/text]</p>
<p>The text editor will open your ~/.bashrc profile and we only need to add one line (I added it at the bottom of the file, but I&#8217;m not sure it matters).</p>
<p>[text]export PATH=/opt/flex/bin:$PATH[/text]</p>
<p>Save the file and close the text editor. Then exit all open terminal windows before opening a new one. This should ensure that your terminal loads the path that we just added.</p>
<p>You should now be able to compile your Flex projects with the &#8220;mxmlc&#8221; compiler command. To make sure, type the following in a terminal window to bring up the &#8220;help&#8221;:</p>
<p>[text]mxmlc &#8211;help[/text]</p>
<p>Looks good? Great. You&#8217;re all set. Happy Flex-developing.</p>
]]></content:encoded>
			<wfw:commentRss>http://stevelove.org/2009/05/14/how-to-install-and-set-up-adobe-flex-sdk-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>

