<?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>AlexCline.net &#187; Software</title>
	<atom:link href="http://alexcline.net/category/technology/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexcline.net</link>
	<description>The musings of a geek, cyclist, cinephile, yogi, diver, philosopher and gamer.</description>
	<lastBuildDate>Thu, 02 Feb 2012 19:13:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>&#8220;Message: dualvar is only available with the XS version of Scalar::Util&#8221; Error in CentOS 5</title>
		<link>http://alexcline.net/2012/02/02/message-dualvar-is-only-available-with-the-xs-version-of-scalarutil-error-in-centos-5/</link>
		<comments>http://alexcline.net/2012/02/02/message-dualvar-is-only-available-with-the-xs-version-of-scalarutil-error-in-centos-5/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 19:13:32 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Randomness]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=508</guid>
		<description><![CDATA[After upgrading the CentOS 5 system that is running my company&#8217;s internal ticketing system (OTRS), the automated cron jobs for processing tickets started throwing the following error: This error was caused by an upgrade to the Compress::Zlib package. The newer version of the package isn&#8217;t compiled with XS support. I found some information about this [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading the CentOS 5 system that is running my company&#8217;s internal ticketing system (OTRS), the automated cron jobs for processing tickets started throwing the following error:</p>
<pre class="brush: plain; title: ; notranslate">Message: dualvar is only available with the XS version of Scalar::Util at /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/SSL.pm line 19</pre>
<p>This error was caused by an upgrade to the Compress::Zlib package.  The newer version of the package isn&#8217;t compiled with XS support.  I found some information about this error from this <a href="http://lists.otrs.org/pipermail/otrs/2010-October/033515.html">OTRS mailing list post</a> from 2010 regarding RHEL.  Looks like it takes about a year for RHEL packages to make it downstream to CentOS.</p>
<p>To fix the error, I ran the following from the command line:</p>
<pre class="brush: bash; title: ; notranslate">perl -MCPAN -e &quot;CPAN::Shell-&gt;force(qw(install Scalar::Util));&quot;</pre>
<p>After letting the cronjobs rerun, the error was gone and tickets successfully processed again.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2012/02/02/message-dualvar-is-only-available-with-the-xs-version-of-scalarutil-error-in-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable nouveau drivers in Fedora 15</title>
		<link>http://alexcline.net/2011/10/12/disable-nouveau-drivers-in-fedora-15/</link>
		<comments>http://alexcline.net/2011/10/12/disable-nouveau-drivers-in-fedora-15/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 14:03:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=458</guid>
		<description><![CDATA[Edit: This also works in Fedora 16. During the upgrade I had to boot into single user mode to switch to run level 3 and reinstall the latest nVidia drivers. Then switch back to run level 5 and reboot. When trying to install the latest nVidia drivers on my Fedora 15 workstation, I kept getting [...]]]></description>
			<content:encoded><![CDATA[<p><em>Edit:  This also works in Fedora 16.  During the upgrade I had to boot into single user mode to switch to run level 3 and reinstall the latest nVidia drivers.  Then switch back to run level 5 and reboot.</em></p>
<p>When trying to install the latest nVidia drivers on my Fedora 15 workstation, I kept getting errors about the default nouveau video driver being loaded into the kernel.  The nVidia installer creates a modprobe config file that is supposed to prevent that module from being loaded but it doesn&#8217;t work fully.</p>
<p>To <em>really</em> disable the nouveau driver, you need to edit the grub config file and add the following to the end of the kernel init line:</p>
<pre class="brush: plain; title: ; notranslate">rdblacklist=nouveau nouveau.modeset=0</pre>
<p>For example, your resulting grub.conf file will look like this:</p>
<pre class="brush: plain; title: ; notranslate">title Fedora (2.6.40.6-0.fc15.x86_64)
        root (hd0,1)
        kernel /vmlinuz-2.6.40.6-0.fc15.x86_64 ro root=/dev/mapper/vg_cline-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb vga=794 quiet rdblacklist=nouveau nouveau.modeset=0
        initrd /initramfs-2.6.40.6-0.fc15.x86_64.img</pre>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/10/12/disable-nouveau-drivers-in-fedora-15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Remote Disk Browsing on a Mac</title>
		<link>http://alexcline.net/2011/08/31/enable-remote-disk-browsing-on-a-mac/</link>
		<comments>http://alexcline.net/2011/08/31/enable-remote-disk-browsing-on-a-mac/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 14:04:22 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[blu-ray]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[remote disk]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=352</guid>
		<description><![CDATA[I recently bought a blu-ray drive for my PC to be able to watch movies and burn blu-ray disks easily. Sadly, Apple doesn&#8217;t offer a Mac with a blu-ray drive nor have I found a blu-ray internal drive for Macbook Pros. One thing that is available for Macs is called &#8216;DVD or CD Sharing&#8217;, also [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a blu-ray drive for my PC to be able to watch movies and burn blu-ray disks easily.  Sadly, Apple doesn&#8217;t offer a Mac with a blu-ray drive nor have I found a blu-ray internal drive for Macbook Pros.</p>
<p>One thing that is available for Macs is called &#8216;DVD or CD Sharing&#8217;, also called &#8216;Remote Disk&#8217;.  You can find the default instructions on how to set it up over at <a href="http://support.apple.com/kb/HT1777?viewlocale=en_US" target="_blank">Apple&#8217;s support article</a>.  The instructions include how to install the DVD or CD Sharing client on a Windows PC for sharing to a Mac.</p>
<p>What isn&#8217;t included in those instructions is the fact that by default, only Macbook Airs and Mac Minis support Remote Disk out of the box.  I guess this is because they are the only two Mac models that don&#8217;t have optical drives.</p>
<p>Once DVD or CD Sharing has been enabled on a remote system (and the firewalls between the two systems correctly configured), the following two lines will activate the &#8216;Remote Disk&#8217; option in the Finder window.  Run them in a terminal window, then restart your computer.</p>
<pre class="brush: plain; title: ; notranslate">defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true
defaults write com.apple.NetworkBrowser ODSSupported -bool true</pre>
<p>After boot, you should see the following options in your Finder.<br />
<a href="http://alexcline.net/2011/08/31/enable-remote-disk-browsing-on-a-mac/remotedisk/" rel="attachment wp-att-353"><img src="http://alexcline.net/files/2011/08/remotedisk-e1314799347763.png" alt="Screenshot of Finder with Remote Disk devices" title="Remote Disk" width="521" height="294" class="aligncenter size-full wp-image-353" /></a><br />
<em>Note: My PC has two disk drives shared in the above picture.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/08/31/enable-remote-disk-browsing-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Augeas Lens for Modifying Munin Nodes</title>
		<link>http://alexcline.net/2011/08/11/augeas-lens-for-modifying-munin-nodes/</link>
		<comments>http://alexcline.net/2011/08/11/augeas-lens-for-modifying-munin-nodes/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 21:14:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=347</guid>
		<description><![CDATA[Augeas (from EPEL) doesn&#8217;t come with a default lens for the munin-node.conf files that control Munin Nodes. So I whipped one together.]]></description>
			<content:encoded><![CDATA[<p>Augeas (from EPEL) doesn&#8217;t come with a default lens for the munin-node.conf files that control Munin Nodes.  So I whipped one together.</p>
<pre class="brush: plain; title: ; notranslate">
(* Munin Node module for Augeas *)

module MuninNode =
  autoload xfm

  let record =
    let value = store /[^ \t\n]+([ \t]+[^ \t\n]+)*/ in
      [ key Rx.word . Sep.space . value . Util.eol ]

  let lns = (record | Util.comment | Util.empty) *

  let filter = incl &quot;/etc/munin/munin-node.conf&quot; . Util.stdexcl

  let xfm = transform lns filter
</pre>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/08/11/augeas-lens-for-modifying-munin-nodes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Volume group &#8220;VolGroup00&#8243; not found woes.</title>
		<link>http://alexcline.net/2011/06/30/volume-group-volgroup00-not-found-woes/</link>
		<comments>http://alexcline.net/2011/06/30/volume-group-volgroup00-not-found-woes/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 14:08:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[p2v]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=341</guid>
		<description><![CDATA[My attempts to migrate a physical CentOS installation to a Virtual machine were fraught with perils. First, I had to figure out how to actually transfer the data. There are many tools out there that say they can assist in a P2V conversion, but the simplest method is usually the easiest. I ended up going [...]]]></description>
			<content:encoded><![CDATA[<p>My attempts to migrate a physical CentOS installation to a Virtual machine were fraught with perils.  First, I had to figure out how to actually transfer the data.  There are many tools out there that say they can assist in a P2V conversion, but the simplest method is usually the easiest.  I ended up going with a good old <code>dd</code>.</p>
<ol>
<li>First, you&#8217;ll want to create the new VM that you&#8217;ll be migrating to; we&#8217;ll call this the DestinationVM.  Just configure the hardware &#8212; don&#8217;t install an OS.</li>
<li>Next, boot the VM from the CentOS installation disk and enter rescue mode.  At the prompt, type
<pre class="brush: bash; title: ; notranslate">linux rescue</pre>
</li>
<li>Configure the network interfaces and when it asks to search for installations, allow it to initialize the disks in the VM.  There isn&#8217;t an install present, but we need to setup the disks to perform the copy.</li>
<li>When the VM has booted run
<pre class="brush: bash; title: ; notranslate">nc -l -p 6501 | dd of=/dev/sda</pre>
<p>  This will start the nc daemon and output the data to the /dev/sda disk.  <em>Make sure to change the destination disk if it is different than /dev/sda.</em></li>
<li>On the physical machine run
<pre class="brush: bash; title: ; notranslate">dd if=/dev/sda | nc &lt;ip-of-VM&gt; 6501</pre>
<p>  <em>Tip: Start the command in a <code>screen</code> session if you might be disconnected from the server during the transfer.  It may take a while.</em></li>
<li>You won&#8217;t see anything until the transfer completes.  It took 6 hours for a 250GB drive to copy for me.  YMMV</li>
<li>Once the transfer is complete, reboot the VM and you should be good to go!</li>
</ol>
<p>Sadly, when I rebooted the VM, I encountered the following error:</p>
<pre class="brush: plain; title: ; notranslate">  Reading all physical volumes. This may take awhile...
  Volume group &quot;VolGroup00&quot; not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!</pre>
<p>This error likely means that the kernel copied from the old physical system doesn&#8217;t have drivers to support the disk hardware in the virtual machine.  Because of this, the LVM configuration isn&#8217;t loading properly.  The easiest way to resolve this is to reinstall the kernel using <code>yum</code>.</p>
<ol>
<li>Boot the VM into the CentOS install CD and at the prompt, type
<pre class="brush: bash; title: ; notranslate">linux rescue</pre>
</li>
<li>Enable and configure networking and allow the mounting of the local installation.  Make sure to mount is as read/write &#8212; we&#8217;ll be making changes to it.</li>
<li>
<pre class="brush: bash; title: ; notranslate">chroot /mnt/sysconfig
yum remove kernel
yum install kernel
exit
exit</pre>
<p><em>Note, it&#8217;s OK to remove all versions of the kernel.  Just make sure you install one before you reboot.</em>
</li>
<li>The system will reboot, once it does, let it load into the OS.  If everything went OK, your new system will be up and running!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/06/30/volume-group-volgroup00-not-found-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expand CentOS 5.6 LVM running on vSphere.</title>
		<link>http://alexcline.net/2011/06/06/expand-centos-5-6-lvm-running-on-vsphere/</link>
		<comments>http://alexcline.net/2011/06/06/expand-centos-5-6-lvm-running-on-vsphere/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 19:26:13 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=317</guid>
		<description><![CDATA[I spent a while looking for information about how to resize an LVM within CentOS 5.6. After adding additional space to the Virtual disk through the vSphere1, CentOS doesn&#8217;t automatically utilize that space. To be able to make use of the extra space, you&#8217;ll have to do the following: Note: These initial steps are required [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a while looking for information about how to resize an LVM within CentOS 5.6.  After adding additional space to the Virtual disk through the vSphere<a href="#vmware"><sup>1</sup></a>, CentOS doesn&#8217;t automatically utilize that space.  To be able to make use of the extra space, you&#8217;ll have to do the following:<br />
<em>Note: These initial steps are required when expanding the size of the root partition.  A non-system partition can be expanded without having to restart.</em></p>
<ol>
<li>Boot into a CentOS 5 installation disk.  At the prompt, type:
<pre class="brush: bash; title: ; notranslate">linux rescue</pre>
</li>
<li>Type the following commands at the prompt.  <em>The following assume you have a standard CentOS LVM configuration.</em></li>
<li>
<pre class="brush: bash; title: ; notranslate">
# Create new partition from free space
fdisk /dev/sda
p  # Print partition table
n  # New partition
p  # Primary partition
3  # ID = 3
t  # Change partition type
3  # Change partition 3
8e # Type = Linux LVM
p  # Print partition table
w  # Write partition table

# Create a new LVM physical volume from the new partition
lvm pvcreate /dev/sda3
lvm pvdisplay

# Extend the volume group with the new physical volume
lvm vgextend /dev/VolGroup00 /dev/sda3

# Extend the logical volume to include 100% of the free space on the volume group.
lvm lvextend -l+100%FREE /dev/VolGroup00/LogVol00

# Mount the volume group
lvm vgscan
lvm vgchange -ay

# Resize the filesystem on the volume group to match the total size of the drive.
resize2fs /dev/VolGroup00/LogVol00
</pre>
</li>
</ol>
<p><strong>As always, have a backup of your data.</strong></p>
<p><sup>1</sup> Learn about how to resize the virtual disk in <a href="http://kb.vmware.com/kb/1004047" name="vmware">VMWare KB Article 1004047</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/06/06/expand-centos-5-6-lvm-running-on-vsphere/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fix from address (root@localhost.localdomain) in sendmail</title>
		<link>http://alexcline.net/2011/03/22/fix-from-address-rootlocalhost-localdomain-in-sendmail/</link>
		<comments>http://alexcline.net/2011/03/22/fix-from-address-rootlocalhost-localdomain-in-sendmail/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 16:53:13 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Randomness]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=309</guid>
		<description><![CDATA[I&#8217;m usually a postfix guy. That&#8217;s what I run on my servers and it&#8217;s the configuration I understand. So when someone asked me to take a look at an issue on a server running sendmail, I was a bit befuddled. The problem was that any messages sent from the command line, were arriving with a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m usually a postfix guy.  That&#8217;s what I run on my servers and it&#8217;s the configuration I understand.  So when someone asked me to take a look at an issue on a server running sendmail, I was a bit befuddled.</p>
<p>The problem was that any messages sent from the command line, were arriving with a from address of root@localhost.localdomain.  This was a bit of a problem.  To test and confirm I ran the following:</p>
<pre class="brush: bash; title: ; notranslate">echo &quot;Who will this message be addressed from?  The world may never know.&quot; | mail -s &quot;Testing sendmail&quot; alex</pre>
<p>And sure enough, I get an email address from root@localhost.localdomain.  I end up Googling combinations of &#8216;root@localhost.localdomain&#8217;, &#8216;localhost.localdomain&#8217; and &#8216;sendmail&#8217;.  The options were pretty much useless.  Too much noise about changing the sendmail configuration options.</p>
<p>In the end, I stumbled upon the real way to fix it&#8230;.  Open /etc/hosts and change add the host&#8217;s name <em>before</em> the localhost.localdomain entry on the first line.</p>
<pre class="brush: bash; title: ; notranslate">127.0.0.1     host.foobar.com host localhost.localdomain localhost
::1           localhost6.localdomain6 localhost6</pre>
<p>Turns out, sendmail looks for the first hostname in the hosts file for the loopback address and uses that in the from field when a from address isn&#8217;t specified by the mail client.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/03/22/fix-from-address-rootlocalhost-localdomain-in-sendmail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing FreeNAS to a flash drive on a Mac</title>
		<link>http://alexcline.net/2011/02/25/installing-freenas-to-a-flash-drive-on-a-mac/</link>
		<comments>http://alexcline.net/2011/02/25/installing-freenas-to-a-flash-drive-on-a-mac/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 03:45:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=300</guid>
		<description><![CDATA[I&#8217;m building a NAS and decided to use FreeNAS to deploy it (rather than buy a hardware solution). The installation instructions were easy enough though they didn&#8217;t include instructions on how to install FreeNAS onto a flash drive while running a Mac. I found a 512MB flash drive that was perfectly suitable for the install. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m building a NAS and decided to use <a href="http://freenas.org/">FreeNAS</a> to deploy it (rather than buy a hardware solution).  The installation instructions were easy enough though they didn&#8217;t include instructions on how to install FreeNAS onto a flash drive while running a Mac.  I found a 512MB flash drive that was perfectly suitable for the install.<br />
<em>Note: The instructions below include terminal commands.  The command is presented with an example of expected output.</em></p>
<ol>
<li>Download the latest release of FreeNAS from the <a href="http://freenas.org/#downloads">downloads page</a>.  The version I downloaded was titled &#8216;FreeNAS-amd64-embedded-0.7.2.5543.img&#8217;.  Make sure you get the .img file, not the .iso.</li>
<li>Plug your flash drive into your computer and open a new terminal window.</li>
<li>Using diskutil, find the device node for your flash drive:
<pre class="brush: bash; title: ; notranslate">mac:~ alex$ diskutil list
/dev/disk0
   #:                  TYPE NAME                    SIZE       IDENTIFIER
   0: GUID_partition_scheme                        *500.1 GB   disk0
   1:                   EFI                         209.7 MB   disk0s1
   2:             Apple_HFS Macintosh HD            499.8 GB   disk0s2
/dev/disk1
   #:                  TYPE NAME                    SIZE       IDENTIFIER
   0:                       CDROM                  *512.5 MB   disk1</pre>
</li>
<li>The flash drive&#8217;s device node in the above output is /dev/disk1.  Now, unmount the drive:
<pre class="brush: bash; title: ; notranslate">mac:~ alex$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful</pre>
</li>
<li>Next, we&#8217;ll extract the image&#8217;s contents onto the flash drive.  <em>Warning: This will delete all of the data off of the drive.</em>
<pre class="brush: bash; title: ; notranslate">mac:~ alex$ sudo dd if=~/Downloads/FreeNAS-amd64-embedded-0.7.2.5543.img of=/dev/disk1
203632+0 records in
203632+0 records out
104259584 bytes transferred in 66.608632 secs (1565256 bytes/sec)</pre>
</li>
<li>Lastly, eject the drive.
<pre class="brush: bash; title: ; notranslate">$ diskutil eject /dev/disk1
Disk /dev/disk1 ejected</pre>
</li>
</ol>
<p>Now you can use the flash drive to boot off of and run your FreeNAS instance from.  Good times!</p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/02/25/installing-freenas-to-a-flash-drive-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAMP?  More like LAMP.</title>
		<link>http://alexcline.net/2011/02/21/mamp-more-like-lamp/</link>
		<comments>http://alexcline.net/2011/02/21/mamp-more-like-lamp/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 22:27:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=294</guid>
		<description><![CDATA[So I was looking for web servers to run on my MBP. I came across MAMP which looks like a pretty good piece of software. While downloading I became curious if the MAMP team actually used MAMP servers. Checking the HTTP headers revealed the following: I&#8217;ll take that as a No. For the record, I [...]]]></description>
			<content:encoded><![CDATA[<p>So I was looking for web servers to run on my MBP.  I came across <a href="http://www.mamp.info/">MAMP</a> which looks like a pretty good piece of software.  While downloading I became curious if the MAMP team actually used MAMP servers.</p>
<p>Checking the HTTP headers revealed the following:</p>
<pre class="brush: plain; title: ; notranslate">
Server: Apache/2.2.4 (Linux/SUSE)
</pre>
<p>I&#8217;ll take that as a No.</p>
<p>For the record, I use the LAMP stack for my sites.  I am messing around with offline development and needed an environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2011/02/21/mamp-more-like-lamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List last modified file in all subdirectories</title>
		<link>http://alexcline.net/2010/11/23/list-last-modified-file-in-all-subdirectories/</link>
		<comments>http://alexcline.net/2010/11/23/list-last-modified-file-in-all-subdirectories/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 22:13:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Randomness]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://alexcline.net/?p=262</guid>
		<description><![CDATA[I don&#8217;t know when someone would use this little snippet, but I think it&#8217;s useful. It will open every directory in /home and retrieve the last modified file in all subdirectories under that directory. Then it will print out the file&#8217;s modification time and path. This might be useful for a system administrator who wants [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know when someone would use this little snippet, but I think it&#8217;s useful.</p>
<p>It will open every directory in /home and retrieve the last modified file in all subdirectories under that directory.  Then it will print out the file&#8217;s modification time and path.  This might be useful for a system administrator who wants to see when the last time a user modified a file in their home directory.</p>
<pre class="brush: bash; title: Bash; notranslate">
for i in `find /home -maxdepth 1 -mindepth 1 -type d`; do
  cd $i
  find `pwd` -type f -printf &quot;%TY-%Tm-%Td %TT %p\n&quot; | sort | tail -n 1
done
</pre>
<p>To run it, save the code as &#8216;directory-age-check.sh&#8217; and run:</p>
<pre class="brush: bash; title: Run; notranslate"> sudo ./directory-age-check.sh | sort </pre>
]]></content:encoded>
			<wfw:commentRss>http://alexcline.net/2010/11/23/list-last-modified-file-in-all-subdirectories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

