<?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>Carl the Gee-Whiz Wonder Boy&#039;s Blog</title>
	<atom:link href="http://blog.uncommonguy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.uncommonguy.com</link>
	<description>Home of the Boogie-Woogie Feng Shui</description>
	<lastBuildDate>Tue, 21 Feb 2012 03:41:17 +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>Joining the Software Pedigree Review Board at Motorola</title>
		<link>http://blog.uncommonguy.com/2012/02/software-pedigree-board/</link>
		<comments>http://blog.uncommonguy.com/2012/02/software-pedigree-board/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 03:41:17 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1448</guid>
		<description><![CDATA[Some good news from work today — I am officially joining the Software Pedigree Review Board at Motorola. It is an internal working group that reviews open source software licensing, defines best practices and processes for teams wanting to use open source, and other types of intellectual property  [...]]]></description>
			<content:encoded><![CDATA[<p>Some good news from work today — I am officially joining the Software Pedigree Review Board at Motorola. It is an internal working group that reviews open source software licensing, defines best practices and processes for teams wanting to use open source, and other types of intellectual property reviews. It is somewhat prestigious internally. I don't know much of the details yet, but there is a meeting about it tomorrow to familiarize new members.</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/software-pedigree-board/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.uncommonguy.com/2012/02/two-ways-better/</link>
		<comments>http://blog.uncommonguy.com/2012/02/two-ways-better/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 17:24:23 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1445</guid>
		<description><![CDATA[This advice might be enough to get me working on some of my personal projects again. Sometimes the amount to do seems so huge it is hard to even start.
from: https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e
Deciding to make your product better in two  [...]]]></description>
			<content:encoded><![CDATA[<p>This advice might be enough to get me working on some of my personal projects again. Sometimes the amount to do seems so huge it is hard to even start.</p>
<p>from: <a href="https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e">https://readmill.com/tswicegood/reads/the-developers-code-for-travis-swicegood/highlights/fe4e</a></p>
<blockquote><p>Deciding to make your product better in two ways every day is a good mental exercise to keep those large projects moving forward. In a working week, you’ll have ten better things to say about your product than you do now. In a working month, you’ll have forty better things to say about your product than you do now.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/two-ways-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travelling</title>
		<link>http://blog.uncommonguy.com/2012/02/travelling/</link>
		<comments>http://blog.uncommonguy.com/2012/02/travelling/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 04:55:33 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1443</guid>
		<description><![CDATA[Looks like I will be on the road the next few weeks. I just got back Brazil (ah, lovely warmth) and was sent to Dallas for a semi-emergency. I might be here the next 3 weeks, then a week in southern France. Then possibly back to Dallas or up to Montreal.
 
The travelling has moments of fun, but  [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I will be on the road the next few weeks. I just got back Brazil (ah, lovely warmth) and was sent to Dallas for a semi-emergency. I might be here the next 3 weeks, then a week in southern France. Then possibly back to Dallas or up to Montreal.</p>
<p> </p>
<p>The travelling has moments of fun, but mostly it's hard work, dangerous food (it's tough to stay gluten free, especially abroad), and poor sleep.</p>
<p> </p>
<p>Note to self: buy a few more nice dress shirts and slacks. My closet is pathetic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/02/travelling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A sea of wonderful pink stuff</title>
		<link>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/</link>
		<comments>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 02:52:21 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Homestead]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[home improvement]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1424</guid>
		<description><![CDATA[I've been working really hard getting ready to insulate our attic. The insulation was minimal, barely up to the top of the joists in most cases, so 6–8 inches in most places. This was awful. Last year we had Home Depot come out and give an estimate for insulation work and they big $2000 which was a  [...]]]></description>
			<content:encoded><![CDATA[<p>I've been working really hard getting ready to insulate our attic. The insulation was minimal, barely up to the top of the joists in most cases, so 6–8 inches in most places. This was awful. Last year we had Home Depot come out and give an estimate for insulation work and they big $2000 which was a let-down as we didn't have the cash at that time.</p>
<p>We finally had the extra money to try again this year so got an estimate from a company my father-in-law recommended, <a title="Williams Insulation" href="http://www.mascocs.com/">Williams Insulation</a>. Estimate: $425. Yeah, 25% the amount of Home Depot's contractor. The estimator also did a walk-through energy audit and suggested some really useful things.</p>
<p>The estimator actually found a whole section of attic we had never known about. He realized there was a gap along two whole sides of the house and suggested we cut a hatch to check it out. He turned out to be right — we found a space 40'x5' with even less insulation than the other main attic area. This was along the whole front and kitchen sides of the house.</p>
<p>I reported my findings and he came back for a free re-estimate. Amazingly, this added only $100 to the estimate, bringing it to $525. Frankly, we would have paid twice that and been happy about it. Five hundred bucks is a no-brainer!</p>
<p>The main prep work was to implement his main suggestion. He told us to tape up all gaps in the metal casings of can lights and ventilation fans, and encase them in styrofoam to fully air-seal them. He suggested the $2 styrofoam coolers from Wal-mart, which turned out to be the perfect shape and size for most of them. We had one larger fixture — the heat lamp in our shower — on which I used a larger, better cooler meant for shipping frozen goods.</p>
<p>I spent many hours up there the past few weeks, but particularly the past weekend. I spent half of Saturday and almost all of Sunday skittering around in the tiniest corners sealing everything. It had to be done carefully and correctly to make it permanent, at least until the fixture itself fails. I wanted to never have to crawl through all the new insulation to reach and work on this stuff.</p>
<p>Overall I sealed up 4 can lights above the kitchen, the rest being below the floor of the little playroom. In the main attic I replaced the non-working bathroom fan with a new one and sealed it up, and sealed up the other one that I replaced last year. I also ran ducting from the fans to exhaust outlets in the roof. There was one regular can light to enclose, then one huge heat lamp to enclose. All of those took a lot of work because of the cramped space. Much of it I had to work one-handed, holding myself on a joist with the other hand. It was brutal.</p>
<p>Monday night I worked from 9pm to 3am finishing up the various bits, including sealing up the huge hallway fan. It was quite a trial after a full day of work, boy scouts, and hanging out with Asa (my Little from BBBS). I was a mess of insulation, sweat, Great Stuff expanding foam, and grime.</p>
<p>The big payoff was Tuesday morning when the insulators came. In just an hour they crawled to all the dark corners of the attic and blew in insulation to the 20" mark. This gives an insulation of R-60, which is higher than even the latest standards for this part of the country. The work was fast, efficient, and looks great — a uniform sea of pink energy and money-saving fluff.</p>
<p>We've noticed our furnace running much less and the house feels warmer, particularly the upstairs office. We are super happy about the project. In fact, it's kind of embarrassing how exciting the insulation is to us. The insulation plus the work involved in prepping for it was really rewarding and feels like the best improvement we've done to the house since we replaced the doors. And the energy-saving aspect makes us feel generally good about ourselves and our house.</p>

<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0275/' title='Main work'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0275-150x150.jpg" class="attachment-thumbnail" alt="Main work" title="Main work" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0276/' title='Pipe &amp; Heat Lamp'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0276-150x150.jpg" class="attachment-thumbnail" alt="Re-routed air pipes and the heat lamp fully enclosed in styrofoam box." title="Pipe &amp; Heat Lamp" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0277/' title='Full work area'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0277-150x150.jpg" class="attachment-thumbnail" alt="Full work area" title="Full work area" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0279/' title='Kitchen can lights'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0279-150x150.jpg" class="attachment-thumbnail" alt="Can lights from the kitchen encased in cheap styrofoam coolers" title="Kitchen can lights" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0281/' title='above-kitchen insulation'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0281-150x150.jpg" class="attachment-thumbnail" alt="above-kitchen insulation" title="above-kitchen insulation" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0282/' title='Attic insulation spread'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0282-150x150.jpg" class="attachment-thumbnail" alt="Attic insulation spread" title="Attic insulation spread" /></a>
<a href='http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/imag0283/' title='A sea of wonderful pink stuff'><img width="150" height="150" src="http://blog.uncommonguy.com/wp-content/uploads/2012/01/IMAG0283-150x150.jpg" class="attachment-thumbnail" alt="Heat lamp, bath fans, and lights all fully covered with insulation. Can&#039;t beat that!" title="A sea of wonderful pink stuff" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2012/01/a-sea-of-wonderful-pink-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas list</title>
		<link>http://blog.uncommonguy.com/2011/12/christmas-list/</link>
		<comments>http://blog.uncommonguy.com/2011/12/christmas-list/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 18:15:55 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1417</guid>
		<description><![CDATA[I want the entry-level Nook e-reader, but the shape is awful — it's practically square and would never fit in a pocket. It's just like the Xoom tablet — great hardware wedged into poor design. Just not sure what to do here. I'm not certain I will get enough use out of this either.
Really good long  [...]]]></description>
			<content:encoded><![CDATA[<p>I want the entry-level Nook e-reader, but the shape is awful — it's practically square and would never fit in a pocket. It's just like the Xoom tablet — great hardware wedged into poor design. Just not sure what to do here. I'm not certain I will get enough use out of this either.</p>
<p>Really good long underwear for cold-weather camping and outdoor chores.</p>
<p>"Rayman Origins" game for Wii</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/12/christmas-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Midweek Mania, in a good way</title>
		<link>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/</link>
		<comments>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:58:59 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Everyday]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1384</guid>
		<description><![CDATA[I've been practically manic the last 2 days. So many things to be happy about. Work has returned to a happy normality from the insane crush of the last 3 weeks. I kicked ass during an onsite visit and saved a feature trial at a customer. My boss's boss sent me a really touching email thanking me  [...]]]></description>
			<content:encoded><![CDATA[<p>I've been practically manic the last 2 days. So many things to be happy about. Work has returned to a happy normality from the insane crush of the last 3 weeks. I kicked ass during an onsite visit and saved a feature trial at a customer. My boss's boss sent me a really touching email thanking me for all the great work I am doing. Rachel got an exciting new job. I am making real progress rebuilding and reorganizing the garage. My Mom's back surgery was a success. The dogs are healthy. The weather is good.</p>
<p>Life is just great.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/10/midweek-mania-in-a-good-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cgrep — a grep enhancement to show preceding lines</title>
		<link>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/</link>
		<comments>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 18:45:17 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1257</guid>
		<description><![CDATA[Solaris grep has no way to printing the lines surrounding a match. Yet my most common use of grep is to locate particular strings in a log file, with the goal of looking at the log messages previous to them. There is a simple solution for this. And also, please note, I did not write any of the code  [...]]]></description>
			<content:encoded><![CDATA[<p>Solaris grep has no way to printing the lines surrounding a match. Yet my most common use of grep is to locate particular strings in a log file, with the goal of looking at the log messages previous to them. There is a simple solution for this. And also, please note, I did not write any of the code linked here. Just posting it to help others find it.</p>
<p><span id="more-1257"></span></p>
<p>cgrep shell script: <a href="http://examples.oreilly.com/upt2/split/cgrep.sed">http://examples.oreilly.com/upt2/split/cgrep.sed</a></p>
<p> </p>
<pre>#!/bin/sh
#  cgrep - context grep via sed
#  Written by Greg Ubben, DoD, 10 Dec 1993
#
#  Cgrep finds all occurrences of &lt;pattern&gt; in &lt;file...&gt;, showing &lt;context&gt;
#  additional lines of context above and below each occurrence.  &lt;context&gt;
#  must be at least 1, and defaults to 2.  Each new block of context is
#  preceded by the line number of the first occurrence within that block.
#  &lt;pattern&gt; must be a grep-style regular expression, except that you can
#  match across lines, so use "\nWORD" vs "^WORD" and "WORD\n" vs "WORD$".
#
#  The following example will find all occurrences of the word "five" where
#  it is followed by the word "seven" somewhere within the next 3 lines:
#	cgrep -3 "five.*seven"

USAGE="$0 [-context] pattern [file...]"

n=3
case $1 in -[1-9]*)
	n=`expr 1 - "$1"`
	shift
esac
re=${1?}; shift

sed -n "
	1b start
	: top
	\~$re~{
		h; n; p; H; g
		b endif
	}
		N
		: start
		//{ =; p; }
	: endif
	$n,\$D
	b top
" "$@"</pre>
<p> </p>
<p> </p>
<p>This is extra useful for production systems where you can't install packages or make changes to /bin. Just copy the script into your home directory, then either edit your PATH to include your home directory, or reference this directly.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/08/cgrep-a-grep-enhancement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install sudo on Solaris 10 (intel, x86)</title>
		<link>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/</link>
		<comments>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 19:16:07 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1254</guid>
		<description><![CDATA[Instructions on installing and configuring sudo on Solaris 10. It is really easy.

Download sudo package from sunfreeware.com
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.8.1p2-sol10-x86-local.gz
copy sudo-1.8.1p2-sol10-x86-local.gz to server
scp sudo-1.8.1p2-sol10-x86-local.gz  [...]]]></description>
			<content:encoded><![CDATA[<p>Instructions on installing and configuring sudo on Solaris 10. It is really easy.<br />
<span id="more-1254"></span><br />
Download sudo package from <a href="http://sunfreeware.com">sunfreeware.com</a></p>
<pre>wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.8.1p2-sol10-x86-local.gz</pre>
<p>copy sudo-1.8.1p2-sol10-x86-local.gz to server</p>
<pre>scp sudo-1.8.1p2-sol10-x86-local.gz user@server:/tmp/</pre>
<p>ssh to server</p>
<p>su — to root</p>
<pre>cd /tmp
gunzip sudo-1.8.1p2-sol10-x86-local.gz
pkgadd -d sudo-1.8.1p2-sol10-x86-local
	answer 'all' and 'y' to the install questions
ln -s /usr/local/etc/sudoers /etc/sudoers
ln -s /usr/local/bin/sudo /bin/sudo
ln -s /usr/local/bin/sudoedit /bin/sudoedit</pre>
<p>Finally, edit /etc/sudoers to add any users or groups to sudo privileges. The root user is already in there. Just add your own username below. There are more maintainable ways to control sudo rights, like a wheel group, but that is well documented elsewhere.</p>
<pre>##
## User privilege specification
##
root ALL=(ALL) ALL
jsmith  ALL=(ALL) ALL</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/08/install-sudo-on-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Oracle 11 XE on Ubuntu 10.10 or 11.04, 64-bit</title>
		<link>http://blog.uncommonguy.com/2011/07/installing-oracle-11xe-ubuntu/</link>
		<comments>http://blog.uncommonguy.com/2011/07/installing-oracle-11xe-ubuntu/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 19:14:36 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1234</guid>
		<description><![CDATA[Oracle recently released the XE version of Oracle 11 specifically for Ubuntu 64-bit. These instructions and an automated script will get it up and running in just a few minutes.

 
Folks, Oracle removed the Ubuntu/Debian package after a few days. It simply isn't there anymore. I have uploaded the  [...]]]></description>
			<content:encoded><![CDATA[<p>Oracle recently released the XE version of Oracle 11 specifically for Ubuntu 64-bit. These instructions and an automated script will get it up and running in just a few minutes.<br />
<span id="more-1234"></span></p>
<p> </p>
<h3>Folks, Oracle removed the Ubuntu/Debian package after a few days. It simply isn't there anymore. I have uploaded the file to a few file file hosting services but they may be taken down without warning. Sorry about that. I hope Oracle reconsiders this and re-releases the .deb package — it was very useful and works well.</h3>
<p>Below is the original post but with some added download links.</p>
<hr />
<p> </p>
<h5>Download Oracle 11 XE beta for Ubuntu</h5>
<p><del><a title="http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html" href="http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html">http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html</a></del><br />
<a title="Download from my Dropbox" href="http://db.tt/FZCeVMj">http://db.tt/FZCeVMj <em>may not last long</em></a><br />
<a title="Download from YourFileLink" href="http://www.yourfilelink.com/get.php?fid=716618">http://www.yourfilelink.com/get.php?fid=716618</a><br />
<em>More links to come…</em></p>
<h5>Auto-install script</h5>
<p>Download this in same folder as .deb package, then run as root.</p>
<p>This script performs all the following steps. It has little error checking and hasn't been tested on systems that already have some pre-config done. That could change paths and break the script's assumptions of a pretty clean install.</p>
<p>Local download: <a href="http://blog.uncommonguy.com/wp-content/uploads/2011/07/oracle11xe_deploy.sh">oracle11xe_deploy.sh</a><br />
GitHub gist: <a href="https://gist.github.com/1095816">https://gist.github.com/1095816</a></p>
<p> </p>
<h4>Manual Install Steps</h4>
<h5>Install needed libraries</h5>
<p><code>sudo apt-get install libaio1 bc</code></p>
<h5>Install /sbin/chkconfig script to emulate Red Hat environment</h5>
<p>As root, create the file /sbin/chkconfig:</p>
<pre>#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
  echo &gt;&gt; $file
  echo &#039;### BEGIN INIT INFO&#039; &gt;&gt; $file
  echo &#039;# Provides: OracleXE&#039; &gt;&gt; $file
  echo &#039;# Required-Start: $remote_fs $syslog&#039; &gt;&gt; $file
  echo &#039;# Required-Stop: $remote_fs $syslog&#039; &gt;&gt; $file
  echo &#039;# Default-Start: 2 3 4 5&#039; &gt;&gt; $file
  echo &#039;# Default-Stop: 0 1 6&#039; &gt;&gt; $file
  echo &#039;# Short-Description: Oracle 11g Express Edition&#039; &gt;&gt; $file
  echo &#039;### END INIT INFO&#039; &gt;&gt; $file
fi
update-rc.d oracle-xe defaults 80 01</pre>
<p>then change file attributes to 755:<br />
<code>chmod 755 /sbin/chkconfig</code></p>
<p> </p>
<h5>Install Oracle .deb</h5>
<p><code>sudo dpkg -i oracle-xe_11.2.0-1.5_amd64.deb</code></p>
<h5>Run Oracle configuration</h5>
<p><code>sudo /etc/init.d/oracle-xe configure</code></p>
<p>It will ask some questions about port numbers for the web UI, DB listening port, and whether to run on startup<br />
Then it will spend a long time on "Configuring database…" Eventually it will finish, hopefully successfully.</p>
<h5>Setup environment for oracle user</h5>
<p>The installer creates an oracle user but doesn't populate the environment variables needed to run sqlplus and other tasks.</p>
<p>open "/home/oracle/.bashrc" and add these properties:</p>
<pre>export ORACLE_SID=XE
alias vi=&#039;vim&#039;
export ORACLE_BASE=$HOME
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xe
export ORACLE_TERM=xterm
export _EDITOR=vim
export NLS_LANG=american_america.utf8
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH</pre>
<h5>Useful commands</h5>
<p><strong>Re-configure Oracle:</strong></p>
<pre>sudo /etc/init.d/oracle-xe configure</pre>
<p><strong>Stop Oracle:</strong></p>
<pre>sudo /etc/init.d/oracle-xe stop</pre>
<p><strong>Start Oracle:</strong></p>
<pre>sudo /etc/init.d/oracle-xe start</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/07/installing-oracle-11xe-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Call before digging, or curse after digging…made my choice.</title>
		<link>http://blog.uncommonguy.com/2011/07/call-before-digging-or-curse-after-digging-made-my-choice/</link>
		<comments>http://blog.uncommonguy.com/2011/07/call-before-digging-or-curse-after-digging-made-my-choice/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 00:38:16 +0000</pubDate>
		<dc:creator>uncommonguy</dc:creator>
				<category><![CDATA[Homestead]]></category>

		<guid isPermaLink="false">http://blog.uncommonguy.com/?p=1231</guid>
		<description><![CDATA[You know those ad spots from the power company about "call before you dig"? And the magnets? And the warnings on the monthly bill? Well, I ignored all that and just cut a cable while digging. Internet still works, so guess we didn't need it much. I nicked the other one last month but repaired it.  [...]]]></description>
			<content:encoded><![CDATA[<p>You know those ad spots from the power company about "call before you dig"? And the magnets? And the warnings on the monthly bill? Well, I ignored all that and just cut a cable while digging. Internet still works, so guess we didn't need it much. I nicked the other one last month but repaired it. Feeling pretty dumb right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.uncommonguy.com/2011/07/call-before-digging-or-curse-after-digging-made-my-choice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 21/25 queries in 0.062 seconds using disk: basic
Object Caching 1483/1485 objects using disk: basic

Served from: blog.uncommonguy.com @ 2012-02-23 00:30:10 -->
