<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Tech-Blog: Tag oracle</title>
    <link>/articles/tag/oracle</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Mike Pierson's technology blog</description>
    <item>
      <title>On Bootstrapping Oracle's 10g XE EC2 Image</title>
      <description>&lt;p&gt;Oracle has made a &lt;a href='http://www.oracle.com/technology/tech/cloud/index.html'&gt;number of their products&lt;/a&gt; available for use on Amazon's &lt;a href='http://aws.amazon.com/ec2/'&gt;EC2&lt;/a&gt; service. Unfortunately, each instance of their 10g XE RDBMS image must be &lt;a href='http://www.oracle.com/technology/tech/cloud/demos/oracle_on_ec2_viewlet_swf.htm'&gt;configured manually&lt;/a&gt; via ssh before use.&lt;/p&gt;

&lt;p&gt;Turns out that the &lt;a href='http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1720&amp;categoryID=205'&gt;10g XE&lt;/a&gt; image hijacks the bash profile script to force manual configuration.  If one was motivated to enable unattended configuration of the image, the bash profile script could be un-hijacked with scp:&lt;/p&gt;
&lt;p&gt;
 &lt;pre&gt;
  mpierson:$ scp -i EC2_KEY my-bash-profile.sh root@&amp;lt;EC2-HOST-NAME&amp;gt;:/root/.bash_profile
 &lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;BTW, the hijack script overwritten by &lt;i&gt;scp&lt;/i&gt; above is also a good starting point for an script that would bring the database online in an unattended scenario.  Here's what it does:&lt;/p&gt;
&lt;ol&gt;
 &lt;li&gt;force acceptance of Oracle EC2 license
 &lt;li&gt;force change to &lt;i&gt;oracle&lt;/i&gt; system user
 &lt;li&gt;set Oracle environment, including host name
 &lt;li&gt;force change to SYSTEM and SYS oracle db accounts
&lt;/ol&gt;


</description>
      <pubDate>Tue, 28 Apr 2009 12:37:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:03134ac4-cefe-4372-80e3-7f7739b95538</guid>
      <author>Mike</author>
      <link>/articles/2009/04/28/on-bootstrapping-oracles-10g-xe-ec2-image</link>
      <category>technology</category>
      <category>ec2</category>
      <category>oracle</category>
      <trackback:ping>/articles/trackback/463</trackback:ping>
    </item>
    <item>
      <title>links for 2007-02-08</title>
      <description>&lt;ul class="delicious"&gt;
	&lt;li&gt;
		&lt;div class="delicious-link"&gt;&lt;a href="http://slideshow.triptracker.net/"&gt;Trip Tracker slide show widget&lt;/a&gt;&lt;/div&gt;
		&lt;div class="delicious-tags"&gt;(tags: &lt;a href="http://del.icio.us/mpierson/powerpoint"&gt;powerpoint&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/photos"&gt;photos&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/web2.0"&gt;web2.0&lt;/a&gt;)&lt;/div&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;div class="delicious-link"&gt;&lt;a href="http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0401gupta/?ca=dgr-lnxw82Oracle2DB2"&gt;DB2 and Oracle similarities&lt;/a&gt;&lt;/div&gt;
		&lt;div class="delicious-tags"&gt;(tags: &lt;a href="http://del.icio.us/mpierson/oracle"&gt;oracle&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/db2"&gt;db2&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/ibm"&gt;ibm&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/databases"&gt;databases&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/sql"&gt;sql&lt;/a&gt;)&lt;/div&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;div class="delicious-link"&gt;&lt;a href="http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0503melnyk/"&gt;DB2 UDB command line interface&lt;/a&gt;&lt;/div&gt;
		&lt;div class="delicious-tags"&gt;(tags: &lt;a href="http://del.icio.us/mpierson/ibm"&gt;ibm&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/db2"&gt;db2&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/databases"&gt;databases&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/sql"&gt;sql&lt;/a&gt;)&lt;/div&gt;
	&lt;/li&gt;
	&lt;li&gt;
		&lt;div class="delicious-link"&gt;&lt;a href="http://www-128.ibm.com/developerworks/db2/library/techarticle/0301chong/0301chong2.html"&gt;DB2 Version 8 Connectivity Cheat Sheet&lt;/a&gt;&lt;/div&gt;
		&lt;div class="delicious-tags"&gt;(tags: &lt;a href="http://del.icio.us/mpierson/database"&gt;database&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/db2"&gt;db2&lt;/a&gt; &lt;a href="http://del.icio.us/mpierson/ibm"&gt;ibm&lt;/a&gt;)&lt;/div&gt;
	&lt;/li&gt;
&lt;/ul&gt;


</description>
      <pubDate>Wed, 07 Feb 2007 19:18:52 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f66b7153-8066-4e00-938f-202c02b75a96</guid>
      <author>Mike</author>
      <link>/articles/2007/02/07/links-for-2007-02-08</link>
      <category>delicious</category>
      <category>powerpoint</category>
      <category>photos</category>
      <category>web2.0</category>
      <category>oracle</category>
      <category>db2</category>
      <category>ibm</category>
      <category>databases</category>
      <category>sql</category>
      <trackback:ping>/articles/trackback/331</trackback:ping>
    </item>
  </channel>
</rss>
