<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Unixy on Holyarmy.org</title>
		<link>https://holyarmy.org/tags/unixy/</link>
		<description>Recent content in Unixy on Holyarmy.org</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Mon, 09 Nov 2009 05:46:53 +0000</lastBuildDate>
		
			<atom:link href="https://holyarmy.org/tags/unixy/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Killing “find” Errors</title>
				<link>https://holyarmy.org/2009/11/killing-find-errors/</link>
				<pubDate>Mon, 09 Nov 2009 05:46:53 +0000</pubDate>
				<guid>https://holyarmy.org/2009/11/killing-find-errors/</guid>
				<description>&lt;p&gt;I’ve used the unix filesystem search utility &lt;strong&gt;find&lt;/strong&gt; for many years. Though, like most things, until forced to learn its deeper secrets, I generally get by with only the most basic knowledge.&lt;/p&gt;&#xA;&lt;p&gt;One of the cool things about &lt;strong&gt;find&lt;/strong&gt; is that you can specify a search and then execute an action on the results, all in one command.&lt;/p&gt;&#xA;&lt;p&gt;This example is probably my most common use of &lt;strong&gt;find&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;pre&gt;find . -type d -name .svn -exec rm -fr {} \;&#xA;&lt;/pre&gt;&#xA;&lt;p&gt;This means: find, in the current directory (.), a directory (-type d), named .svn (-name .svn), and for every result (-exec) remove that directory (rm -fr {}) .  The “{}” represents the matched path string, and the “;” is required to end the “-exec” command.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VPN on Ubuntu Linux with Juniper Network Connect</title>
				<link>https://holyarmy.org/2009/06/vpn-on-ubuntu-linux-with-juniper-network-connect/</link>
				<pubDate>Mon, 15 Jun 2009 23:13:25 +0000</pubDate>
				<guid>https://holyarmy.org/2009/06/vpn-on-ubuntu-linux-with-juniper-network-connect/</guid>
				<description>&lt;p&gt;There’s one standard document on HOWTO get Network Connect working on Ubuntu Linux. It’s mad scientist’s doc: &lt;a href=&#34;http://mad-scientist.us/juniper.html&#34;&gt;http://mad-scientist.us/juniper.html&lt;/a&gt; . However, there are a few things not covered. I’ll assume that you’ve followed mad scientist’s excellent guide before going any further.&lt;/p&gt;&#xA;&lt;h3 id=&#34;issue-1-64-bit-ubuntu&#34;&gt;Issue #1: 64-bit Ubuntu&lt;/h3&gt;&#xA;&lt;p&gt;By default, when you install java on your 64-bit system, you get a 64-bit java. No surprise there, right? Well, Juniper’s tools don’t play nice with 64-bit java. If you attempt to start the &lt;strong&gt;junipernc&lt;/strong&gt; script you’ll promptly see the “VPN has failed!” error message.&lt;figure id=&#34;attachment_400&#34; style=&#34;width: 204px&#34; class=&#34;wp-caption alignnone&#34;&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Foxmarks: Bookmark Synchronization Heaven</title>
				<link>https://holyarmy.org/2009/02/foxmarks-bookmark-synchronization-heaven/</link>
				<pubDate>Sat, 21 Feb 2009 22:19:25 +0000</pubDate>
				<guid>https://holyarmy.org/2009/02/foxmarks-bookmark-synchronization-heaven/</guid>
				<description>&lt;p&gt;Long have I searched for the magic bullet solution to my bookmark synchronization woes.  I’ve wanted a simple plugin that would synchronize my bookmarks between multiple installations of &lt;a href=&#34;http://www.getfirefox.com&#34;&gt;Firefox&lt;/a&gt; and &lt;a href=&#34;http://www.apple.com/safari/&#34;&gt;Safari&lt;/a&gt;, thus making it simple to access said bookmarks from any computer, or between the two commonly used browsers on my Mac.  I’ve looked at many options, but always the solution only allows me to sync one browser or the other, leaving me looking for some secondary sync tool to get between Firefox and Safari on my Mac itself, not via network or a proper sync.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Bonjour Avahi Addendum</title>
				<link>https://holyarmy.org/2008/11/bonjour-avahi-addendum/</link>
				<pubDate>Thu, 06 Nov 2008 16:23:53 +0000</pubDate>
				<guid>https://holyarmy.org/2008/11/bonjour-avahi-addendum/</guid>
				<description>&lt;p&gt;A while back I wrote about &lt;a href=&#34;https://holyarmy.org/2008/01/advertising-linux-services-via-avahibonjour&#34;&gt;advertising Linux services via Avahi/Bonjour&lt;/a&gt;. Since then I’ve made a few changes to my setup.&lt;/p&gt;&#xA;&lt;p&gt;First, I nixed netatalk for direct AFP support. My primary reason for using it was to gain a more Mac-like network filesystem which would make Time Machine happier. Well, Time Machine uses a sparse bundle disk image on it’s target; after learning about that, using AFP seemed a bit unnecessary. Also, Samba CIFS/SMB seemed to perform better. I don’t have solid benchmarks for this, but simple file copies seemed to be consistenly faster with Samba. One of the biggest annoyances about netatalk was all the extra hidden files and folders it created. I run a hybrid network, I have more Mac machines, but also Windows, plus I browse file systems on the command line quite often; and those excess files pushed me over the edge.&lt;/p&gt;&#xA;&lt;p&gt;Second, I nixed Time Machine. Just when I thought everything was working perfectly, it completely blew up and could no longer access its data store. Not good for a backup solution. I plan to write about my new home backup solution sometime, but it’s basically rsync with a few key points.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Advertising Linux Services via Avahi/Bonjour</title>
				<link>https://holyarmy.org/2008/01/advertising-linux-services-via-avahibonjour/</link>
				<pubDate>Sun, 27 Jan 2008 22:20:42 +0000</pubDate>
				<guid>https://holyarmy.org/2008/01/advertising-linux-services-via-avahibonjour/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; &lt;em&gt;most of this information is still correct but an update for combining service definitions into one file and setting an icon is available here: &lt;a href=&#34;https://holyarmy.org/2008/11/bonjour-avahi-addendum&#34;&gt;bonjour-avahi-addendum&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;In my last post I outlined how I followed others’ directions to enable netatalk on Linux and Time Machine backups to a shared AFP folder. Originally, I also described how to put all your shares on netatalk. I suppose if only have Mac clients or you REALLY want to use AFP, you can do so. As I worked with files over AFP shares, I started noticing that the performance seemed to be quite bad. No, I didn’t benchmark, but copying large video files to a shared folder over my gigabit network was substantially slower over AFP (netatalk) than over CIFS/SMB (samba). I use my network shares pretty heavily, so this was a concern. Also, netatalk tries very hard to replicate an HFS filesystem complete with resource fork support. This means that your shared directories end up with lots of extra folders named “.AppleDouble”(and a few others) containing Mac specific info. (Note: even on CIFS you’ll get the “.AppleDB” folders unless you disable a setting in Finder. I can deal with .AppleDB better than .AppleDouble AND .AppleDB) So, because of these two issues I decided to try using CIFS and samba again.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Time Machine backup to Linux via Netatalk</title>
				<link>https://holyarmy.org/2008/01/time-machine-backup-to-linux-via-netatalk/</link>
				<pubDate>Thu, 24 Jan 2008 07:26:49 +0000</pubDate>
				<guid>https://holyarmy.org/2008/01/time-machine-backup-to-linux-via-netatalk/</guid>
				<description>&lt;div&gt;&#xA;  So, when I got the upgrade from Tiger to Leopard on my MacBook Pro, I was looking for a good backup solution. I&amp;#8217;ve used &lt;a href=&#34;http://samba.anu.edu.au/rsync/&#34; target=&#34;_blank&#34;&gt;rsync&lt;/a&gt; in the past, but when I saw that Apple had a new &lt;a href=&#34;http://www.apple.com/macosx/features/timemachine.html&#34; target=&#34;_blank&#34;&gt;Time Machine&lt;/a&gt; backup tool, I was curious to give it a shot. The catch is you basically needed an external USB or Firewire drive, until they recently came out with the &lt;a href=&#34;http://www.apple.com/timecapsule/&#34; target=&#34;_blank&#34;&gt;Time Capsule&lt;/a&gt;. Anyway, tonight I got the itch to really see if I could make Time Machine work without buying extra hardware. I mean, seriously, I&amp;#8217;ve got a good hunk of mirrored disk sitting on my home server; that seems like a good place to do backups.&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA;  Some googling found me this &lt;a href=&#34;http://www.fey.ca/blarchives/2007/11/18/time_machine_and_netatalk.html&#34; target=&#34;_blank&#34;&gt;link&lt;/a&gt; to a blogger who&amp;#8217;d done it!&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA;&lt;/div&gt;&#xA;&lt;div&gt;&#xA;  I&amp;#8217;ll make my own version of this post, since I had a few differences from the original I where I found the info.&#xA;&lt;/div&gt;</description>
			</item>
			<item>
				<title>Fixing Binary File Corruption from Ant Copies</title>
				<link>https://holyarmy.org/2007/10/fixing-binary-file-corruption-from-ant-copies/</link>
				<pubDate>Thu, 01 Nov 2007 02:44:09 +0000</pubDate>
				<guid>https://holyarmy.org/2007/10/fixing-binary-file-corruption-from-ant-copies/</guid>
				<description>&lt;p&gt;So there I was, poking around in some java / j2ee code, trying to learn how it all works. I did some testing on a Linux server and realized, something is broken. It seemed something was corrupting ALL the Jar files in WEB-INF/lib/.&lt;/p&gt;&#xA;&lt;p&gt;A co-worker guessed that the token filtering Ant was doing might be the culprit. He was right. It seems Ant has issues with detecting whether files are binary or not, given that it uses a Reader class which runs the files through a character decoder. This is specifically a problem on Unix systems since they commonly use UTF8 character set, and in that case Ant hasn’t a clue if its looking at UTF8 text or binary data.&lt;/p&gt;</description>
			</item>
			<item>
				<title>EasyVMX: Easily Create VMware Player Machines</title>
				<link>https://holyarmy.org/2007/09/easyvmx-easily-create-vmware-player-machines/</link>
				<pubDate>Thu, 20 Sep 2007 15:39:31 +0000</pubDate>
				<guid>https://holyarmy.org/2007/09/easyvmx-easily-create-vmware-player-machines/</guid>
				<description>&lt;p&gt;I’ve used this before, but today I was struck by how useful &lt;a href=&#34;http://www.easyvmx.com&#34; target=&#34;_blank&#34;&gt;EasyVMX&lt;/a&gt; really is! I’m setting up a new &lt;a href=&#34;http://syslinux.zytor.com/pxe.php&#34; target=&#34;_blank&#34;&gt;PXELINUX&lt;/a&gt; / TFTP server (which will incidentally be running the &lt;a href=&#34;http://pxeknife.erebor.org/&#34;&gt;PXE Knife&lt;/a&gt; tools put together by my friends John and Brian.&lt;/p&gt;&#xA;&lt;p&gt;Anyway, EasyVMX provides a form (easy, super simple and 2.0 with advanced options) to generate a VMX config file (which &lt;a href=&#34;http://www.vmware.com&#34; target=&#34;_blank&#34;&gt;VMware&lt;/a&gt; uses) to run a virtual machine. All you have to do is choose a few basic options about what you need on your machine, how much RAM, how big your disk needs to be, etc; click ‘Create’; and download your zip file. Simpl, easy, and I’ve got a VMware virtual machine that I can run in the free, &lt;a href=&#34;http://www.vmware.com/products/player/&#34; target=&#34;_blank&#34;&gt;VMware player.&lt;/a&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
