<?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>Bilal Akhtar &#187; Planet Ubuntu</title>
	<atom:link href="http://blog.itsbilal.com/tag/planet-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.itsbilal.com</link>
	<description>All about bytes</description>
	<lastBuildDate>Tue, 09 Apr 2013 00:35:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Connect an Android 4.0+ phone/tablet to Ubuntu, the reliable way</title>
		<link>http://blog.itsbilal.com/2012/12/connect-an-android-4-0-phonetablet-to-ubuntu-the-reliable-way/</link>
		<comments>http://blog.itsbilal.com/2012/12/connect-an-android-4-0-phonetablet-to-ubuntu-the-reliable-way/#comments</comments>
		<pubDate>Sun, 09 Dec 2012 04:19:52 +0000</pubDate>
		<dc:creator>Bilal Akhtar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.itsbilal.com/?p=21</guid>
		<description><![CDATA[Around a year ago, I wrote this handy-dandy article on OMG! Ubuntu!. While that method worked perfectly for the first few months, changes in libmtp, mtpfs and Ubuntu&#8217;s fuse libraries have made that method unreliable and buggy. And very slow too, that is, if you managed to get the thing working. So here&#8217;s another way [...]]]></description>
				<content:encoded><![CDATA[<p>Around a year ago, I wrote this <a href="http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access/">handy-dandy article on OMG! Ubuntu!</a>. While that method worked perfectly for the first few months, changes in libmtp, mtpfs and Ubuntu&#8217;s fuse libraries have made that method unreliable and buggy.</p>
<p>And very slow too, that is, if you managed to get the thing working.</p>
<p>So here&#8217;s another way to connect an Android device to Ubuntu, which, to much surprise, actually works (woohoo!). Instead of mtpfs, you&#8217;ll be using the amazing <a href="https://github.com/hanwen/go-mtpfs">go-mtpfs library</a>. Just run these commands to install go-mtpfs:</p>
<pre>sudo apt-get install golang fuse git-core libmtp-dev libfuse-dev
sudo adduser $USER fuse
mkdir /tmp/go 
GOPATH=/tmp/go go get github.com/hanwen/go-mtpfs
sudo mv /tmp/go/bin/go-mtpfs /usr/bin/
mkdir ~/MyAndroid</pre>
<p>Now, go-mtpfs is installed. To mount your Android device, run these commands:</p>
<pre>
go-mtpfs ~/MyAndroid &#038;</pre>
<p>Voila! Your device&#8217;s contents can now be found at the MyAndroid folder in your home directory. If you belong to the &#8220;everything must be unmounted safely&#8221; tribe (like I do), then here&#8217;s your <s>birthday present</s> unmounting command:</p>
<pre>
fusermount -u ~/MyAndroid
</pre>
<p>That&#8217;s it! Not very simple, but it&#8217;s not like you&#8217;ll be able to find a more reliable method, can you?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsbilal.com/2012/12/connect-an-android-4-0-phonetablet-to-ubuntu-the-reliable-way/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Using the Raspberry Pi as a web server</title>
		<link>http://blog.itsbilal.com/2012/11/using-the-raspberry-pi-as-a-web-server/</link>
		<comments>http://blog.itsbilal.com/2012/11/using-the-raspberry-pi-as-a-web-server/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 06:00:48 +0000</pubDate>
		<dc:creator>Bilal Akhtar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.itsbilal.com/?p=7</guid>
		<description><![CDATA[Ever since I got my Model B Raspberry Pi board a few weeks ago, I wanted to use it as an inexpensive web server. So here it is. In fact, you are reading this very post delivered straight from my Pi. I used the latest Raspbian image (Debian Wheezy/Testing), and installed lighttpd 1.4.31, php 5.4.4 and [...]]]></description>
				<content:encoded><![CDATA[<p>Ever since I got my Model B Raspberry Pi board a few weeks ago, I wanted to use it as an inexpensive web server. So here it is. In fact, you are reading this very post delivered straight from my Pi.</p>
<p>I used the <a href="http://www.raspberrypi.org/downloads">latest Raspbian image</a> (Debian Wheezy/Testing), and installed lighttpd 1.4.31, php 5.4.4 and mysql 5.5.24 straight from the Debian repositories. Linking up lighttpd with the PHP interpreter using FastCGI was very simple:</p>
<blockquote><p>sudo apt-get install php5-common php5-cgi php5 php5-mysql<br />
sudo lighty-enable-mod fastcgi-php</p></blockquote>
<p>Then, I followed the steps outlined in <a href="http://serverfault.com/a/375408/68303">this answer on Server Fault</a> to set up a named vhost in lighttpd. There were other methods on various websites regarding mod_simple_vhost but since I didn&#8217;t need a dynamic setup based on the name of each virtual host, a simpler setup like the example in the Server Fault answer worked for me.</p>
<p>After that, I followed the regular WordPress installation procedure. Who knew $35 could get you a decent web server?</p>
<p>Initially, I had concerns about the performance of the Pi and whether it would be able to take up the load of a full WordPress website with MySQL and all. While obviously you wouldn&#8217;t want to run a high-traffic website on low-performance hardware like this <img src='http://blog.itsbilal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , it does the job for any very-low-traffic web site, and I&#8217;m quite surprised at how much performance it can deliver for the amount of power it consumes.</p>
<p>&nbsp;</p>
<div class="wp-caption alignnone" style="width: 410px"><a href="http://i.imgur.com/jFWwI.jpg"><img title="RPi web server" src="http://i.imgur.com/jFWwI.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Who woulda thunk you could serve website pies?</p></div>
<p>So there you have it. I&#8217;ll be running this blog on the Pi for the next few weeks. Let&#8217;s see how it goes; it&#8217;s going to be a hell of an experiment. Or, probably a very good idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsbilal.com/2012/11/using-the-raspberry-pi-as-a-web-server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
