<?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>Hoketronics - Mike Hochanadel &#187; Ubuntu</title>
	<atom:link href="http://hoketronics.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoketronics.net</link>
	<description>Spiraled out of the Mind of Mike</description>
	<lastBuildDate>Mon, 30 Aug 2010 05:01:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<script type="text/javascript">

Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){

	var args = arguments;
	if (!document.body) { return setTimeout(function(){ args.callee.apply(this, args) }, 100); }
	var d=document, b=d.body, m=b.insertBefore(d.createElement('div'), b.firstChild); s=d.createElement('script');
	m.id='meebo'; m.style.display='none'; m.innerHTML='<iframe id="meebo-iframe"></iframe>';
	s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;
	b.insertBefore(s, b.firstChild);

})({network:'hoketronics_xu13ye'});	</script>	<item>
		<title>Subversion Install Swankiness Part I</title>
		<link>http://hoketronics.net/2008/11/08/subversion-install-swankiness-part-i/</link>
		<comments>http://hoketronics.net/2008/11/08/subversion-install-swankiness-part-i/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 17:42:56 +0000</pubDate>
		<dc:creator>mike.hochanadel</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[revision control]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hoketronics.net/?p=36</guid>
		<description><![CDATA[Here we go with the newly decided first part of my Subversion install series.  I decided to break it up into smaller chunks of articles as the first part really is the installation/setup part and the second is the integration/deploying part.  So with this first part we're gonna talk about downloading, verification, repository setup, and [...]]]></description>
			<content:encoded><![CDATA[<p>Here we go with the newly decided first part of my Subversion install series.  I decided to break it up into smaller chunks of articles as the first part really is the installation/setup part and the second is the integration/deploying part.  So with this first part we're gonna talk about downloading, verification, repository setup, and Apache integration.  I'll make it short and sweet as possible but grab a cup of joe so we can get started.</p>
<p>When figuring out how I should download Subversion, I weighed many options.  I could either grab the source from their <a href="http://subversion.tigris.org">website at Tigris</a> or install from Ubuntu's repository.  The hardcore geek in me wanted to compile from source, but I really wanted to roll out the software quick so I can focus on the blog code.  Also  updates trickle down from Ubuntu with relative automation, so I went with acquiring the binary from Ubuntu.  It really makes sense to knock out the binaries for tools surrounding a project and focus on source for project related code.  Why waste your time setting up a utility when it's the poject you should be working on?</p>
<p><span id="more-36"></span></p>
<p>After some research, I decided to follow the steps <a title="Install Subversion with Web Access on Ubuntu" href="http://www.howtogeek.com/howto/ubuntu/install-subversion-with-web-access-on-ubuntu/" target="_blank">provided by How-To Geek</a>.  I updated my repository and installed Subversion.  After the packages were downloaded, unpacked, and installed, I verified that it had indeed been setup on my system.  Here's how it happened:</p>
<p><code>hokey@tardis:~$ sudo apt-get install subversion<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
libneon26 libsvn1<br />
Suggested packages:<br />
subversion-tools db4.4-util<br />
The following NEW packages will be installed:<br />
libneon26 libsvn1 subversion<br />
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.<br />
Need to get 964kB of archives.<br />
After unpacking 5128kB of additional disk space will be used.<br />
Do you want to continue [Y/n]?</code></p>
<p><code>hokey@tardis:~$ svn --version<br />
svn, version 1.4.4 (r25188)<br />
compiled Sep 28 2007, 10:50:44</code></p>
<p><code>Copyright (C) 2000-2006 CollabNet.<br />
Subversion is open source software, see http://subversion.tigris.org/<br />
This product includes software developed by CollabNet (http://www.Collab.Net/).</code></p>
<p><code>The following repository access (RA) modules are available:</code></p>
<p><code>* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.<br />
- handles 'http' scheme<br />
- handles 'https' scheme<br />
* ra_svn : Module for accessing a repository using the svn network protocol.<br />
- handles 'svn' scheme<br />
* ra_local : Module for accessing a repository on local disk.<br />
- handles 'file' scheme</code></p>
<p>So after verification it was time to decide on where to create my new repository and setup web access.  Now with anything Linux-wise, you are pretty much left to your own notions as to where to drop a directory for installs.  Companies like Adobe use <code>/opt</code> for their application installs and some programs use <code>/var</code> to store data separate from program files.  I figured <code>/var/svn</code> was reasonable enough so I had at it, creating the directory and using the Subversion command <code>create</code> to setup the files:</p>
<p><code>hokey@tardis:/var$ sudo mkdir svn</code></p>
<p><code>hokey@tardis:/var$ sudo svnadmin create /var/svn/</code></p>
<p><code>hokey@tardis:/var$ cd svn<br />
hokey@tardis:/var/svn$ ls -lat<br />
total 36<br />
drwxr-xr-x  7 root root 4096 2008-11-07 17:54 .<br />
drwxr-xr-x  2 root root 4096 2008-11-07 17:54 conf<br />
drwxr-xr-x  2 root root 4096 2008-11-07 17:54 dav<br />
drwxr-sr-x  5 root root 4096 2008-11-07 17:54 db<br />
-r--r--r--  1 root root    2 2008-11-07 17:54 format<br />
drwxr-xr-x  2 root root 4096 2008-11-07 17:54 hooks<br />
drwxr-xr-x  2 root root 4096 2008-11-07 17:54 locks<br />
-rw-r--r--  1 root root  229 2008-11-07 17:54 README.txt<br />
drwxr-xr-x 15 root root 4096 2008-11-07 17:47 ..</code></p>
<p>Now that the repository was created, I needed to figure out how to get web access up.  Welp, thanks to the How-To Geek and the original coders of the module, there was one available to tie it all together.  Using <code>libapache2_svn</code>, a client can connect via Apache to a Subversion repository and write to it using DAV.  This was a perfect setup, even though the security isn't the greatest, for me to develop locally before deploying my sites to my host.  So here's how I did it:</p>
<p><code>hokey@tardis:/etc/apache2/mods-available$ sudo apt-get install libapache2-svn<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
Suggested packages:<br />
db4.4-util<br />
The following NEW packages will be installed:<br />
libapache2-svn<br />
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 136kB of archives.<br />
After unpacking 344kB of additional disk space will be used.<br />
Get:1 http://us.archive.ubuntu.com gutsy/main libapache2-svn 1.4.4dfsg1-1ubuntu3 [136kB]<br />
Fetched 136kB in 1s (126kB/s)<br />
Selecting previously deselected package libapache2-svn.<br />
(Reading database ... 30761 files and directories currently installed.)<br />
Unpacking libapache2-svn (from .../libapache2-svn_1.4.4dfsg1-1ubuntu3_i386.deb) ...<br />
Setting up libapache2-svn (1.4.4dfsg1-1ubuntu3) ...<br />
Enabling dav as a dependency<br />
Module dav installed; run /etc/init.d/apache2 force-reload to enable.<br />
Module dav_svn installed; run /etc/init.d/apache2 force-reload to enable.</code></p>
<p>After I installed the module, I had to edit the <code>dav_svn.conf</code> file to point to my settings.  Following the instructions, I removed the comments for configuration which included:</p>
<ul>
<li>Setting the repository location:<code>Location /var/svn</code></li>
<li>Uncommenting <code>DAV svn</code></li>
<li>Setting the SVNPath: <code>SVNPath /var/svn</code></li>
<li>And ucommenting the authority settings:<br />
<code>AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile <em>XXXXXX</em><br />
Require valid-user</code></li>
</ul>
<p>I then setup the authentication:<br />
<code>hokey@tardis:/etc/apache2/mods-enabled$sudo htpasswd -cm /etc/apache2/dav_svn.passwd hokey<br />
New password:<br />
Re-type new password:<br />
Adding password for user hokey</code></p>
<p>After doing a quick restart: <code>hokey@tardis:/etc/apache2/mods-enabled$ sudo apache2ctl restart</code>, I got this:</p>
<div id="attachment_37" class="wp-caption aligncenter" style="width: 478px"><a href="http://hoketronics.net/~/html/hoketronics.net/wp-content/uploads/2008/11/subversionwrong.png"><img class="size-full wp-image-37" title="subversionwrong" src="http://hoketronics.net/~/html/hoketronics.net/wp-content/uploads/2008/11/subversionwrong.png" alt="The wrong Location" width="468" height="374" /></a><p class="wp-caption-text">The wrong Location</p></div>
<p>What was wrong?  I set the Location for Apache as <code>/var/svn</code>.  What I was shooting for was to have <code>/svn</code> as the root.  Doh!  The SVNPath already tells Apache where to look for the repository.  The Location tag and attribute in the configuration tell Apache where to display it on the web server.  So I made the change and restarted.   After testing authentication, I was ready to rock.  Stay tuned for Part 2 of my swankiness as I look to integrate Subversion with a project and deploy it back to my host.</p>
<img style='display:none' id="post-36-blankimage" onload="Meebo('discoverSharable', {element: this.parentNode,url:'http://hoketronics.net/2008/11/08/subversion-install-swankiness-part-i/',title:'Subversion Install Swankiness Part I',tweet:'Here we go with the newly decided first part of my Subversion install series.  I decided to break i',description:'Here we go with the newly decided first part of my Subversion install series.  I decided to break i'})"><script type='text/javascript'>document.getElementById("post-36-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://hoketronics.net/2008/11/08/subversion-install-swankiness-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java Redux</title>
		<link>http://hoketronics.net/2008/10/30/java-redux/</link>
		<comments>http://hoketronics.net/2008/10/30/java-redux/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 02:00:12 +0000</pubDate>
		<dc:creator>mike.hochanadel</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[IcedTea]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hoketronics.net/?p=25</guid>
		<description><![CDATA[It's been awhile since I worked with Java.  Well, more specifically, I last seriously worked with Java around the beginning of the century.  I figured, well why not set it up on the server and see what's going on nowadays?  I knew that the package install for the Java platform is sticky on linux machines.  [...]]]></description>
			<content:encoded><![CDATA[<p>It's been awhile since I worked with Java.  Well, more specifically, I last seriously worked with Java around the beginning of the century.  I figured, well why not set it up on the server and see what's going on nowadays?  I knew that the package install for the Java platform is sticky on linux machines.  So a quick cache search yielded me lots of results, with Iced Tea being the most interesting one.</p>
<p>As I was eyeballing the search results, <a title="IcedTea" href="http://icedtea.classpath.org/wiki//Main_Page" target="_blank">IcedTea</a> stuck out in my head.  I remembered over the summer an episode of <a title="FLOSS talks about IcedTea" href="http://twit.tv/floss33" target="_blank">FLOSS Weekly briefly touching upon IcedTead</a>.  Dalibor Topic and Bruno Souza from OpenJDK were interviewed about IcedTea and the satus of OpenJDK altogether.  It was very nice to see a fully open sourced implementation of the Sun Java platform.</p>
<p><a title="OpenJDK" href="http://openjdk.java.net/" target="_blank">OpenJDK</a> is an open sourced implementation the Java Platform, Standard Edition.  <a title="Open Source Java" href="http://www.builderau.com.au/news/soa/Java-will-be-free-this-year-says-Sun/0,339028227,339290004,00.htm" target="_blank">Sun just in 2006 decided to open source Java</a> and this year some traction took hold.  IcedTea (and OpenJDK) is the first to pass the <a title="Technology Compatibility Kit" href="http://en.wikipedia.org/wiki/Technology_Compatibility_Kit" target="_blank">Technology Compatibility Kit</a> tests and can claim to be a fully compatible Java 6 implementation.  It <a title="Fedora's Iced Tea" href="http://fedoraproject.org/wiki/Features/IcedTea" target="_blank">showed up on Fedora</a> but I forgot that it was on Ubuntu too.</p>
<p>I went the one liner route and installed IcedTea the quick and easy route:</p>
<p><code>hokey@tardis:~$ sudo apt-get install icedtea-java7-jdk</code></p>
<p>Which yielded me a bunch of other recommended packages, which I'll revisit later, but I was ready to hit the big 'Y':</p>
<p><code>Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
icedtea-java7-bin icedtea-java7-jre<br />
Suggested packages:<br />
binfmt-support icedtea-java7-demo icedtea-java7-source icedtea-java7-plugin sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core<br />
ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming<br />
Recommended packages:<br />
liblcms1 lesstif2 libgnome2-0 libgnomevfs2-0 libgconf2-4 libgl1-mesa-glx<br />
The following NEW packages will be installed:<br />
icedtea-java7-bin icedtea-java7-jdk icedtea-java7-jre<br />
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.<br />
Need to get 36.8MB of archives.<br />
After unpacking 117MB of additional disk space will be used.</code></p>
<p>After installing the package a quick test verified its install:</p>
<p><code>hokey@tardis:~$ java -version<br />
java version "1.7.0"<br />
IcedTea Runtime Environment (build 1.7.0-b21)<br />
IcedTea Client VM (build 1.7.0-b21, mixed mode, sharing)</code></p>
<p>It's nice to get back to my Java roots using something completely open source and Java 6 compatible.  I've read up on a couple of things like JavaFX that I play around with and this is a good first step.  Plus, it's helping me dust some cobwebs that have been lurking in my head for a couple of years.  Who knows?  Once I get knuckle deep back into Java I might turn out some projects or maybe even something enterprise for headquaters.   At any rate, the Java mixes well with my morning coffee addiction and IcedTea mixes will with my afternoon green tea addiction.</p>
<img style='display:none' id="post-25-blankimage" onload="Meebo('discoverSharable', {element: this.parentNode,url:'http://hoketronics.net/2008/10/30/java-redux/',title:'Java Redux',tweet:'It\'s been awhile since I worked with Java.  Well, more specifically, I last seriously worked with J',description:'It\'s been awhile since I worked with Java.  Well, more specifically, I last seriously worked with J'})"><script type='text/javascript'>document.getElementById("post-25-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://hoketronics.net/2008/10/30/java-redux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
