<?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>jaredrobinson.com &#187; Linux</title>
	<atom:link href="http://jaredrobinson.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaredrobinson.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 04:21:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Linux and Windows apps vulnerable to DLL hijacking</title>
		<link>http://jaredrobinson.com/blog/linux-and-windows-apps-vulnerable-to-dll-hijacking/</link>
		<comments>http://jaredrobinson.com/blog/linux-and-windows-apps-vulnerable-to-dll-hijacking/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 04:13:44 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=618</guid>
		<description><![CDATA[In August, reports of Windows DLL hijacking flaws surfaced. Lest Linux users get too comfortable thinking that they&#8217;re more secure, a similar problem can happen with dangerous use of LD&#95;LIBRARY&#95;PATH.]]></description>
			<content:encoded><![CDATA[<p>In August, reports of <a href="http://blog.metasploit.com/2010/08/exploiting-dll-hijacking-flaws.html">Windows DLL hijacking flaws surfaced</a>. Lest Linux users get too comfortable thinking that they&#8217;re more secure, a similar problem can happen with <a href="http://seclists.org/fulldisclosure/2010/Aug/278">dangerous use of <code>LD&#95;LIBRARY&#95;PATH</code></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/linux-and-windows-apps-vulnerable-to-dll-hijacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miscellaneous Linux tips and tricks</title>
		<link>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/</link>
		<comments>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 04:51:03 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=602</guid>
		<description><![CDATA[Gnome Key Bindings and IntelliJ IDEA IntelliJ IDEA key bindings conflict with Gnome&#8217;s window manager. In IDEA, I can type CTRL-B to jump to a symbol definition. Normally, I&#8217;d type CTRL-ALT-LEFTARROW to navigate back to where I had come from. Gnome&#8217;s MetaCity intercepts that key mapping before IDEA sees it, and tries to move my [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Gnome Key Bindings and IntelliJ IDEA</strong></p>

<p>IntelliJ IDEA key bindings conflict with Gnome&#8217;s window manager. In IDEA, I can type CTRL-B to jump to a symbol definition. Normally, I&#8217;d type CTRL-ALT-LEFTARROW to navigate back to where I had come from. Gnome&#8217;s MetaCity intercepts that key mapping before IDEA sees it, and tries to move my desktop to the left. There are several other Gnome/Metacity key bindings that conflict with IntelliJ IDEA. Rather than remap the keys in Gnome, I found that on Fedora, I could add the Windows key to the mix, and Gnome would ignore it, and pass it along to IDEA. This means that I can type CTRL-ALT-WINDOWS-LEFTARROW to navigate backward, and so forth.</p>

<p>Unfortunately, this doesn&#8217;t work in RHEL 5 and CentOS 5. The solution is to Go to the Gnome menu bar and select System > Preferences > Keyboard (not Keyboard Shortcuts). Then select the &#8220;Layout Options&#8221; tab, and expand the &#8220;Alt/Win key behavior&#8221;. Then I select &#8220;Super is mapped to the Win-keys&#8221;.</p>

<p>Every time I log in after that, Gnome tells me that my X keyboard settings conflict with my Gnome Keyboard settings, and it asks which I want to use. Selecting the Gnome settings is what I want.</p>

<p><strong>Bandwidth limiting downloads with &#8216;curl&#8217; or &#8216;wget&#8217;</strong></p>

<p>When downloading a large file, it&#8217;s nice to be polite to others on the network, so I use the <code>--limit-rate</code> option for curl and wget:</p>

<ul>
<li><code>curl -O --limit-rate 20k http://server.com/linux.iso</code></li>
<li><code>wget --limit-rate=20k http://server.com/linux.iso</code></li>
</ul>

<p><strong>GDB TUI (text user interface)</strong></p>

<p>After starting gdb, it&#8217;s possible to switch to its text user interface with CTRL-X, CTRL-A. Typing it a second time exits TUI mode.</p>

<p><strong>Vim C++ Auto completion with ctags</strong></p>

<p>I appreciate full blown IDEs in Linux, but I like the quick start up time of vim. Until recently though, I didn&#8217;t have C++ auto completion (also known as vim omni completion). </p>

<p>This got me up and running, and was a great resource:
<a href="http://vim.wikia.com/wiki/C%2B%2B_code_completion">http://vim.wikia.com/wiki/C%2B%2B<em>code</em>completion</a></p>

<p>This would have been useful if I was a new comer to vim and ctags:
<a href="http://www.justlinux.com/nhf/Programming/Introduction_to_C_Programming.html">http://www.justlinux.com/nhf/Programming/Introduction<em>to</em>C_Programming.html</a></p>

<p><strong>xdg-open, gnome-open, start, cygstart</strong></p>

<p>How to easily open files and URLs from the command line
<a href="http://www.dwheeler.com/essays/open-files-urls.html">http://www.dwheeler.com/essays/open-files-urls.html</a></p>

<ul>
    <li>Linux: <code>xdg-open filename_or_URL</code></li>

    <li>Linux:<code> gnome-open filename_or_URL</code></li>

    <li>Mac:  <code>open filename_or_URL</code></li>
    <li>
Windows:  <code>cmd /c start filename_or_URL</code></li>

    <li>Cygwin: <code>cygstart filename_or_URL</code></li>

</ul>

<p><strong>Nomachine NX and ALT-TAB</strong></p>

<p>I use the Nomachine NX client from time to time to get a remote-desktop like connection to a remote Linux machine. It&#8217;s faster than VNC, but it suffers from not forwarding all of my keyboard shortcuts to the remote end of the connection.</p>

<p>Usually, I start the nxlcient from within a Gnome login session. Gnome happily grabs ALT-TAB before the NX client gets to see it. That&#8217;s not what I want. To work around this limitation, I log into a virtual terminal, and start X manually as follows:</p>

<p>Type CTRL-ALT-F2
Login
Run: <code>startx -- :1 gnome-terminal</code></p>

<p>From the gnome-terminal, run: <code>nxclient</code></p>

<p>And then I connect to the remote machine in full screen mode. There&#8217;s no local window manager to interfere with my keyboard shortcuts.</p>

<p><strong>Remote desktop and dual screens</strong></p>

<p>I&#8217;ve been using Remote Desktop to connect to Windows XP, Vista and 7 machines. Until Windows 7, there was no way for a local computer having dual monitors to connect and have the remote end display across both monitors.</p>

<p>So I used linux&#8217;s &#8216;rdesktop&#8217; program to do it:</p>

<p><code>rdesktop -0 -a16 -f -rdisk:CLIENT=/home/jared/Desktop -r sound remote.host.com</code></p>

<p>I notice that in Windows 7, there are some new options in the Remote Desktop client (mstsc.exe): /multimon and /span. Or run <code>mstsc /?</code> to list all possible options.</p>

<p><strong>Editing windows registry files on Linux</strong></p>

<p>Use Gedit: <code>gedit --encoding=UTF-16LE myfile.reg</code></p>

<p>Gvim: <code>LANG=UTF-16LE gvim myfile.reg</code></p>

<p>If already in gvim:<code> :e! ++enc=utf-16le</code>
or  <code>:e ++enc=utf-16le myfile.reg</code></p>

<p>Convert, edit, convert:</p>

<p><code>iconv -f UTF-16LE -t utf-8 myfile.reg > myfile.reg.utf8</code></p>

<p>Edit myfile.reg.utf8, then convert it back</p>

<p><code> iconv -f utf-8 -t UTF-16LE myfile.reg.utf8 > myfile.reg</code></p>

<p><strong>
How Firefox opens files and mime types</strong></p>

<p>I needed to give Firefox some extra help knowing how to open a custom file type with a custom application. Here&#8217;s some helpful information.</p>

<p><a href="https://developer.mozilla.org/en/How_Mozilla_determines_MIME_Types">https://developer.mozilla.org/en/How<em>Mozilla</em>determines<em>MIME</em>Types</a></p>

<p>Firefox uses mime.types on Linux, as well as other things. I helped Firefox by the mime type to the link in the generated HTML file. Either one of the following seems to work:</p>

<ul>
<li>&lt;a href=&#8221;file:subdir/file1.cst&#8221; type=&#8221;application/octet-stream&#8221;&gt; open file &lt;/a&gt;</li>
<li>&lt;a href=&#8221;file:subdir/file1.cst&#8221; type=&#8221;application/x-extension-cst&#8221;&gt; open file  &lt;/a&gt;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Worth the money: Automated, online backup</title>
		<link>http://jaredrobinson.com/blog/worth-the-money-automated-online-backup/</link>
		<comments>http://jaredrobinson.com/blog/worth-the-money-automated-online-backup/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 21:17:16 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=566</guid>
		<description><![CDATA[10 February 2010 Yesterday, I found out I&#8217;d lost over three thousand calendar entries, and I had lost them five months ago. Fortunately, I had been using an automated, online backup service and was able to restore the missing data. I found out about my loss when I searched for a phone number on my [...]]]></description>
			<content:encoded><![CDATA[<p><em>10 February 2010</em></p>

<p>Yesterday, I found out I&#8217;d lost over three thousand calendar entries, and I had lost them five months ago. Fortunately, I had been using an
automated, <a href="http://mozy.com">online backup service</a> and was able to restore the missing data.</p>

<p>I found out about my loss when I searched for a phone number on my Palm TX that should have been in my calendar, but was missing. I wondered what was up, and started going through my calendar a month at a time. I noticed that calendar entries after Sept 7, 2009 were present, but nearly everything before that was missing.</p>

<p>My Palm TX is synchronized frequently with Windows, and infrequently
with Linux. My Linux copy of the calendar wasn&#8217;t going to help me,
because it was missing the calendar entries as well. The same was true
for the Windows copy.</p>

<p>The Palm-to-SD-card backup that happened every night wasn&#8217;t going to
help, because it deletes any backups older than seven days old to make
room for the new backups. I needed something that stretched back five
months or more.</p>

<p>The backup of my Linux computer wasn&#8217;t going to help me, because I <em>overwrite</em> my old
backups with new copies of the same files, using &#8216;rsync&#8217;.</p>

<p>I thought my Mozy backups worked the same way. Fortunately, I was
partially wrong. Mozy keeps point-in-time backups of some files. I don&#8217;t
know how they determine which files to do it for, but they did it for my
Palm Pilot calendar database file. I was able to restore my missing calendar entries, which was a huge relief.</p>

<p>I heartily recommend automated online backups. Manual backups aren&#8217;t
done by most people and if they are done, they&#8217;re sporadic and
incomplete. My intermittent manual, replace-the-old-files style of
backup to USB hard drive wouldn&#8217;t have allowed me to restore the
calendar entries. The $5/month that I spend for online backup was very
worthwhile, and easy to justify considering that it&#8217;s less than the cost
of eating out for lunch. It&#8217;s less expensive than a cell phone or
monthly internet service.</p>

<p>If you aren&#8217;t already doing automated backups, I recommend that you sign up with an online backup service today. Here are some recommendations:</p>

<ol>
<li><a href="https://www.dropbox.com/">Dropbox</a> is the most popular. Works on Windows, Mac,
Linux, iPhone.</li>
<li><a href="http://spideroak.com/">Spideroak</a> is the second most popular. Works on
Windows, Mac, Linux.</li>
<li>Alternatives to these, including <a href="http://mozy.com">Mozy</a>, which is what I use for Windows: <a href="http://alternativeto.net/desktop/dropbox/">http://alternativeto.net/desktop/dropbox/</a>.</li>
</ol>

<hr />

<p>A word of caution: backups can&#8217;t work miracles. If a file was
corrupted BEFORE it was backed up, no backup solution is going to be
able to solve the problem. This is why I make two copies of all photos
from my digital camera BEFORE deleting them from the camera. Still, if
the memory card in the camera contained corrupted images, even this
wouldn&#8217;t be good enough.</p>

<hr />

<p>The missing calendar entries were, in fact, not missing. They were
corrupted. I found this out by running <code>jpilot-dump -D | sort -r</code> on my linux computer. I had 3462 blank entries listed on 12/31/1969. The first time
I restored my Windows datebook.dat, and hot-synced, all of the restored
records were again &#8220;deleted&#8221; because my Palm though it had the more
current copy of those records in 1969. I had to purge the records from
my Palm <em>before</em> hot-syncing with the restored datebook.dat file.</p>

<hr />

<p>Techrepublic has a <a href="http://blogs.techrepublic.com.com/10things/?p=895">Review of 10 outstanding Linux backup utilities</a>, many of which work on
other platforms as well.</p>

<p>Personal solutions (not hosted):</p>

<ul>
<li><a href="https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite">Simple Backup Suite</a> for Ubuntu and Fedora, which does full and incremental backups, on a schedule or manually. Install it on Fedora by running &#8220;<code>yum install sbackup</code>&#8220;. Configure and run by running &#8220;<code>/usr/bin/simple-backup-config</code>&#8220;</li>
<li><a href="http://www.diffingo.com/oss/fwbackups">fwbackups</a>, of which Techrepublic says, &#8220;This is, by far, the easiest of all the Linux backup solutions.&#8221;</li>
<li><a href="http://rsnapshot.org/">Rsnapshot</a></li>
<li><a href="http://duplicity.nongnu.org/">Duplicity</a> which is a command line utility, and is recommended by http://rsync.net</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/worth-the-money-automated-online-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Berkus: Five Steps to PostgreSQL Performance</title>
		<link>http://jaredrobinson.com/blog/berkus-five-steps-to-postgresql-performance/</link>
		<comments>http://jaredrobinson.com/blog/berkus-five-steps-to-postgresql-performance/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 20:30:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=560</guid>
		<description><![CDATA[Five Steps to PostgreSQL Performance by Josh Berkus October 2009 I found this to be informative, and much of the advice applies to databases besides PostgreSQL.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pgexperts.com/document.html?id=36">Five Steps to PostgreSQL Performance</a> by Josh Berkus October 2009</p>

<p>I found this to be informative, and much of the advice applies to databases besides PostgreSQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/berkus-five-steps-to-postgresql-performance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>f-spot and sqlite</title>
		<link>http://jaredrobinson.com/blog/f-spot-and-sqlite/</link>
		<comments>http://jaredrobinson.com/blog/f-spot-and-sqlite/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:04:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=519</guid>
		<description><![CDATA[I recently tried using Linux f-spot, with the intent to make it easier to browse, manipulate, manage and publish my photos. I wanted f-spot to manage my photo screen saver as well. f-spot seems to be good at importing photos, but getting photos removed is a bit more difficult. I organize my photos by date [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried using Linux <a href="http://f-spot.org/">f-spot</a>, with the intent to make it easier to browse, manipulate, manage and publish my photos. I wanted f-spot to manage my photo screen saver as well. f-spot seems to be good at importing photos, but getting photos removed is a bit more difficult.</p>

<p>I organize my photos by date an a directory structure such as &#8220;2010/2010.01.01 New Years Day&#8221;. The &#8220;2010&#8243; directory contains several sub directories. Each sub directory consists of a date and a description. If, for some reason, I import photos into f-spot that I don&#8217;t want in its database, I know what directory the photos pertain to. Unfortunately, F-spot doesn&#8217;t allow me to remove photos from its catalog by filename or file path. That&#8217;s okay though, because it stores its database using sqlite.</p>

<p>I figured this out by running <tt>lsof -p pid-of-f-spot</tt>, and noticed a file descriptor opened to &#8220;/home/jared/.config/f-spot/photos.db&#8221;. Then I ran <tt>file ~/.config/f-spot/photos.db</tt> and it helpfully told me that it is a &#8220;<a href="http://www.sqlite.org/">SQLite</a> 3.x database&#8221;.</p>

<p>After a bit of google research, I figured out I could install a SQLite manager on my Fedora system: <tt>yum install -y sqliteman</tt>, followed by running <tt>sqliteman ~/.config/f-spot/photos.db</tt>. I was expecting to see a command-line client, but to my surprise, I found a pleasant graphical interface. It was simple to browse the table schema and to run queries to update and morph the f-spot photo database. Note: I&#8217;d recommend making a backup copy of the database before altering it.</p>

<p>F-spot may not be everything I want it to be, but I managed to work past its limitations due to the fact that it used a well known, open data storage format.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/f-spot-and-sqlite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minimizing tracing/instrumentation overhead, injectso</title>
		<link>http://jaredrobinson.com/blog/minimizing-tracinginstrumentation-overhead-injectso/</link>
		<comments>http://jaredrobinson.com/blog/minimizing-tracinginstrumentation-overhead-injectso/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 13:13:46 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=503</guid>
		<description><![CDATA[Reading these articles from lwn.net: Minimizing instrumentation impacts and Debugging the Kernel using Ftrace, reminded me of Microsoft detours and Linux injectso (updated to work with current glibc, kernels).]]></description>
			<content:encoded><![CDATA[<p>Reading these articles from lwn.net: <a href="http://lwn.net/Articles/365833/">Minimizing instrumentation impacts</a> and <a href="http://lwn.net/Articles/365835/">Debugging the Kernel using Ftrace</a>, reminded me of <a href="http://research.microsoft.com/en-us/projects/detours/">Microsoft detours</a> and <a href="http://c-skills.blogspot.com/">Linux injectso</a> (updated to work with current glibc, kernels).</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/minimizing-tracinginstrumentation-overhead-injectso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using rsync with SELinux</title>
		<link>http://jaredrobinson.com/blog/using-rsync-with-selinux/</link>
		<comments>http://jaredrobinson.com/blog/using-rsync-with-selinux/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:54:35 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=467</guid>
		<description><![CDATA[Last week, I needed to move /home from one Fedora computer to another, and I used rsync over ssh move the data. On the new system, I noticed that procmail didn&#8217;t seem to be working, and neither did Dovecot. Nor could apache serve up my files. This had all been working on my previous Fedora [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, I needed to move /home from one Fedora computer to another, and I used rsync over ssh move the data.</p>

<p>On the new system, I noticed that procmail didn&#8217;t seem to be working, and neither did Dovecot. Nor could apache serve up my files. This had all been working on my previous Fedora system, which was running SELinux, as was my new system. What had happened?</p>

<p>I hadn&#8217;t told rsync to bring across the SELinux file contexts, which are stored in extended attributes. Here is the rsync option I should have used:</p>

<pre><code>-X, --xattrs
</code></pre>

<p>I could have used &#8216;tar&#8217; to move my home directory as well. In that case, I would have needed one of the following options: <code>--selinux</code> or <code>--xattrs</code></p>

<p>I resolved my SELinux issues using the excellent <a href="https://fedorahosted.org/setroubleshoot/">SETroubleShoot</a>, which explained what commands to run to restore the proper SELinux contexts on various files.</p>

<p>SELinux requires time to tune, and I use it because it enhances the security of my linux system, which serves up content over HTTP (Apache), IMAP (dovecot) and CIFS (Samba).</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/using-rsync-with-selinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 11 and Virtualization (KVM)</title>
		<link>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/</link>
		<comments>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:11:59 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=435</guid>
		<description><![CDATA[I&#8217;ve recently upgraded another computer from Fedora 9 to Fedora 11, and I&#8217;ve decided to try the built-in KVM (i.e. Applications -> System Tools -> Virtual Machine Manager). I wanted a virtual machine that had bridged mode networking, but it wasn&#8217;t available by default. To get it as an option, I disabled SELinux (not sure [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently upgraded another computer from Fedora 9 to Fedora 11, and I&#8217;ve decided to try the built-in <a href="http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine">KVM</a> (i.e. Applications -> System Tools -> <a href="http://virt-manager.et.redhat.com/">Virtual Machine Manager</a>). I wanted a virtual machine that had bridged mode networking, but it wasn&#8217;t available by default. To get it as an option, I disabled SELinux (not sure if it was necessary), followed <a href="http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging">some special instructions</a> to setup a bridged interface, and restarted my network and libvirtd.</p>

<p>Now I&#8217;ve got a working guest OS inside of KVM, and I like it. The guest OS feels snappy and responsive.</p>

<p>Update: KVM and the accompanying tools aren&#8217;t as mature as VirtualBox or VMWare. E.g. I didn&#8217;t see how to get my USB flash drive to be recognized by a KVM guest OS. At one point, I tried to use VirtualBox at the same time as KVM. VirtualBox told me I needed to disable the KVM kernel module before using VirtualBox.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switched from digitalspace to justhost</title>
		<link>http://jaredrobinson.com/blog/switched-from-digitalspace-to-justhost/</link>
		<comments>http://jaredrobinson.com/blog/switched-from-digitalspace-to-justhost/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 05:02:39 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=431</guid>
		<description><![CDATA[I&#8217;ve been running my website on digitalspace.net hosting for years. Then they sold out to jumpline, and my ability to push changes to my website via &#8216;rsync&#8216; disappeared, and was never restored. Although I still had ssh shell access, the account was seriously limited. It was probably a good security decision on their part, but [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running my website on digitalspace.net hosting for years. Then they sold out to jumpline, and my ability to push changes to my website via &#8216;<a href="http://www.samba.org/rsync/">rsync</a>&#8216; disappeared, and was never restored. Although I still had ssh shell access, the account was seriously limited. It was probably a good security decision on their part, but I missed having wget, tar, gunzip, chmod, and other essential utilities that I used when upgrading my blogging software. It became tedious, at best, to maintain my website.</p>

<p>I&#8217;ve finally switched to hosting through http://www.justhost.com and the transition has taken more time than I wanted. As a father of four dear children, I feel the time pinch. Migrating wordpress has been more tedious than expected. And then there&#8217;s email &#8212; that was a pain to switch as well. At one point, I even considered abandoning my website and switching my blog to a site like blogger.com. But I stuck with it.</p>

<p>Jumpline support has been good to work with, and I&#8217;m pleased with my ssh shell access. I get the power of a typical linux shell with my favorite utilities: rsync, tar, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/switched-from-digitalspace-to-justhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My impressions of Fedora 11</title>
		<link>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/</link>
		<comments>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 14:23:50 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=331</guid>
		<description><![CDATA[Here's my take on installing Fedora 11, which was released June 9, 2009. I chose not to do an upgrade as I often do. Instead, I did backup, followed by a fresh install, preserving my /home partition, but wiping out the other partitions. Then I used meld to restore my configuration files in /etc -- [...]]]></description>
			<content:encoded><![CDATA[<p>Here's my take on installing Fedora 11, which was released June 9, 2009. I chose not to do an upgrade as I often do. Instead, I did backup, followed by a fresh install, preserving my /home partition, but wiping out the other partitions. Then I used <a href="http://meld.sourceforge.net/"><code>meld</code></a> to restore my configuration files in /etc -- such as ssh server keys, printer settings and file system mounts. I found that I had to use the kernel boot option <code>nomodeset</code> in order to avoid system lockups. Overall, I've been pleased with my Fedora 11 experience, despite the bumps.</p>

<p>Fedora 11 useful resources:</p>

<ul>
<li><a href="http://docs.fedoraproject.org/release-notes/f11/en-US/">Release Notes</a></li>
<li><a href="http://fedoraproject.org/wiki/Common_F11_bugs">Common Bugs</a>, with workarounds.</li>
<li><a href="http://www.fedoraguide.info/">Fedora Guide</a>, explaining how to configure a Fedora system.</li>
</ul>

<p>Pre-install:</p>

<ul>
<li><code>cp -a /etc /home/backup/etc</code></li>
<li><code>cp -a /root /home/backup/etc</code></li>
<li>backup /home</li>
<li>booted the LiveCD to make sure it would detect my hardware and run</li>
</ul>

<p>Install</p>

<ul>
<li>I decided to preserve my partition layout, which isn't the default option upon fresh install</li>
<li>Didn't delete my <code>/home</code> partition.</li>
<li>Reformatted all other partitions, with "/" as ext4</li>
</ul>

<p>Post-install:</p>

<ul>
<li>Had to enable eth0 in NetworkManager, and make "enabled" the default.</li>
<li><code>yum install -y meld nautilus-actions nautilus-open-terminal vim-X11 zsh screen mc rdesktop</code></li>
<li><code>meld /home/backup/etc /etc</code>

<ul>
<li>Restored /etc/ssh settings</li>
<li>Restored /etc/cups printer settings</li>
<li>Checked /etc/fstab differences</li>
</ul></li>
<li>Installed <a href="http://www.nomachine.com/">NX Server</a></li>
</ul>

<p>Pleasurable:</p>

<ul>
<li>Bootup is very pleasant, and seems faster. 30 seconds boot. 17 seconds login. 14 second shutdown. This is on an AMD Athlon 2400 Mhz Sempron with an ATI video card.</li>
<li>Artwork is top notch (backgrounds on login screen and default wallpaper)</li>
</ul>

<p>Pain points:</p>

<ul>
<li>Unavailable extensions for Thunderbird 3.0
-- Enigmail</li>
<li>Unavailable extensions for Firefox 3.5
-- Aardvark
-- QuickProxy</li>
<li>Computer locked up every few hours until I added <code>nomodeset</code> to my kernel settings in /etc/grub.conf.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
