<?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>/home/\/\ick &#187; Ubuntu</title>
	<atom:link href="http://timony.com/mickzblog/category/linux/ubuntu-linux-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://timony.com/mickzblog</link>
	<description>Things that interest me.</description>
	<lastBuildDate>Tue, 06 Apr 2010 03:30:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel="next" href="http://timony.com/mickzblog/category/linux/ubuntu-linux-2/feed/?page=2" />

		<item>
		<title>Install Oracle SQL Developer on Ubuntu Karmic</title>
		<link>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/</link>
		<comments>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 20:40:48 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql developer]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=708</guid>
		<description><![CDATA[If you want to install Oracle&#8217;s SQL Developer on Ubuntu (or another DEB based system such as Debian) you can do one of the following: Download the RPM package and install using rpm (not advisable). Download the RPM package and convert to a DEB package using alien Download the ZIP file titled &#8220;Oracle SQL Developer [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to install Oracle&#8217;s <a title="Oracle's SQL Developer" href="http://www.oracle.com/technology/software/products/sql/index.html">SQL Developer</a> on Ubuntu (or another DEB based system such as Debian) you can do one of the following:</p>
<ol>
<li>Download the RPM package and install using rpm (not advisable).</li>
<li>Download the RPM package and convert to a DEB package using alien</li>
<li>Download the ZIP file titled &#8220;Oracle SQL Developer for other platforms&#8221; and manually install</li>
<li>Use the make-sqldeveloper-package to convert the ZIP file into a DEB package</li>
</ol>
<p>I used the make-sqldeveloper-package, which is available for Debian and Ubuntu and it&#8217;s derivatives. However, the man page and the instructions are little unclear on how to use it. You need to download the zip file available at <a href="http://www.oracle.com/technology/software/products/sql/index.html">Oracle&#8217;s</a> (and not the RPM file nor any of the other packages) and then use the make-sqldeveloper-package to convert it to a DEB which you can then install using the dpkg command.</p>
<p>This is preferable to using rpm or alien as you can more easily manage the package using Debian&#8217;s and Ubuntu package management tools, plus it will integrate SQL Developer into Gnome&#8217;s Menu System . Plus, when Oracle updates their version you can use make-sqldeveloper-package to create an updated DEB package and easily update the version you have installed. The procedure outlined below works on Ubuntu Karmic and should also work on any Debian version that has the make-sqldeveloper-package.</p>
<p>As the man page states:</p>
<blockquote><p>This utility will require you to download the &#8220;Oracle  SQL  Developer  for  other  platforms&#8221;  archive  from  &lt;<a href="http://otn.oracle.com/software/prod‐ucts/sql/">http://otn.oracle.com/software/prod‐ucts/sql/</a>&gt; to create the Debian package from.</p></blockquote>
<h4>1. Download the ZIP file from Oracle&#8217;s site</h4>
<p>You will need to accept Oracle&#8217;s license agreement and download the ZIP file, titled &#8220;Oracle SQL Developer for other platforms&#8221;, from:</p>
<p><a href="http://www.oracle.com/technology/software/products/sql/index.html">http://www.oracle.com/technology/software/products/sql/index.html</a></p>
<h4>2. Install the make-sqldeveloper-package package</h4>
<p style="padding-left: 30px;">sudo apt-get install sqldeveloper-package</p>
<p>You will need Ubuntu&#8217;s <a title="Ubuntu software repositorys" href="http://www.ubuntu.com/community/ubuntustory/components">multiverse</a> software repository. See the <a href="https://help.ubuntu.com/community/Repositories/Ubuntu">instructions</a> on how to do so.</p>
<h4>3. Convert the ZIP file to .DEB package</h4>
<p>The format of the command is:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b BUILD_LOCATION LOCATION_OF_ZIP_FILE</p>
<p>In my example, I&#8217;m going to use /tmp/ORA as the build location and the ZIP file has been download to my Desktop (~Desktop).</p>
<p style="padding-left: 30px;">make-sqldeveloper-package -b /tmp/ORA/ ~/Desktop/sqldeveloper-2.1.0.63.73-no-jre.zip</p>
<p>The command will create the build directory and remove it when the command finishes. If the command completes successfully you&#8217;ll see the following output after a minute or two:</p>
<p style="padding-left: 30px;">make-sqldeveloper-package: Building sqldeveloper package in &#8220;/tmp&#8221;.</p>
<p>The DEB file will be created in the current directory. In my example I had changed directories to /tmp and that&#8217;s where the DEB file will be:</p>
<p style="padding-left: 30px;">/tmp/sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<p>See the man page for more information about the tool:</p>
<p style="padding-left: 30px;">man make-sqldeveloper-package</p>
<h4>4. Install the package</h4>
<p style="padding-left: 30px;">sudo dpkg -i sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb</p>
<h4>5. Run SQL Developer</h4>
<p>After installing there should he an entry in Gnome&#8217;s menu to start the SQL Developer. It&#8217;s located under:</p>
<p style="padding-left: 30px;"><strong>Applications-&gt;Programming-&gt;SQL Developer</strong></p>
<p><em>Note</em>: You will need a JVM installed for the tool to run.</p>
<p>Obligatory Screen Shot:</p>
<div id="attachment_719" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-719" href="http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/sqldeveloper_screenshot-2/"><img class="size-medium wp-image-719" title="Oracle SQL Developer on Ubuntu" src="http://timony.com/mickzblog/wp-content/uploads/2010/01/sqldeveloper_screenshot1-300x248.jpg" alt="" width="300" height="248" /></a><p class="wp-caption-text">Oracle SQL Developer</p></div>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2010/01/09/install-oracle-sql-developer-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Problems installing MySQL on Ubuntu Intrepid?</title>
		<link>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/</link>
		<comments>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 04:23:27 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=607</guid>
		<description><![CDATA[Remove mysql-common .]]></description>
			<content:encoded><![CDATA[<p>Remove mysql-common .</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/12/10/problems-install-mysql-on-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling EIGENSOFT on Ubuntu Januty</title>
		<link>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/</link>
		<comments>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 05:34:18 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fortran]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[chemical computing]]></category>
		<category><![CDATA[EIGENSOFT]]></category>
		<category><![CDATA[EIGENSTRAT]]></category>
		<category><![CDATA[example.perl]]></category>
		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=665</guid>
		<description><![CDATA[These are rough notes on how to compile Eigensoft on Ubuntu Jaunty. Create a location to build the code: Warning: /tmp is for temporary files, and any files &#38; directories you create there will be remove upon some subsequent reboot. cd /tmp; mkdir EIGEN; cd  EIGEN; Get the Eigensoft source code: wget  http://www.hsph.harvard.edu/faculty/alkes-price/files/EIG3.0.tar.gz; tar xzvf [...]]]></description>
			<content:encoded><![CDATA[<p>These are rough notes on how to compile <a href="http://genepath.med.harvard.edu/~reich/Software.htm">Eigensoft</a> on Ubuntu Jaunty.</p>
<p><strong>Create a location to build the code:</strong></p>
<p><em>Warning:</em> /tmp is for temporary files, and any files &amp; directories you create there will be remove upon some subsequent reboot.</p>
<pre>cd /tmp;</pre>
<pre>mkdir EIGEN;</pre>
<pre>cd  EIGEN;</pre>
<p><strong>Get the Eigensoft source code:</strong></p>
<pre>wget  http://www.hsph.harvard.edu/faculty/alkes-price/files/EIG3.0.tar.gz;</pre>
<pre>tar xzvf EIG3.0.tar.gz;</pre>
<p><strong>Install required dependences:<span id="more-665"></span></strong></p>
<pre>sudo apt-get install f2c libg2c0 libatlas-base-dev liblapack-dev;</pre>
<p>This symbolic link is needed as the Makefile links looks for the static version of the library and not the shared version (correct me if I&#8217;m wrong, it&#8217;s late at night and I could be mistaken):</p>
<pre>sudo ln -s /usr/lib/libg2c.so.0 /usr/lib/libg2c.so;</pre>
<p><strong>Build the code:</strong></p>
<pre>cd /tmp/EIGEN;</pre>
<pre>cd src;</pre>
<p><strong>Create a backup copy of the Makefile:</strong></p>
<pre>cp Makefile  Makefile.org;</pre>
<p><strong>Edit the Makefile:</strong></p>
<pre>emacs -nw Makefile;</pre>
<p><em>Change this line (line 24):</em></p>
<p>FF=g77</p>
<p>To read as:</p>
<p>FF=&#8221;gfortran -std-legacy&#8221;</p>
<p>This is needed as the g77 fortran compiler is not longer included with Ubuntu, but you can use the gfortan compiler instead, but you must run it in legacy mode.</p>
<p><strong>Run make:</strong></p>
<pre>make eigenstrat;</pre>
<p>This next step is essential, because binaries are included in the bin directory that appear to have been build against a 64-bit kernel and are probably artefact&#8217;s left over from when the author was testing his code. Also, running &#8220;make clean&#8221; does not remove the binaries in the bin directory, but does remove those build in the src directory.</p>
<pre>make install;</pre>
<p>And that should be it run the example.perl in the EIGENSTRAT directory and you should see output like this:</p>
<p style="padding-left: 30px;"><em>./example.perl<br />
smartpca.perl -i example.geno  -a example.snp  -b example.ind  -k 2  -o example.pca  -p example.plot  -e example.eval  -l example.log  -m 5  -t 2  -s 6.0<br />
smartpca -p example.pca.par &gt;example.log<br />
ploteig -i example.pca.evec -c 1:2  -p Case:Control  -x  -y  -o example.plot.xtxt<br />
evec2pca.perl 2 example.pca.evec example.ind example.pca<br />
smarteigenstrat.perl  -i example.geno  -a example.snp  -b example.ind  -p example.pca  -k 1  -o example.chisq  -l example.log<br />
smarteigenstrat -p example.chisq.par &gt;example.loggc.perl example.chisq example.chisq.GC</em></p>
<p>If you run into problems running and compiling the code, the README suggests running the following:</p>
<pre>make pcatoy;</pre>
<p>And, as per the README, contact your sys admin if it doesn&#8217;t work. <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/08/compiling-eigensoft-on-ubuntu-januty/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Compiling Osra on Ubuntu Jaunty</title>
		<link>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/</link>
		<comments>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 14:30:06 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Cplusplus]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gocr]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[ocrad]]></category>
		<category><![CDATA[openbabel]]></category>
		<category><![CDATA[osra]]></category>
		<category><![CDATA[potrace]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=646</guid>
		<description><![CDATA[This is a brief HOWTO on compiling OSRA, (Optical Structure Recognition) on Ubuntu Jaunty. To quote the OSRA home page, OSRA is &#8230; is a utility designed to convert graphical representations of chemical structures, as they appear in journal articles, patent documents, textbooks, trade magazines etc., into SMILES (Simplified Molecular Input Line Entry Specification &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brief HOWTO on compiling <a title="OSRA Home Page" href="http://cactus.nci.nih.gov/osra/">OSRA</a>, (Optical Structure Recognition) on Ubuntu Jaunty. To quote the OSRA home page, OSRA is</p>
<blockquote><p>&#8230; is a utility designed to convert graphical representations of chemical structures, as they appear in journal articles, patent documents, textbooks, trade magazines etc., into SMILES (Simplified Molecular Input Line Entry Specification &#8211; see <a href="http://en.wikipedia.org/wiki/SMILES"> http://en.wikipedia.org/wiki/SMILES</a>) or SD file &#8211;  a computer recognizable molecular structure format.  OSRA can read a document  in any of the over 90 graphical formats parseable by ImageMagick &#8211; including  GIF, JPEG, PNG, TIFF, PDF, PS etc., and generate the SMILES or SDF representation of the molecular structure images encountered within that document &#8230;</p></blockquote>
<p><strong>Make a directory to compile the source:</strong></p>
<p><em>mkdir /tmp/OSRA; cd /tmp/OSRA;</em></p>
<p>Be careful doing this in /tmp is cleaned upon reboot the directory may be removed.</p>
<p><strong>Install dependencies needed by the OS:</strong></p>
<p><em>sudo apt-get install libgraphicsmagick1-dev libmagick++-dev libgraphicsmagick++1-dev potrace gocr  libtclap-dev libopenbabel-dev libopenbabel3 openbabel libnetpbm10 libnetpbm10-dev</em></p>
<p>Don&#8217;t install ocrad and remove it if it&#8217;s on your system (you can probably reinstall if you need to after you get Osra to compile):<br />
<em> sudo apt-get remove &#8211;purge ocrad;</em></p>
<p><strong>Source Code:</strong></p>
<p>Instead of manually getting the source packages download the sources used to build the packages for Ubuntu if available.  Make sure the src lines are commented in, in your /etc/apt/sources.list . This will automatically download and extract the code into the current directory:</p>
<p><em>cd /tmp/OSRA; apt-get source gocr ocrad potrace;</em></p>
<p>This downloads Gocr 0.46 which the OSRA docs say may not work:</p>
<blockquote><p>- GOCR/JOCR, optical character recognition library, version 0.43 or later (version 0.45 recommended, do not use 0.46! See special instructions for 0.47 compilation below)<span id="more-646"></span></p></blockquote>
<p><strong>Get the Osra Source and extract it</strong></p>
<p><em>cd /tmp/OSRA;</em></p>
<p><em>wget http://cactus.nci.nih.gov/osra/osra-1.2.1.tgz;</em></p>
<p><em>tar xzvf osra-1.2.1.tgz</em></p>
<p><em>cd /tmp/OSRA2/osra-1.2.1;</em></p>
<p><strong>Make a backup copy of the OSRA Makefile:</strong></p>
<p><em>cp Makefile Makefile.bak;</em></p>
<p><strong>Edit the Makefile<br />
</strong></p>
<p>Change the following lines:</p>
<p><em>GOCR=../gocr-0.45/</em><br />
to<br />
<em> GOCR=../gocr-0.46/</em></p>
<p><em>OPENBABEL=/usr/local/</em><br />
to<br />
<em>OPENBABEL=/usr/</em></p>
<p><em>TCLAPINC=-I/usr/local/include/tclap/</em><br />
to<br />
<em>TCLAPINC=-I/usr/include/tclap/</em></p>
<p><span style="text-decoration: line-through;"><em>GOCR=../gocr-0.46/</em><br />
to<br />
<em>GOCR=../gocr-0.45/</em></span></p>
<p><strong>Compiling</strong></p>
<p>Compile, but don&#8217;t install the potrace source:<br />
<em>cd /tmp/OSRA/potrace-1.8;<br />
./configure;<br />
make;</em></p>
<p>Compile the OSRA source:<br />
<em>cd /tmp/OSRA/osra-1.2.1;<br />
make;</em></p>
<p>This produces a working OSRA binary:</p>
<p><em>./osra<br />
./osra  [-f &lt;can/smi/sdf&gt;] [-g] [-p] [-s &lt;dimensions, 300x400&gt;] [-n] [-r<br />
&lt;default: auto&gt;] [-o &lt;filename prefix&gt;] [-t &lt;0.2..0.8&gt;] [--]<br />
[--version] [-h] &lt;filename&gt;</em></p>
<p>Now I just need a file to test it against to see if it will run correctly.</p>
<p>If you want to build with Gocr 0.47 this step is required:<br />
<em>cd /tmp/OSRA/gocr-0.47;<br />
./configure CPPFLAGS=-fPIC LDFLAGS=-fPIC;<br />
make libs;<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/04/compiling-osra-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Skype Sound Config on T400 running Ubuntu</title>
		<link>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/</link>
		<comments>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:57:53 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[pulse]]></category>
		<category><![CDATA[pulse audio]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[t400]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=612</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-613" href="http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/skype_sound_config_micks_t400/"><img class="aligncenter size-medium wp-image-613" title="Skype Sound Config" src="http://timony.com/mickzblog/wp-content/uploads/2009/06/skype_sound_config_micks_t400-300x199.jpg" alt="Skype Sound Config" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/07/03/skype-sound-config-on-t400-running-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killing X</title>
		<link>http://timony.com/mickzblog/2009/04/12/killing-x/</link>
		<comments>http://timony.com/mickzblog/2009/04/12/killing-x/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 01:14:31 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ireland]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[dontzap linux ubuntu X11 x debian killX]]></category>
		<category><![CDATA[gui]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/2009/04/12/killing-x/</guid>
		<description><![CDATA[On Ubuntu it used to be that ctrl-alt-backspace would kill X (the backend of the various graphical user interfaces on Linux). In an aim to be user friendly this is now disabled by default. This can be a real pain if X locks up, you can&#8217;t kill it nor change to a console. On Debian [...]]]></description>
			<content:encoded><![CDATA[<p>On Ubuntu it used to be that ctrl-alt-backspace would kill X (the backend of the various graphical user interfaces on Linux). In an aim to be user friendly this is now disabled by default. This can be a real pain if X locks up, you can&#8217;t kill it nor change to a console.</p>
<p>On Debian and Ubuntu you can install the dontzap command which will allow you to kill X:</p>
<pre style="padding-left: 30px;">sudo apt-get install dontzap</pre>
<p>Then run dontzap:</p>
<pre style="padding-left: 30px;">sudo dontzap -d</pre>
<p>Or you can the following section to your /etc/X11/xorg.conf file (which is what the dontxzap command does):</p>
<pre style="padding-left: 30px;">Section "ServerFlags"
        Option  "DontZap"       "False"
EndSection</pre>
<p>See <a href="http://albertomilone.com">Alberto Milone&#8217;s</a> blog for more info:<br />
<a href="http://albertomilone.com/wordpress/?p=335">http://albertomilone.com/wordpress/?p=335</a></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/04/12/killing-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(2.0.0.16 &gt; 3.0.8) == true ?</title>
		<link>http://timony.com/mickzblog/2009/04/11/20016-308/</link>
		<comments>http://timony.com/mickzblog/2009/04/11/20016-308/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 18:21:58 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[3.0.8 2.0.0.16]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[kayak.com]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=591</guid>
		<description><![CDATA[I use Kayak.com whenever I&#8217;m planning a trip any where, it&#8217;s a good source to determine who flies to what destination and whose got the lowest price. Today, there&#8217;s a wee bug on their website where they tell me I should upgrade to Firefox 2.0.0.16, this would be sound advise except for the fact that [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a title="Kayak" href="http://www.kayak.com">Kayak.com</a> whenever I&#8217;m planning a trip any where, it&#8217;s a good source to determine who flies to what destination and whose got the lowest price. Today, there&#8217;s a wee bug on their website where they tell me I should upgrade to <a title="Get Firefox" href="http://www.mozilla.com/en-US/firefox/upgrade.html">Firefox</a> 2.0.0.16, this would be sound advise except for the fact that I&#8217;m using a newer version of Firefox:</p>
<p style="text-align: center;"><a rel="attachment wp-att-592" href="http://timony.com/mickzblog/2009/04/11/20016-308/kayak_firefox_bug/"><img class="size-full wp-image-592 aligncenter" title="About Firefox" src="http://timony.com/mickzblog/wp-content/uploads/2009/04/kayak_firefox_bug.jpg" alt="Kayak.com Firefox versioning bug" width="475" height="382" /></a></p>
<p style="text-align: center;">
<p>So I think someone needs to look at the math used here, because 3.0.8 is greater than 2.0.0.16. This is using Firefox on Ubuntu Linux.</p>
<p><em>Update:</em> This may not be a Kayak.com problem and may be a problem with how Ubuntu build Firefox. In the Firefox &#8220;about:&#8221; page (type about: in the URL bar). It reports the following:</p>
<p style="text-align: center;"><a rel="attachment wp-att-677" href="http://timony.com/mickzblog/2009/04/11/20016-308/ff_about/"><img class="size-medium wp-image-677 aligncenter" title="Firefox &quot;about:&quot; page." src="http://timony.com/mickzblog/wp-content/uploads/2009/04/ff_about-300x282.png" alt="Firefox &quot;about:&quot; page." width="300" height="282" /></a></p>
<p>There is a Ubuntu <a title="Ubuntu Firefox &quot;About&quot; bug." href="https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/194894/+login?comments=all">bug </a>that may be related to this, and I&#8217;ve added a comment and the screen-shot that&#8217;s immediately above.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/04/11/20016-308/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Red Hat 9</title>
		<link>http://timony.com/mickzblog/2009/04/06/red-hat-9/</link>
		<comments>http://timony.com/mickzblog/2009/04/06/red-hat-9/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 22:38:10 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[BU Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[old]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[red hat 9]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/2009/04/06/red-hat-9/</guid>
		<description><![CDATA[I have a Red Hat 9 server that I have to support for a wee while longer. I needed to install some packages and I didn&#8217;t have the original install CD&#8217;s nor access to Red Hat&#8217;s repositories. After lot&#8217;s and lot&#8217;s of searching I found the ISO images at: ftp://archive.download.redhat.com/pub/redhat/linux/9/en/iso/i386/ But, there&#8217;s too many users [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Red Hat 9 server that I have to support for a wee while longer. I needed to install some packages and I didn&#8217;t have the original install CD&#8217;s nor access to Red Hat&#8217;s repositories.</p>
<p>After lot&#8217;s and lot&#8217;s of searching I found the ISO images at:<br />
<a title="Red Hat's FTP server" href="ftp://archive.download.redhat.com/pub/redhat/linux/9/en/iso/i386/"> ftp://archive.download.redhat.com/pub/redhat/linux/9/en/iso/i386/</a></p>
<p>But, there&#8217;s too many users on Red Hat&#8217;s FTP server and I can&#8217;t get access &#8230; thankfully rpmfind.net have a mirror:<br />
<a title="Red hat Mirror at RPMFind. net" href="http://fr.rpmfind.net/linux/redhat/9/en/iso/i386/a"> http://fr.rpmfind.net/linux/redhat/9/en/iso/i386/</a></p>
<p>So now I can download the ISO images, and mount them on the Linux box using the loop-back interface and install the packages I need.</p>
<p>I expect to have new hardware within a month or so, and I&#8217;ll probably be using <a title="BU Linux" href="http://linux.bu.edu/">BU Linux</a> or <a href="http://releases.ubuntu.com/8.04/">Ubuntu 8.04</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/04/06/red-hat-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty &amp; ATI</title>
		<link>http://timony.com/mickzblog/2009/04/04/ubuntu-jaunty-ati/</link>
		<comments>http://timony.com/mickzblog/2009/04/04/ubuntu-jaunty-ati/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 20:11:08 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[-phigh]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[installdpkg-reconfigure]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[jackalope]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[purge]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[X.Org 1.6]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=579</guid>
		<description><![CDATA[This is quick&#8217;n'dirty writeup to help others who might have the same problem. I&#8217;ll clean this up later in the week &#8230; Ubuntu Jaunty is the new beta version of Ubuntu. It comes with a new version of X.Org and the ATI drivers have been incompatible with this version of X.Org. ATI recently released drivers [...]]]></description>
			<content:encoded><![CDATA[<p>This is quick&#8217;n'dirty writeup to help others who might have the same problem. I&#8217;ll clean this up later in the week &#8230;</p>
<p><a href="http://www.ubuntu.com/testing/jaunty/alpha3">Ubuntu Jaunty</a> is the new beta version of Ubuntu. It comes with a new version of X.Org and the ATI drivers have been incompatible with this version of X.Org. ATI recently <a href="https://lists.ubuntu.com/archives/ubuntu-x/2009-March/000442.html">released</a> drivers that support X.Org 1.6. If you have problems with X not starting follow the instructions here:<br />
<a href="https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver">https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver</a></p>
<p>For me what happened is that X wouldn&#8217;t start properly and cause my Lenovo T400 to freeze and lock up. The laptop would boot but when X would start (when the login screen appears) I&#8217;d get a black screen with red lines at the top. To solve this I booted to runlevel 1, also known as failsafe mode.  If your using a laptop with wireless, I suggest you connect directly to your router using a network cable, otherwise you may have to configure wireless manually (it&#8217;s not that hard).</p>
<p>When your system starts, select failsafe mode, on the next screen to appear choose the option to go to a &#8220;root shell with networking&#8221;.</p>
<p>Next remove the install ATI drivers and install from scratch the ones you need:</p>
<blockquote><p>sudo apt-get remove &#8211;purge xorg-driver-fglrx xserver-xorg-video-ati xserver-xorg-video-radeon<br />
sudo apt-get install xserver-xorg-video-ati<br />
sudo apt-get install &#8211;reinstall libgl1-mesa-glx libgl1-mesa-dri<br />
dpkg-reconfigure -phigh xserver-xorg</p></blockquote>
<p>If this doens&#8217;t work for you see the Ubuntu page <a href="https://lists.ubuntu.com/archives/ubuntu-x/2009-March/000442.html">mentioned above</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/04/04/ubuntu-jaunty-ati/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Xen for Ubuntu Intrepid 8.10</title>
		<link>http://timony.com/mickzblog/2009/03/07/xen-for-ubuntu-intrepid-810/</link>
		<comments>http://timony.com/mickzblog/2009/03/07/xen-for-ubuntu-intrepid-810/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 16:42:16 +0000</pubDate>
		<dc:creator>Mick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[bugger]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://timony.com/mickzblog/?p=523</guid>
		<description><![CDATA[I was in the process of figuring out and documenting the process of  compiling and installing an Xen enabled kernel on Ubuntu Intrepid 8.10. This was for a specific project that&#8217;s not going to come to fruition. I&#8217;m not going to bother as I also don&#8217;t feel like having my laptop burn a gaping hole [...]]]></description>
			<content:encoded><![CDATA[<p>I was in the process of figuring out and documenting the process of  compiling and installing an Xen enabled kernel on Ubuntu Intrepid 8.10. This was for a specific project that&#8217;s not going to come to fruition. I&#8217;m not going to bother as I also don&#8217;t feel like having my laptop burn a gaping hole through my lap as I wait for the kernel to compile, and well you know I still have some use for the 2 lads downstairs. And after years of compiling kernels, I really can think of more productive uses of my time.</p>
<p>The quickest way is to grab a Debian Xen enabled kernel, this isn&#8217;t recommended by Ubuntu and if your not comfortable hacking your system and having to compile modules (drivers in Windows speak) for hardware or proprietary hardware that Debian doesn&#8217;t include support for, then <strong>don&#8217;t even think of doing this and just use KVM</strong>.</p>
<p>Here&#8217;s how Chris did it for a system running a AMD64 processor, if you&#8217;ve an Intel processor you&#8217;ll need to use a different kernel:</p>
<p><a href="http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/">http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/</a></p>
<p>If you want a later kernel (2.6.27 or 2.6.28) poke around:</p>
<p><a href="http://kernel-archive.buildserver.net/">http://kernel-archive.buildserver.net/</a></p>
<p>That&#8217;s the approach I&#8217;m going to use, as I know that if I&#8217;ve problems or issues I&#8217;ll be able to figure it out. Anyways, the start of the orignal draft is below, preceded by a minor rant. When I get around to getting Xen on Ubuntu to work with a Debian kernel I&#8217;ll add a new post here.<span id="more-523"></span>I recently got a new <a href="http://timony.com/mickzblog/tag/t400/">laptop</a> with a dual-core &#8220;Intel(R) Core(TM)2 Duo CPU P8600&#8243; that supports virtualisation. I wanted to retry Xen, and test my new super-duper processors with virtualisation support! <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I had tried Xen years ago when it was first released, and was pushing it where I worked at the time, but as when I was pushing Linux, people didn&#8217;t think it would be viable nor that it would be any good, nor that it could be a competitor to VMWare. I think a lot of this attitude within business is that they don&#8217;t really &#8220;get&#8221; Open Source, and still think that proprietary software processes are always the best.</p>
<p>Within a year of the first big Xen announcement Xen was being pushed and supported by many of the major Linux vendors, but by that time the company had already invested heavily in VMWare and associated tooling and infrastructure and training. Once you do all that, it&#8217;s hard to transition to something else, and people become &#8220;loyal&#8221; to the product their using and resistant to change is high. Don&#8217;t get me wrong, VMWare created a great tool, are great people, provide good support (or did last time I talked to them a few years ago), and some have some really smart heads, plus they basically created  this &#8220;market segment&#8221;. But, I&#8217;m an Open Source proponent and feel that in many cases Open Source it can save one money, and if an Open Source project is popular and has many interested developers, oftentimes it can be better than it&#8217;s equivalent closed-source proprietary brethren. I won&#8217;t go into why it&#8217;s better in this posting, but a quick <a href="http://www.google.com/search?q=open+source+pros&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=com.ubuntu:en-US:unofficial&amp;client=firefox-a">Google</a> search will provide you with the pros/cons. Also in my opinion if you use a lot of Open Source you need to hire smart people, who can get things done, instead of hiring drones, and paying someone else a lot of money to do the work for you.</p>
<p>OK, back to the important stuff! I want Xen on Ubuntu Intrepid 8.10, but Ubuntu has discontinued Xen support for versions of Ubuntu after 8.04. They and Red Hat are now moving to a KVM based solution, and <a href="http://www.redhat.com">Red Hat</a> recently <a href="http://www.redhat.com/promo/qumranet/">purchased</a> <a href="http://www.qumranet.com/">Qumranet</a>; the company that created and supports KVM. Ubuntu still includes the Xen tools with Ubuntu 8.10, which means we only have to compile and install Xen enabled kernels, and simply use Ubuntu package manager to install the tools. If your running Debian Lenny, you can simply use apt-get/aptitude to install Xen kernels and tools. What I aim to do is create Xen kernels, and bundled these as DEB packages which I can then install/remove using Ubuntu&#8217;s package management tools.</p>
<p><strong>1. Add yourself to the &#8220;src&#8221; group:</strong></p>
<pre>sudo adduser $USER src</pre>
<p>Or replace $USER with the user name of the user you want to have access to kernel source code that is stored in /usr/src . By default kernel source code is stored in /usr/src . If your in the &#8220;user&#8221; group you can build/compile/modify the code without having to use sudo or &#8220;su -&#8221;.</p>
<p><strong>2. Install necessary packages to compile, build, and then create a DEB package.</strong></p>
<p>This isn&#8217;t a complete list:</p>
<pre>sudo apt-get install build-essential libgtk2.0-dev libglib2.0-dev libglade2-dev build-essential libncurses5-dev gawk</pre>
<p><strong>3. Get kernel source code.</strong><br />
There are 4 ways to do this:<br />
a. Download kernel source from kernel.org and patch it with Xen patch<br />
b. Download Ubuntu&#8217;s kernel source tree and patch it with Xen patch<br />
c. Download Xen&#8217;s Kernel source tree that&#8217;s already patched with Xen<br />
d. Download Debian&#8217;s Kernel source tree that&#8217;s already patched with Xen</p>
<p>I&#8217;m going with &#8220;d&#8221;. This will save me from having to patch (and debug) the kernel source tree myself, and then be potentially stuck with unusual bugs, or problems.. This source will have some minimal testing that will at least ensures that it works, and if there are problems I can check Debian&#8217;s bug page for their kernel tree.</p>
<p>The easiest way to get the source is to get access to a Debian system and install the source. The source I&#8217;m using is 2.6.28, you may end up using a later version:</p>
<pre>sudo apt-get install linux-source-2.6.28</pre>
<p>This will install the source as /usr/src/linux-source-2.6.28.tar.bz2 . Copy this to your Ubuntu system.</p>
<p>Alternatively download it <a href="http://packages.debian.org/sid/linux-source-2.6.28">directly</a> and extract it</p>
<p>Do <strong>not</strong> install the .deb file on your Ubuntu system as it&#8217;s possible that it might overlapse with a future Ubuntu package and cause problems. You can extract the .deb file using the -x flag of the dpkg command:</p>
<pre>mkdir /tmp/kernel-src; cd /tmp/kernel-src; dpkg -x &lt;filename&gt;.deb .</pre>
<p>Then look in the resultant directory structure for the .bz2 file.</p>
<p>Copy this to /usr/src .</p>
<p>Extract the file:</p>
<pre>tar -jxvf linux-source-2.6.28.tar.bz2</pre>
<p><strong>Note:</strong> If your using pristine Linux sources from kernel.org, don&#8217;t extract, until you move or remove the symbolic link named linux.</p>
<p>Rename the resulting directory and bzip file:</p>
<pre>mv linux-source-2.6.28 linux-source-2.6.28-debian-xen; mv  linux-source-2.6.28.tar.bz2  linux-source-debian-xen-2.6.28.tar.bz2</pre>
<p>I&#8217;m using a name that will remind me in the future what I&#8217;d used this source code for.</p>
<p><strong>Compile the source code:</strong></p>
<p>To ensure that this works as closely to what Ubuntu uses, I reuse the Ubuntu configuration and enable Xen support. I do this by copying the .config file included with the header files of the kernel version I&#8217;m currently running. In this case it&#8217;s from a 2.6.27.-13:</p>
<pre>cd /usr/src/linux-source-debian-xen-2.6.28;  cp ../linux-headers-2.6.27-13-generic/.config .cd /usr/src/linux-headers-2.6.27-13-generic; fakeroot make-kpkg kernel_image --append-to-version=.custom-xen</pre>
<p>Enable 64bit support, enable Xen, enable any additional modules that you want that weren&#8217;t in the 2.6.27 kernel and away ye go. The &#8220;&#8211;append-to-version&#8221; is to allow me to ID my kernel, and to prevent any accidental overlaps with future stock  Ubuntu kernels.</p>
<p>If this succeeds, you&#8217;ll have a Debian package of the kernel in the parent directory (/usr/src). And that&#8217;s where this draft ends and you&#8217;ll need to look put the rest of the pieces together yourself! Make sure you have a boot disk, in case grub or lilo get&#8217;s <a href="http://www.urbandictionary.com/define.php?term=borked">borked</a>. And don&#8217;t remove your existing kernel until you are sure that your customised kernel works. Best of luck to ye. <img src='http://timony.com/mickzblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  U can pick up most of the rest of the steps <a href="http://newbiedoc.sourceforge.net/system/kernel-pkg.html#INSTDEB-KERNEL-PKG">here</a>.</p>
<p>An alternative approach is to install the Debian Packages directly onto Ubuntu:<br />
<a href="http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/">http://www.chrisk.de/blog/2008/12/how-to-run-xen-in-ubuntu-intrepid-without-compiling-a-kernel-by-yourself/</a></p>
<p>Useful links:<br />
How to create a custom kernel and package it as a .deb package:<br />
<a href="http://newbiedoc.sourceforge.net/system/kernel-pkg.html"> http://newbiedoc.sourceforge.net/system/kernel-pkg.html</a><br />
How to install a Xen Kernel:<br />
<a href="http://www.howtoforge.com/installing-xen-3.3-with-kernel-2.6.27-on-ubuntu-8.10-x86_64"> http://www.howtoforge.com/installing-xen-3.3-with-kernel-2.6.27-on-ubuntu-8.10-x86_64</a><br />
Building DEB packages from Kernel sources:<br />
<a href="http://wiki.debian.org/DebianKernelCustomCompilation"> http://wiki.debian.org/DebianKernelCustomCompilation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://timony.com/mickzblog/2009/03/07/xen-for-ubuntu-intrepid-810/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
