<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.8.0 (http://www.squarespace.com/) on Sat, 07 Nov 2009 20:14:45 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>An Ubuntu Linux Abduction</title><link>http://jaredprins.squarespace.com/ubducted/</link><description>Switching to Ubuntu Linux is like being abducted to a new and better world</description><lastBuildDate>Sun, 16 Aug 2009 20:49:39 +0000</lastBuildDate><copyright>Copyright Jared Prins</copyright><language>en-CA</language><generator>Squarespace Site Server v5.8.0 (http://www.squarespace.com/)</generator><item><title>Use Symbolic Links instead of vhost for localhost web development</title><category>Development</category><category>Web</category><dc:creator>Jared</dc:creator><pubDate>Mon, 29 Jun 2009 19:19:11 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/6/29/use-symbolic-links-instead-of-vhost-for-localhost-web-develo.html</link><guid isPermaLink="false">216544:3027758:4474502</guid><description><![CDATA[<p>I spent a couple hours trying to setup some vhosts in Apache2 for developing some web applications.&nbsp; The annoying thing is that my IDE (Eclipse/Aptana) uses a directory in my Home folder to store my projects.&nbsp; Therefore I needed to create a vhost to point to those project folders.</p>
<p>What is more easy is to use the default Apache2 setup and put symbolic links in /var/www/ for each of your projects.&nbsp; Soooo much easier!</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-4474502.xml</wfw:commentRss></item><item><title>Aptana requires Sun JRE 1.5 error in Eclipse</title><category>Aptana</category><category>Fix</category><category>Software</category><category>Ubuntu Linux</category><dc:creator>Jared</dc:creator><pubDate>Fri, 19 Jun 2009 13:25:58 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/6/19/aptana-requires-sun-jre-15-error-in-eclipse.html</link><guid isPermaLink="false">216544:3027758:4378893</guid><description><![CDATA[<p>On my somewhat fresh install of Ubuntu 9.04 I installed Eclipse 3.2 using Synaptic.&nbsp; After installing the Aptana plugin, I kept getting the error:</p>
<blockquote>
<p>Aptana requires Sun JRE 1.5 or greater to work properly. Some functionality may be disabled or work not properly under current JRE...</p>
<p><span class="thumbnail-image-block ssNonEditable"><span><a href="javascript:showFullImage('/display/ShowImage?imageUrl=%2Fstorage%2Fimages%2Faptana%203.2%20jre%20error.png%3F__SQUARESPACE_CACHEVERSION%3D1245418386024',197,629);"><img src="http://jaredprins.squarespace.com/storage/thumbnails/2132400-3387720-thumbnail.jpg?__SQUARESPACE_CACHEVERSION=1245418412054" alt="" /></a></span><span class="thumbnail-caption" style="width: 150px;">Aptana 3.2 Sun JRE 1.5 error</span></span></p>
</blockquote>
<p>As an aside, I could be wrong but I don't think the message is proper English.&nbsp; "...may be disabled or work not properly..." should be something like "...may be disabled or work improperly..." or "...may not be enabled or work properly...".</p>
<p>Anyway, the Ubuntu forums had a great <a class="offsite-link-inline" href="http://ubuntuforums.org/showthread.php?t=315444&amp;page=2">fix for this error</a>.&nbsp; Just do the following:</p>
<blockquote>
<p>Compiling Aptana may not work, and even if it did, running it under Eclipse is much more efficient and functional. Here are the steps I took to install it.</p>
<ol>
<li>Install the version of Java you wish to use. In this example I use Sun Java 6:<br />sudo apt-get install sun-java6-jdk</li>
<li>Now install eclipse:<br />sudo apt-get install eclipse</li>
<li>Don't click on the Eclipse menu item yet!. We need to edit the menu entry for eclipse so it will use the desired Java. If you don't do this it will use Blackdown Java, no matter what "java -version" says.<br /><ol>
<li>Right click over your main gnome menu and Click on "Edit Menus"</li>
<li>In the left column of the box that pops up click on "Programming"</li>
<li>Now in the right column double click "Eclipse".</li>
<li>Put "/usr/bin/eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java" in the "Command:" line.</li>
<li>Click "Close", and then "Close" again to exit the main menu editor.</li>
</ol></li>
<li>Now run "eclipse -vm /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java" from the command line. If you get a message that says "Could not create /usr/local/lib/eclipse/.eclipseextension. Please run as root: ...". then just run the following commands after exiting Eclipse to fix things:<br /> 
<ul>
<li>sudo touch /usr/local/lib/eclipse/.eclipseextension</li>
<li>sudo chmod 2775 /usr/local/lib/eclipse/.eclipseextension</li>
<li>sudo chown root:staff /usr/local/lib/eclipse/.eclipseextension</li>
</ul>
</li>
<li>Now we can use the menu. Select "Programming-&gt;Eclipse" to start eclipse.</li>
<li>Next we need to set the Java that Eclipse will use for it's projects (Aptana is an Eclipse project). Otherwise it will only use Blackdown Java (regardless of java -version or the VM it is started with).<br /> 
<ul>
<li>From the "Window" menu in Eclipse select "Preferences".</li>
<li>Click "Java" to open the java options list and click "Installed JRE's"</li>
<li>Now you can enter as many JRE's as you want and select the default. We'll just enter Java 6, click on the "Add" button.</li>
<li>Enter "/usr/lib/jvm/java-6-sun" in the "JRE home directory:" box and click the "OK" button. Everything else will fill in automatically.</li>
<li>Click the check box by java-6-sun to set it as the default.</li>
<li>Click "OK" to exit Preferences.</li>
</ul>
</li>
<li>From the Help menu in Eclipse, select Software Updates &gt; Find and Install... to open an Install/Update pop-up window.</li>
<li>On the Install/Update pop-up window, choose the Search for new features to install option, and click the Next button.</li>
<li>Set up a new remote site to scan for updates.<br /> 
<ul>
<li>Click the New Remote Site... button to open a New Update Site pop-up window.</li>
<li>On the New Update Site pop-up window, type "Aptana" in the site Name text box.</li>
<li>In the URL text box, type the URL for the Aptana update site: http://update.aptana.com/update/ and click OK.</li>
<li>Click the Finish button to open an Updates window.</li>
</ul>
</li>
<li>Now we'll install the Aptana plugin<br /> 
<ul>
<li>On the Updates window, check the Aptana box, and click the Next button.</li>
<li>Choose the option to accept the terms of the license agreement, and click the Next button.</li>
<li>Click the Finish button.</li>
<li>Click the Install All button.</li>
<li>After Eclipse installs the Aptana plug-in, follow the prompts to shut down and re-start Eclipse.</li>
</ul>
</li>
<li>Finally we need to set the Ecplise Perspective to Apatana</li>
</ol>
<p>In the upper right hand corner of the Eclipse IDE there is a little window icon, this is used to select perspectives. Click it, and if you see "Aptana" just select it. Otherwise select "Other..." to open the Select Perspective pop-up window and select Aptana from there. That's it!.</p>
</blockquote>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-4378893.xml</wfw:commentRss></item><item><title>Partimage Error - Cannot create temp file</title><category>Backups</category><category>Linux</category><dc:creator>Jared</dc:creator><pubDate>Sat, 04 Apr 2009 18:00:27 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/4/4/partimage-error-cannot-create-temp-file.html</link><guid isPermaLink="false">216544:3027758:3339126</guid><description><![CDATA[<p>While in <a class="offsite-link-inline" href="http://www.sysresccd.org">SystemRescueCD</a> and using <a class="offsite-link-inline" href="http://www.partimage.org/">partimage</a> to backup an ext3 filesystem, I kept running into the error:</p>
<blockquote>
<p>Error - Cannot create temp file [/dev/sda3/pi878f5c20.tmp]. Please check there is space enough and you have access rights.</p>
</blockquote>
<p>The problem is that the hard drive/partition needs to be mounted. Do the following when booted into SystemRescueCD</p>
<blockquote>
<p>mkdir /mnt/sda3 (you can call sda3 anything you want. It's just a folder that you will mount the actual partition you need to store the backup onto) <br /><br /> mount /dev/sda3 /mnt/sda3 ( this will take the partition /dev/sda3 and link it to /mnt/sda3)</p>
</blockquote>
<p>After doing this, navigate to /mnt/sda3 and see your folders.</p>
<p>There is a good how-to for Partimage <a class="offsite-link-inline" href="http://www.debianadmin.com/backup-and-restore-linux-partitions-using-partimage.html">here</a>.  It also describes how to restore your image to the partition.</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3339126.xml</wfw:commentRss></item><item><title>SystemRescueCD to the rescue</title><category>Computers</category><category>General</category><dc:creator>Jared</dc:creator><pubDate>Fri, 03 Apr 2009 18:00:40 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/4/3/systemrescuecd-to-the-rescue.html</link><guid isPermaLink="false">216544:3027758:3339105</guid><description><![CDATA[<p>Whenever I have computer problems, I'll often need <a class="offsite-link-inline" href="http://www.sysresccd.org/">SystemRescueCD</a> to help me fix it.&nbsp;</p>
<blockquote>
<p>SystemRescueCd is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It contains a lot of system tools (parted, partimage, fstools, ...) and basic tools (editors, midnight commander, network tools).</p>
</blockquote>
<p>To use SystemRescueCD, boot from the disc and at the prompt type</p>
<blockquote>
<p>startx</p>
</blockquote>
<p>and hit enter.&nbsp; Then right click to get the menu to the tools.</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3339105.xml</wfw:commentRss></item><item><title>Backup Your MBR on Linux</title><category>Backups</category><category>Linux</category><dc:creator>Jared</dc:creator><pubDate>Thu, 02 Apr 2009 18:00:39 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/4/2/backup-your-mbr-on-linux.html</link><guid isPermaLink="false">216544:3027758:3339074</guid><description><![CDATA[<p>Use this command to backup your MBR:</p>
<blockquote>
<p>dd if=/dev/hda of=/home/hda.boot.mbr bs=512 count=1</p>
</blockquote>
<p>To restore the MBR (from a Live CD), use this command:</p>
<blockquote>
<p>dd if=/mnt/hda1/home/hda.boot.mbr of=/dev/hda bs=512 count=1</p>
</blockquote>
<p>About the dd command:<br /><br />dd if=&lt;source&gt; of=&lt;target&gt; bs=&lt;byte size&gt;("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=&lt;conversion&gt;.<br /><br />Source is the data being read. Target is where the data gets written.<br /><br /><strong><em>Warning!! If you reverse the source and target, you can wipe out a lot of data. This feature has inspired the nickname "dd" Data Destroyer.<br />Warning!! Caution should be observed when using dd to duplicate encrypted partitions.</em></strong></p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3339074.xml</wfw:commentRss></item><item><title>Fitness Software for Linux</title><category>Linux</category><category>Open Source</category><category>Software</category><dc:creator>Jared</dc:creator><pubDate>Wed, 01 Apr 2009 18:00:47 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/4/1/fitness-software-for-linux.html</link><guid isPermaLink="false">216544:3027758:3318880</guid><description><![CDATA[<p>For all those who forgot their New Years Resolutions, here is a list for you.&nbsp; Now you can get linux and <a class="offsite-link-inline" href="http://www.junauza.com/2009/03/freeopen-source-workoutfitness-software.html">get fit</a> too.</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3318880.xml</wfw:commentRss></item><item><title>Windows software and their Linux alternatives and equivalents</title><category>Linux</category><category>Software</category><category>Windows</category><dc:creator>Jared</dc:creator><pubDate>Tue, 31 Mar 2009 18:00:32 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/3/31/windows-software-and-their-linux-alternatives-and-equivalent.html</link><guid isPermaLink="false">216544:3027758:3322322</guid><description><![CDATA[<p>"Welcome to the <a class="offsite-link-inline" href="http://www.linuxalt.com/"><strong>Linux Alternative Project</strong></a> (formerly the Linux Equivalent Project). The goal is to provide an informational and available website for all <strong>linux</strong> users. The website is currently in beta form. I will be periodically updating the database with Windows software and the <strong>Linux</strong> equivalents and alternatives."</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3322322.xml</wfw:commentRss></item><item><title>Linux Screw is a great Linux blog</title><category>Blog</category><category>Linux</category><dc:creator>Jared</dc:creator><pubDate>Mon, 30 Mar 2009 18:00:48 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/3/30/linux-screw-is-a-great-linux-blog.html</link><guid isPermaLink="false">216544:3027758:3322318</guid><description><![CDATA[<p><a class="offsite-link-inline" href="http://www.linuxscrew.com/">Linux Screw</a> is a top-notch blog of news, docs, tips, tricks, hacks, fun, and more...</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3322318.xml</wfw:commentRss></item><item><title>Microsoft Access Alternatives for Linux</title><category>Database</category><category>Linux</category><category>Software</category><dc:creator>Jared</dc:creator><pubDate>Sun, 29 Mar 2009 18:00:29 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/3/29/microsoft-access-alternatives-for-linux.html</link><guid isPermaLink="false">216544:3027758:3322293</guid><description><![CDATA[<p>I haven't come across many, but there are a few alternatives for MS Access on Linux.</p>
<ol>
<li><a class="offsite-link-inline" href="http://www.openoffice.org/product/base.html">Open Office Base</a></li>
<li><a class="offsite-link-inline" href="http://www.kexi-project.org/">Kexi</a></li>
<li><a class="offsite-link-inline" href="http://www.glom.org/wiki/index.php?title=Main_Page">Glom</a></li>
</ol>
<p>Those are the free and open source ones.&nbsp; I did come ascross another quality product, but this one you have to pay for: <a class="offsite-link-inline" href="http://www.kirix.com/">Kirix Strata</a>.&nbsp; It does come with some bells and whistles though.</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3322293.xml</wfw:commentRss></item><item><title>Open Source Book For Managers</title><category>Books</category><category>Open Source</category><dc:creator>Jared</dc:creator><pubDate>Sat, 28 Mar 2009 18:00:08 +0000</pubDate><link>http://jaredprins.squarespace.com/ubducted/2009/3/28/open-source-book-for-managers.html</link><guid isPermaLink="false">216544:3027758:3322281</guid><description><![CDATA[<p>There is a new book out called <a class="offsite-link-inline" href="http://www.amazon.ca/gp/product/0470194952/ref=pe_4690_7635200_pe_snp_952">The Open Source Alternative: Understanding Risks and Leveraging Opportunities.</a></p>
<p>Its target audience is managers and other business types and aims to help them understand the benefits and costs of open source.</p>]]></description><wfw:commentRss>http://jaredprins.squarespace.com/ubducted/rss-comments-entry-3322281.xml</wfw:commentRss></item></channel></rss>