<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>bits from /home/gene &#187; Fedora</title>
	<atom:link href="http://echorand.me/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://echorand.me</link>
	<description></description>
	<lastBuildDate>Mon, 04 Jun 2012 21:50:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='echorand.me' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>bits from /home/gene &#187; Fedora</title>
		<link>http://echorand.me</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://echorand.me/osd.xml" title="bits from /home/gene" />
	<atom:link rel='hub' href='http://echorand.me/?pushpress=hub'/>
		<item>
		<title>Fedora Scientific: New Release and using GNOME, XFCE, LXDE&#8230;</title>
		<link>http://echorand.me/2012/05/30/fedora-scientific-new-release-and-using-gnome-xfce-lxde/</link>
		<comments>http://echorand.me/2012/05/30/fedora-scientific-new-release-and-using-gnome-xfce-lxde/#comments</comments>
		<pubDate>Wed, 30 May 2012 10:19:22 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2135</guid>
		<description><![CDATA[Now that Fedora 17 is out, so is a new release of Fedora Scientific. Fedora Scientific now includes Scilab (Thanks to the packagers). Installed Fedora-Scientific 17. Checked out Scilab. Demos impressive. #scilab #fedora. Thanks Scilab packagers! twitter.com/echorand/statu… — Amit Saha (@echorand) May 25, 2012 To state the obvious,  If you are not a KDE person, &#8230;<p><a href="http://echorand.me/2012/05/30/fedora-scientific-new-release-and-using-gnome-xfce-lxde/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2135&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now that Fedora 17 is out, so is a new release of<a href="http://spins.fedoraproject.org/scientific-kde/" target="_blank"><strong> Fedora Scientific</strong></a>. Fedora Scientific now includes Scilab (Thanks to the packagers).</p>
<blockquote class="twitter-tweet"><p>Installed Fedora-Scientific 17. Checked out Scilab. Demos impressive. <a href="https://twitter.com/search/%2523scilab">#scilab</a> <a href="https://twitter.com/search/%2523fedora">#fedora</a>. Thanks Scilab packagers! <a title="http://twitter.com/echorand/status/206019086126301185/photo/1" href="http://t.co/5K3vqqXr">twitter.com/echorand/statu…</a></p>
<p>— Amit Saha (@echorand) <a href="https://twitter.com/echorand/status/206019086126301185">May 25, 2012</a></p></blockquote>
<p>To state the obvious,  If you are not a KDE person, you may go ahead and install GNOME3, XFCE, LXDE witth yum, like so:</p>
<p style="padding-left:30px;"># yum group install &#8220;GNOME Desktop Environment&#8221;</p>
<p style="padding-left:30px;"># yum group install xfce</p>
<p style="padding-left:30px;"># yum group install lxde</p>
<p>Feel free to join us on <a href="http://fedoraproject.org/wiki/Category:SciTech_SIG" target="_blank">SciTech SIG</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2135&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/30/fedora-scientific-new-release-and-using-gnome-xfce-lxde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service: Update #5</title>
		<link>http://echorand.me/2012/05/28/gsoc-update-5/</link>
		<comments>http://echorand.me/2012/05/28/gsoc-update-5/#comments</comments>
		<pubDate>Mon, 28 May 2012 12:52:57 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2129</guid>
		<description><![CDATA[The current github code [1] does quite a few things as of now. Let me try to explain to the changes since last update and my rationale behind them. Support for building Live images: I attempted to use livemedia-creator (which is going to be THE tool from F18+), but unfortunately ran into issues which prevented &#8230;<p><a href="http://echorand.me/2012/05/28/gsoc-update-5/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2129&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The current github code [1] does quite a few things as of now. Let me try to explain to the changes since last update and my rationale behind them.<br />
<strong></strong></p>
<p><strong>Support for building Live images: </strong>I attempted to use<em> livemedia-creator</em> (which is going to be THE tool from F18+), but unfortunately ran into issues which prevented me from building images. So for now, I have implemented this feature using &#8216;livecd-creator&#8217;. The Kickstart file (flattened) needs to be specified and other details such as architecture, any extra packages to be pulled from Koji, etc. The specifications are specified via the config/live.conf file.<strong></strong></p>
<p><strong>The User specifications are now completely via .conf files:</strong> Myrationale behind that in the first place was that since this code is really going to serve as the &#8216;backend&#8217;, command line arguments could be done away with. But, even if we want to use this as standalone, specifying .conf files is fine as well. (We will see what happens with this after discussing with my mentors). Here is a brief description of the config files in config/</p>
<ul>
<li><strong>imagebuild.conf:</strong> type of image, architecture, staging area (to be explained later) and email (for notification)</li>
<li><strong>boot.conf:</strong> configuration for boot.iso images</li>
<li><strong>repoinfo.conf:</strong> repository configuration required for the above</li>
<li><strong>pungi.conf:</strong> configuration for DVD images</li>
<li><strong>live.conf:</strong> configuration for live images</li>
</ul>
<p>The kickstart files if needed are to be placed in the kickstarts/ sub-directory. To use it, you will need to &#8216;cd&#8217; into &#8216;image_builder&#8217; directory and run &#8216;$python run_imagebuild.py&#8217; after setting up the appropriate config files in image_builder/config and kickstart files in kickstarts/<br />
if any.</p>
<p><strong>Support for copying images:</strong> I have also now enabled support for copying the images to a &#8216;staging area&#8217; as mentioned earlier. I assume a passwordless login setup and hence do a &#8216;scp&#8217; once the desired image has been created. This is how you would use it standalone.</p>
<p>Now, as a first step towards being able to distribute build jobs to different node, I have also now added simple support for carrying out the build process on a different host. This is done by the file<br />
<strong><code>delegate.py</code>.</strong></p>
<p>Here is what it does:</p>
<ul>
<li>Assumes that the config/ and kickstart/ files have been correctly setup by the web-form handler or manually.</li>
<li>Then copies these files to the image_builder/ directory</li>
<li>It creates a .tar archive of the image_builder</li>
<li>Then it reads the appropriate node (architecture) from the nodes.conf file and also retrieves the working location specified.</li>
<li>The .tar file is then &#8216;scp&#8217;-ed to the appropriate location specified</li>
<li>Then runs the run_imagebuild.py script on the build node by &#8216;SSHing&#8217;</li>
<li>The image is then automatically transferred to the staging area<br />
specified as earlier.</li>
</ul>
<p>To try this feature, simply setup nodes.conf file correctly and the config/ and kickstarts/ in data/ and run <strong>$sudo python delegate.py</strong></p>
<p>Note that the specified nodes should have all the dependencies installed, such as lorax, koji (setup correctly), pykickstart and livecd-creator.</p>
<p>[1] <a href="https://github.com/amitsaha/gsoc2012_fbs" target="_blank">https://github.com/amitsaha/gsoc2012_fbs</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2129/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2129&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/28/gsoc-update-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>ownCloud 4 on Fedora 16</title>
		<link>http://echorand.me/2012/05/22/owncloud-4-on-fedora-16/</link>
		<comments>http://echorand.me/2012/05/22/owncloud-4-on-fedora-16/#comments</comments>
		<pubDate>Tue, 22 May 2012 16:44:01 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[owncloud]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2121</guid>
		<description><![CDATA[ownCloud 4 installation is pretty much similar to ownCloud 3 installation and this shell script here will do the job for you on Fedora. One nit: I ran into error messages as this: &#160; As you can see (on opening the screenshot), there is missing header error from &#8216;/var/www/html/owncloud/apps/files_odfviewer/appinfo/app.php&#8217;. This post here told me that &#8230;<p><a href="http://echorand.me/2012/05/22/owncloud-4-on-fedora-16/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2121&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://owncloud.org" target="_blank">ownCloud 4</a></strong> installation is pretty much similar to<a href="http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/" target="_blank"> ownCloud 3 installation </a>and this shell script <a href="https://gist.github.com/2770050" target="_blank">here</a> will do the job for you on Fedora. One nit: I ran into error messages as this:</p>
<p><a href="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png"><img title="owncloud4_error" src="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png?w=300&h=193" alt="" width="300" height="193" /></a></p>
<p>&nbsp;</p>
<p>As you can see (on opening the screenshot), there is missing header error from &#8216;/var/www/html/owncloud/apps/files_odfviewer/appinfo/app.php&#8217;. This post <a href="http://www.geeklog.net/faqman/index.php?op=view&amp;t=38" target="_blank">here</a> told me that it could be due to a empty line. So that;s it. I went to the file and removed the line no. 8 which was an empty line! And it works fine.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2121&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/22/owncloud-4-on-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>

		<media:content url="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png?w=300" medium="image">
			<media:title type="html">owncloud4_error</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service: Update #4</title>
		<link>http://echorand.me/2012/05/22/gsoc-2012-on-demand-fedora-build-service-update-4/</link>
		<comments>http://echorand.me/2012/05/22/gsoc-2012-on-demand-fedora-build-service-update-4/#comments</comments>
		<pubDate>Tue, 22 May 2012 11:22:23 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2108</guid>
		<description><![CDATA[In my last update, I reported that I had the basic code to create a boot.iso including extra packages specified by the NVR or Koji build IDs. Couple of days back, I added the support for creating a DVD iso (using &#8216;pungi&#8217;). Basically the code requires a pungi.conf file to be specified. For example, here &#8230;<p><a href="http://echorand.me/2012/05/22/gsoc-2012-on-demand-fedora-build-service-update-4/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2108&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://echorand.me/2012/05/13/gsocupdate3/" target="_blank">last update</a>, I reported that I had the basic code to create a boot.iso including extra packages specified by the NVR or Koji build IDs.</p>
<p>Couple of days back, I added the support for creating a <strong>DVD iso</strong> (using &#8216;pungi&#8217;). Basically the code requires a <em>pungi.conf </em>file to be specified. For example, here is a sample pungi.conf:</p>
<p><code><br />
[DEFAULT]<br />
name=Fedora<br />
ver=17<br />
arch=i686<br />
flavor=Desktop<br />
destdir=/tmp/pungi_op<br />
cachedir=/var/cache/pungi<br />
bugurl=http://bugzilla.redhat.com<br />
nosource=1<br />
sourceisos=0<br />
force=1<br />
stage=all<br />
config=fedora-install-fedora.ks</p>
<p>#Specify a working directory<br />
workdir=/tmp/pungi_work<br />
# specify packages via NVR<br />
nvr=<br />
# specify packages via Build IDs (separated by a semicolon)<br />
bid=314456<br />
</code></p>
<p>If you are familiar with pungi, you will notice the resemblance of the configuration options with the pungi command line options. The code basically reads this configuration file and fires pungi appropriately.</p>
<p>As you can see, the last two options allow you to specify more recent builds of packages (via NVR and Build IDs) which are not yet available in any of the release repositories and include them instead of the less recent ones. Since pungi requires a kickstart file to be specified, I update the kickstart file by adding the side repository URL to the list of repositories specified (script here at [1]). (I have hit a problem with this step: <a href="https://www.redhat.com/archives/kickstart-list/2012-May/msg00002.html" target="_blank">https://www.redhat.com/archives/kickstart-list/2012-May/msg00002.html</a>)</p>
<p>The updated code is now in the git repository [2] and a sample command line to build a DVD iso would be: <code>python imagebuild.py -t dvd -a i686</code> (after you have created the appropriate pungi.conf file). You can also use the <code>run_imagebuild</code> shell script for the same.</p>
<p>[1] <a href="https://github.com/amitsaha/gsoc2012_fbs/blob/master/scripts/ks_addrepo.py" target="_blank">https://github.com/amitsaha/gsoc2012_fbs/blob/master/scripts/ks_addrepo.py</a><br />
[2] <a href="https://github.com/amitsaha/gsoc2012_fbs/tree/master/image_builder" target="_blank">https://github.com/amitsaha/gsoc2012_fbs/tree/master/image_builder</a></p>
<p><strong>Thoughts:</strong></p>
<p>I am beginning to think of modifying the earlier boot.iso code to read in a configuration file instead of command line arguments, like I have done for the DVD iso. This is keeping in mind the fact this code will really be the <strong>backend</strong> of the web-based build service. Hence, .conf files created at the web based frontend and sent to this image builder code would be a good way to go about it, me thinks. No? We will see.</p>
<p>Next up will be support for creating Live media.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2108&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/22/gsoc-2012-on-demand-fedora-build-service-update-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service: Update #3</title>
		<link>http://echorand.me/2012/05/13/gsocupdate3/</link>
		<comments>http://echorand.me/2012/05/13/gsocupdate3/#comments</comments>
		<pubDate>Sun, 13 May 2012 19:37:50 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2102</guid>
		<description><![CDATA[I have pushed a working snapshot of the image building code to github[1]. Here is a sample run of the code: $ sudo python imagebuild.py -t boot -a i386 -o image_op1 -w image_work -p fedora -r 17 -v 1 -nvr 'anaconda-17.26-1.fc17' -bid '318281' '311809' This command line spawns the build process of a Fedora 17 &#8230;<p><a href="http://echorand.me/2012/05/13/gsocupdate3/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2102&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have pushed a working snapshot of the image building code to github[1]. Here is a sample run of the code:<br />
<code><br />
$ sudo python imagebuild.py -t boot -a i386 -o image_op1 -w image_work -p fedora -r 17 -v 1 -nvr 'anaconda-17.26-1.fc17' -bid '318281' '311809'<br />
</code></p>
<p>This command line spawns the build process of a Fedora 17 boot.iso with a number of extra packages (specified via their NVR or build IDs):<br />
<code><br />
$ sudo python imagebuild.py -t boot -a i386 -o image_op1 -w image_work -p fedora -r 17 -v 1 -nvr 'anaconda-17.26-1.fc17' -bid '318281' '311809'</p>
<p>Downloading Extra Packages</p>
<p>Saving Primary metadata<br />
Saving file lists metadata<br />
Saving other metadata<br />
Generating sqlite DBs<br />
Sqlite DBs complete<br />
Building Boot ISO<br />
checking for root privileges<br />
checking yum base object<br />
setting up build architecture<br />
setting up build parameters<br />
installing runtime packages<br />
running runtime-install.tmpl</p>
<p>downloading packages<br />
(  1/592) [100%] downloading GConf2-3.2.5-1.fc17.i686.rpm<br />
(  2/592) [100%] downloading ModemManager-0.5.2.0-1.fc17.i686.rpm<br />
(  3/592) [100%] downloading NetworkManager-0.9.4.0-7.git20120403.fc17.i686.rpm<br />
(  4/592) [100%] downloading NetworkManager-glib-0.9.4.0-7.git20120403.fc17....<br />
(  4/592) [100%] downloading NetworkManager-glib-0.9.4.0-7.git20120403.fc17....<br />
.<br />
.<br />
</code></p>
<p>Finally, a boot.iso is created. Next, I plan to inegrate package retrieval from Koji via other methods. And then, support for creating Live images and DVD images. And then, the REST API/Web based service.</p>
<p>Some of the scripts I was experimenting with to pull packages are here [2].</p>
<p>[1] <a href="https://github.com/amitsaha/gsoc2012_fbs/tree/master/image_builder" target="_blank">https://github.com/amitsaha/gsoc2012_fbs/tree/master/image_builder</a><br />
[2] <a href="https://github.com/amitsaha/gsoc2012_fbs/tree/master/scripts" target="_blank">https://github.com/amitsaha/gsoc2012_fbs/tree/master/scripts</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2102&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/13/gsocupdate3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service: Update #2</title>
		<link>http://echorand.me/2012/05/09/gsoc-2012-on-demand-fedora-build-service-update-2/</link>
		<comments>http://echorand.me/2012/05/09/gsoc-2012-on-demand-fedora-build-service-update-2/#comments</comments>
		<pubDate>Wed, 09 May 2012 19:35:55 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2100</guid>
		<description><![CDATA[Over the past week, I gained some familiarity with lorax [1]. lorax is used to create the boot.iso and pylorax is used by pungi [2] and livemedia-creator [3] to create the DVD installer and Live images of the various spins, respectively. lorax pungi livemedia-creator Having had a basic idea of how lorax works,  I then proceeded to use &#8230;<p><a href="http://echorand.me/2012/05/09/gsoc-2012-on-demand-fedora-build-service-update-2/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2100&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over the past week, I gained some familiarity with lorax [1]. lorax is used to create the <em>boot.iso</em> and <em>pylorax </em>is used by <em>pungi [2] </em> and <em>livemedia-creator [3]</em> to create the DVD installer and Live images of the various spins, respectively.</p>
<ol>
<li><a href="http://git.fedorahosted.org/git/?p=lorax.git;a=summary" target="_blank">lorax</a></li>
<li><a href="http://git.fedorahosted.org/git/?p=pungi.git;a=blob_plain;f=src/pypungi/__init__.py;hb=HEAD" target="_blank">pungi</a></li>
<li><a href="http://git.fedorahosted.org/git/?p=pungi.git;a=blob_plain;f=src/pypungi/__init__.py;hb=HEAD" target="_blank">l</a><a href="http://git.fedorahosted.org/git/?p=lorax.git;a=tree;f=src/sbin;h=4a344afc041bc5128025c046f7655fc2b5fbfde3;hb=HEAD" target="_blank">ivemedia-creator</a></li>
</ol>
<p>Having had a basic idea of how lorax works,  I then proceeded to use <em>pylorax</em> to create a boot.iso by building upon Tim Flink&#8217;s image building code he had sent me during our project discussions. A build is now in progress as I write this.</p>
<p>My next plan is to integrate the creation of the side repository from extra packages retrieved from Koji so that newer builds of packages are included in the boot.iso.</p>
<p>Also, start using configuration files for specifying the repository/mirror information, architecture, release, etc. By next week, I should have this code in my git hub.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2100&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/09/gsoc-2012-on-demand-fedora-build-service-update-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service: Update #1</title>
		<link>http://echorand.me/2012/05/02/gsoc-2012-on-demand-fedora-build-service-update-1/</link>
		<comments>http://echorand.me/2012/05/02/gsoc-2012-on-demand-fedora-build-service-update-1/#comments</comments>
		<pubDate>Wed, 02 May 2012 07:22:09 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2091</guid>
		<description><![CDATA[A key component of the project is downloading packages from Koji. Over the past few days, I have been playing around with Koji client functionalities to get some familiarity with listing/retrieving packages from the build service. (Setup instructions) Once I setup Koji, I started playing around with the client code that Tim Flink had sent &#8230;<p><a href="http://echorand.me/2012/05/02/gsoc-2012-on-demand-fedora-build-service-update-1/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2091&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A key component of the <a href="http://www.google-melange.com/gsoc/project/google/gsoc2012/amitsaha/24001" target="_blank">project</a> is downloading packages from <a href="http://fedoraproject.org/wiki/Using_the_Koji_build_system" target="_blank">Koji</a>. Over the past few days, I have been playing around with Koji client functionalities to get some familiarity with listing/retrieving packages from the build service.  (<a href="http://fedoraproject.org/wiki/Using_the_Koji_build_system#Initial_Fedora_Setup" target="_blank">Setup instructions</a>)</p>
<p>Once I setup Koji, I started playing around with the client code that Tim Flink had sent me earlier. I adopted Tim&#8217;s code to create a script to download RPM&#8217;s from Koji and create a side repository with them. The Python code is called: <strong>dl_package.py</strong>.</p>
<p>Next, I wanted to have a script which would download the latest build of a package for a particular tag from Koji. For this, I used koji_utils.py from <a href="http://git.fedorahosted.org/git/?p=autoqa.git" target="_blank">Autoqa</a>&#8216;s code. The code is called: <strong>dl_latest_build.py</strong>. As of now, this script just downloads the RPMs for each of the tags. </p>
<p>Both these scripts are available here: <a href="https://github.com/amitsaha/gsoc2012_fbs/tree/master/scripts" target="_blank">https://github.com/amitsaha/gsoc2012_fbs/tree/master/scripts<br />
</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2091/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2091/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2091&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/05/02/gsoc-2012-on-demand-fedora-build-service-update-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>GSoC 2012: On-Demand Fedora Build Service</title>
		<link>http://echorand.me/2012/04/25/gsoc-2012-on-demand-fedora-build-service/</link>
		<comments>http://echorand.me/2012/04/25/gsoc-2012-on-demand-fedora-build-service/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 13:51:39 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[gsoc2012]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gsoc]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2084</guid>
		<description><![CDATA[My involvement with the Fedora community continues to grow with the project On-Demand Fedora Build Service being accepted as part of Google Summer of Code 2012. Here&#8217;s the abstract: On-Demand build service seeks to build Live and installation images for developers, testers and consumers of Fedora Linux. During the testing of Fedora releases, test images &#8230;<p><a href="http://echorand.me/2012/04/25/gsoc-2012-on-demand-fedora-build-service/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2084&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My involvement with the Fedora community continues to grow with the project <a href="http://www.google-melange.com/gsoc/project/google/gsoc2012/amitsaha/24001" target="_blank"><strong>On-Demand Fedora Build Service</strong></a> being accepted as part of Google Summer of Code 2012.</p>
<p>Here&#8217;s the abstract:</p>
<p><em>On-Demand build service seeks to build Live and installation images for developers, testers and consumers of Fedora Linux. During the testing of Fedora releases, test images are often useful as smoke tests before full TC/RC composes, as baselines for specific test days or for automated installation testing in AutoQA. The idea is to make an on-demand Web-based build service which users/developers can use to make custom Fedora based distributions so that command-line wrangling can be minimized.</em></p>
<p>More details is available <a href="https://fedoraproject.org/wiki/GSOC_2012/Student_Application_amitksaha/OnDemandBuildService" target="_blank">here.</a> I shall be blogging more about my progress here. Many thanks to my mentor Tim Flink for his support during the application.</p>
<p>Congratulations to all the other projects accepted as part of the Fedora project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2084/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2084/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2084/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2084&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/04/25/gsoc-2012-on-demand-fedora-build-service/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>Parallel Computing Test Bed using Virtual Appliances</title>
		<link>http://echorand.me/2012/03/18/parallel-computing-test-bed-using-virtual-appliances/</link>
		<comments>http://echorand.me/2012/03/18/parallel-computing-test-bed-using-virtual-appliances/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 13:50:50 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[boxgrinder]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[virtual appliances]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=2009</guid>
		<description><![CDATA[For a recent article of mine, I had to do some experimentation with OpenMPI. I wanted to make sure that some of the basic code snippets accompanying my article worked as expected and did not want to take the pains of setting up a real cluster and hence decided to set up a virtual cluster &#8230;<p><a href="http://echorand.me/2012/03/18/parallel-computing-test-bed-using-virtual-appliances/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2009&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For a recent article of mine, I had to do some experimentation with OpenMPI. I wanted to make sure that some of the basic code snippets accompanying my article worked as expected and did not want to take the pains of setting up a <em>real</em> cluster and hence decided to set up a virtual cluster using Virtual Box.</p>
<p><strong>Virtual Appliances using BoxGrinder</strong></p>
<p>Now, I could definitely install one of the available Linux distributions onto each of my virtual machine (say, <strong>3</strong>). But, why not go for something more barebone, such as Virtual Appliances. I had also been playing around with<a href="http://boxgrinder.org/" target="_blank"><strong> BoxGrinder</strong> </a>and thought of creating a simple parallel computing node virtual appliance with some of the software you might need for such an appliance. Here is the appliance definition file (<strong>f16-node.appl</strong>):</p>
<pre>name: f16-node
summary: A Parallel Computing Node appliance based on Fedora 16
version: 1
release: 0
os:
  name: fedora
  version: 16
hardware:
  partitions:
    "/":
      size: 2.0
packages:
  - @core
  - @development-tools
  - gsl
  - openmpi
  - openmpi-devel
  - python-pp
  - scipy
  - ipython
  - python-pip
  - screen</pre>
<p>As you can see, this appliance file defines a Fedora Linux based virtual appliance including some of the parallel computing libraries and some other miscellaneous utilities. Now, create a virtual appliance for VirtualBox using: <strong><em>$ boxgrinder-build f16-node.appl -p virtualbox. </em></strong>Once the build process is completed, locate the <strong>f16-node.vmdk</strong> file under the build/ sub-directory.</p>
<p><strong>Cloning the Virtual Box appliance</strong></p>
<p>Now, that we have our Virtual Box image ready, we shall clone it using the <strong>VBoxManage</strong> utility&#8217;s <strong><a href="http://www.virtualbox.org/manual/ch08.html#vboxmanage-clonevdi" target="_blank">VBoxManage clonehd</a></strong> command. Create two clones of the <strong>f16-node.vmdk </strong>file. So you should have three .vmdk files with exactly the same software. Cloning prevents us from the hassle of creating three separate virtual appliances.</p>
<p>Now, create three new virtual machines each using one of the above <em>hard-disks. </em>While setting them up, remember to setup<strong><em><a href="http://www.virtualbox.org/manual/ch06.html#idp11897120" target="_blank">Bridged Networking</a></em>, </strong>so that each virtual machine gets a internally (local network) accessible IP address. Check from your host machine if you can <em>ssh </em>to the virtual machines. If yes, you are good to go!</p>
<p>Let me know if that doesn&#8217;t work for you.</p>
<p><strong>Related: </strong>My<a href="http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/" target="_blank"> earlier post </a> on creating an ownCloud appliance using BoxGrinder.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/2009/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/2009/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/2009/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=2009&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/03/18/parallel-computing-test-bed-using-virtual-appliances/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>
	</item>
		<item>
		<title>ownCloud + BoxGrinder + PageKite: ownCloud Appliance</title>
		<link>http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/</link>
		<comments>http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 10:31:45 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[CloudComputing]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[pagekite]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[owncloud]]></category>

		<guid isPermaLink="false">http://echorand.me/?p=1833</guid>
		<description><![CDATA[UPDATE:  ownCloud 4 installation is pretty much similar to ownCloud 3 installation and this shell script here will do the job for you on Fedora. One nit: I ran into error messages as this: As you can see (on opening the screenshot), there is missing header error from &#8216;/var/www/html/owncloud/apps/files_odfviewer/appinfo/app.php&#8217;.  This post here told me that &#8230;<p><a href="http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/" class="more-link">Read More</a></p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=1833&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: </strong> ownCloud 4 installation is pretty much similar to ownCloud 3 installation and this shell script <a href="https://gist.github.com/2770050" target="_blank">here</a> will do the job for you on Fedora. One nit: I ran into error messages as this:</p>
<p><a href="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png"><img class="aligncenter size-medium wp-image-2118" title="owncloud4_error" src="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png?w=300&h=193" alt="" width="300" height="193" /></a>As you can see (on opening the screenshot), there is missing header error from &#8216;/var/www/html/owncloud/apps/files_odfviewer/appinfo/app.php&#8217;.  This post <a href="http://www.geeklog.net/faqman/index.php?op=view&amp;t=38" target="_blank">here</a> told me that it could be due to a empty line. So that;s it. I went to the file and removed the line no. 8 which was an empty line! And it works fine.</p>
<p><strong>ORIGINAL POST:</strong></p>
<p>In this post, I shall talk about my experiments about creating an ownCloud appliance so that you can have an ownCloud installation running off a virtual machine . This appliance is based on Fedora Linux and I created it using BoxGrinder. To make it visible to the &#8220;outside&#8221; world, instead of going through the hassle of port-forwarding, I used the awesome PageKite service. Let&#8217;s get started:</p>
<p><strong>Understanding ownCloud Installation  (on Fedora)</strong></p>
<p>ownCloud3<a href="http://owncloud.org/support/setup-and-installation/linux-server/" target="_blank"> in<strong></strong>stallation </a>is simple. On Fedora Linux (Fedora 16), these are the steps you would need to follow: (Soon I think there will be a <a href="http://fedoraproject.org/wiki/Features/OwnCloud" target="_blank">ownCloud package</a> itself, till then, that is.)</p>
<p><strong>UPDATE:</strong> <a href="https://gist.github.com/2341191" target="_blank">This shell script</a> here does the job for you.</p>
<ol>
<li>Install the following packages: ($ sudo yum install)
<ul>
<li>httpd</li>
<li>php</li>
<li>php-mysql</li>
<li>php-mbstring</li>
<li>php-devel</li>
<li>mysql</li>
<li>mysql-server</li>
<li>zlib</li>
<li>zlib-devel</li>
<li>pcre-devel</li>
<li>phpmyadmin</li>
</ul>
</li>
<li>Install the php-zip module as outlined <a href="http://www.wowtutorial.org/node/66" target="_blank">here</a></li>
<li>Download ownCloud3 sources from <a href="http://owncloud.org/go/owncloud-download" target="_blank">here</a></li>
<li>Extract and copy the resultant <em><strong>owncloud/</strong></em> directory to <strong><em>/var/www/html</em></strong></li>
<li>&#8216;cd&#8217; to /var/www/html and set appropriate permission to owncloud directory so that apache can read/write from/to it: <em><strong>$sudo  chown -R apache:apache owncloud/</strong></em></li>
<li>Start Apache server: <em><strong>$ sudo service httpd start</strong></em></li>
<li>Start MySQL server:<em> <strong>$ sudo service mysql start</strong> </em>and change the root password using <em><strong>$mysqladmin -u root password PASSWORD</strong></em></li>
<li>Create a MySQL database that you want ownCloud to use by going to: <strong><em>http://localhost/phpmyadmin</em></strong> (This step is optional if you want to use SQLite database)</li>
<li>Start ownCloud: <em><strong>http://localhost/owncloud</strong></em> <em></em> and setup other users or simply start using for storing files</li>
<li>Use <strong>PageKite</strong> to make your cloud publicly accessible as detailed <a href="https://pagekite.net/wiki/Howto/GNULinux/OwnCloud/" target="_blank">here</a></li>
</ol>
<p><strong>ownCloud appliance with BoxGrinder</strong></p>
<p><a href="http://boxgrinder.org/tutorials/boxgrinder-build-quick-start/" target="_blank">BoxGrinder</a> is a tool to create software appliances for different virtual machine applications and cloud computing providers. It requires an <a href="http://boxgrinder.org/tutorials/appliance-definition/" target="_blank">appliance definition</a> file (.appl file) where the base operating system, the software to be installed and other configuration of the appliance is specified.</p>
<p>Next, we shall follow our earlier steps to install ownCloud on Fedora to create an ownCloud appliance based on Fedora with BoxGrinder.  The appliance definition file is <a href="http://amitksaha.fedorapeople.org/contribs/f16-owncloud.appl" target="_blank"><strong>here.</strong></a></p>
<p>Most of it is self-explanatory if you have familiarized yourself with the appliance definition structure. Here I shall talk about the last two sections of the appliance definition file:</p>
<p style="padding-left:30px;"><strong>files:</strong><br />
<strong> &#8221;/opt&#8221;:</strong><br />
<strong>    &#8211; &#8220;http://pecl.php.net/get/zip&#8221;</strong><br />
<strong>    &#8211; &#8220;http://owncloud.org/releases/owncloud-3.0.0.tar.bz2&#8243;</strong></p>
<p style="padding-left:30px;">If you refer to the steps 2 and 3 of the installation steps, you will understand the reason for downloading these two files in /opt.</p>
<p style="padding-left:30px;"><strong>post:</strong><br />
<strong>  base:</strong><br />
<strong>    &#8211; &#8220;cd /opt;/bin/tar -zxvf zip;cd zip-1.10.2;phpize;./configure;make;make install;/bin/echo &#8216;extension=zip.so&#8217; &gt;&gt; /etc/php.ini&#8221;</strong><br />
<strong>    &#8211; &#8220;cd /opt;bunzip2 -d owncloud-3.0.0.tar.bz2; /bin/tar xvf owncloud-3.0.0.tar;cp -r owncloud /var/www/html/;&#8221;</strong><br />
<strong>    &#8211; &#8220;cd /var/www/html;chown -R apache:apache owncloud/&#8221;</strong><br />
<strong>    &#8211; &#8220;/usr/bin/curl -s https://pagekite.net/pk/ | /bin/bash&#8221;</strong></p>
<p style="padding-left:30px;">The first three lines carry out the steps 2-5 of the installation instructions. The last line installs <strong>PageKite</strong> to enable setting up a public access</p>
<p>Next,  we shall build the appliance. We shall build this appliance for use with<a href="https://www.virtualbox.org/" target="_blank"><strong> VirtualBox</strong></a>. Here is the command:  <strong></strong></p>
<p><strong>$ boxgrinder-build -p virtualbox f16-owncloud.appl -d local &#8211;delivery-config path:/home/gene/builds</strong></p>
<p>This command will build the appliance and place the gzipped .vmdk file (about 1.4G) in <strong>/home/gene/builds</strong>. The next step is to create the virtual machine with this as the storage media.</p>
<p><strong>Getting Ready to Serve</strong></p>
<p>Once you have created the virtual machine, boot it and login as the root user (the default password is &#8216;boxgrinder&#8217;. (Enable PAE support from Settings-&gt;System-&gt;Processor). Then carry out steps 6 and 7 from the installation instruction.</p>
<p>Once that is done, setup PageKite: <em><strong>$pagekit.py &#8211;signup</strong></em> and follow the steps. Once the sign up is done, setup your kite using $pagekit.py 80 &lt;yourname&gt;.pagekite.me</p>
<p>Next, carry out steps 8 and 9 from ANYWHERE on the web by replacing <strong><em>localhost</em> </strong>by: <em><strong>&lt;yourname&gt;.pagekite.me</strong></em></p>
<div id="attachment_1844" class="wp-caption aligncenter" style="width: 310px"><a href="http://amitksaha.files.wordpress.com/2012/02/pagekite_vbox.png"><img class="size-medium wp-image-1844" title="pagekite_vbox" src="http://amitksaha.files.wordpress.com/2012/02/pagekite_vbox.png?w=300&h=210" alt="" width="300" height="210" /></a><p class="wp-caption-text">ownCloud appliance in VirtualBox</p></div>
<p>And you have your very own ownCloud instance running from a Virtual machine. I hope to experiment with creating appliances for EC2 and others.</p>
<p>Thank you for reading. Kindly let me know if something didn&#8217;t work the way it should, or something could be improved here.</p>
<p><strong>Discussions</strong></p>
<p>I faced a couple of issues while building this appliance. I have posted my query to the BoxGrinder forum <a href="https://community.jboss.org/thread/195900" target="_blank">here</a>.</p>
<p style="padding-left:30px;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/amitksaha.wordpress.com/1833/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/amitksaha.wordpress.com/1833/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/amitksaha.wordpress.com/1833/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echorand.me&#038;blog=899010&#038;post=1833&#038;subd=amitksaha&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echorand.me/2012/02/26/owncloud-boxgrinder-pagekite-owncloud-appliance/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e649984086cb48e24a6dfd040a86fe96?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Amit</media:title>
		</media:content>

		<media:content url="http://amitksaha.files.wordpress.com/2012/02/owncloud4_error.png?w=300" medium="image">
			<media:title type="html">owncloud4_error</media:title>
		</media:content>

		<media:content url="http://amitksaha.files.wordpress.com/2012/02/pagekite_vbox.png?w=300" medium="image">
			<media:title type="html">pagekite_vbox</media:title>
		</media:content>
	</item>
	</channel>
</rss>
