<?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>MeJoe.com</title>
	<atom:link href="http://mejoe.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://mejoe.com/blog</link>
	<description>Some ideas.</description>
	<lastBuildDate>Tue, 10 Jan 2012 03:37:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Handy Linux Admin Commands</title>
		<link>http://mejoe.com/blog/?p=333</link>
		<comments>http://mejoe.com/blog/?p=333#comments</comments>
		<pubDate>Tue, 10 Jan 2012 03:37:53 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=333</guid>
		<description><![CDATA[Permissions Management ls -al &#8211; list all contents of a directory along with permissions chmod a+x program.rb &#8211; makes script &#8220;program.rb&#8221; executable (x) by all (a) users chown user:group filename &#8211; changes the owner and group of &#8220;filename&#8221; chgrp -R &#8230; <a href="http://mejoe.com/blog/?p=333">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Permissions Management</h2>
<ul>
<li><code>ls -al</code> &#8211; list all contents of a directory along with permissions</li>
<li><code>chmod a+x program.rb</code> &#8211; makes script &#8220;program.rb&#8221; executable (x) by all (a) users</li>
<li><code>chown user:group filename</code> &#8211; changes the owner and group of &#8220;filename&#8221;</li>
<li><code>chgrp -R users home/</code> &#8211; assigns directory &#8220;home/&#8221; and contents to group &#8220;users&#8221;</li>
<li><code>cat /etc/passwd</code> &#8211; shows all users on a system</li>
<li><code>cat /etc/group</code> &#8211; shows all groups on a system</li>
<li>
</ul>
<h2>Disk space</h2>
<ul>
<li><code>du -h</code> &#8211; lists all child file names/sizes (careful, this can list every file on your computer if you execute while in &#8220;/&#8221;)</li>
<li><code>df -h</code> &#8211; prints used/available disk space on drives</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=333</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup a Minecraft Multiplayer Server on the Rackspace Cloud with Ubuntu</title>
		<link>http://mejoe.com/blog/?p=312</link>
		<comments>http://mejoe.com/blog/?p=312#comments</comments>
		<pubDate>Fri, 25 Nov 2011 18:19:06 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=312</guid>
		<description><![CDATA[Using a Rackspace Cloud server is a cheap, easy and fast way to setup a Minecraft multiplayer experience. The server size I use only costs $.03 an hour which works out to around $20 a month. This mini setup guide &#8230; <a href="http://mejoe.com/blog/?p=312">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Using a Rackspace Cloud server is a cheap, easy and fast way to setup a Minecraft multiplayer experience. The server size I use only costs $.03 an hour which works out to around $20 a month. This mini setup guide will take you about 10 minutes to an hour depending on how comfortable you are with the command line.</p>
<h2>Pre-requisites</h2>
<ul>
<li><a href="https://cart.rackspace.com/cloud/">Setup a Rackspace Cloud Account</a> if you don&#8217;t already have one. You should have Cloud Servers enabled.</li>
<li>An SSH client. On windows, use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Putty</a>. For Linux or Mac OSX, use the command line tool called &#8216;ssh&#8217;. On Ubuntu/Debian, you can easily type &#8216;sudo apt-get install ssh&#8217;.</li>
</ul>
<h2>Create your cloud server</h2>
<p>This is the standard method for creating a basic Rackspace Cloud server.</p>
<ul>
<li>Login to the <a href="https://manage.rackspacecloud.com">Control Panel</a></li>
<li>Click Hosting &gt; <a href="https://manage.rackspacecloud.com/CloudServers/ServerList.do">Cloud servers</a></li>
<li>Click &#8216;Add Server&#8217; then click &#8216;select&#8217; next to &#8216;Ubuntu 11.04 (Natty Narwhal)&#8217;</li>
<li>On the next page (Server Configuration) set the server name to &#8216;minecraft&#8217; and your server size to at least 512MB/40GB.</li>
<li>Click &#8216;Create Server&#8217;</li>
<li>Copy the root password and store it some place safe. Close the window that popped up.</li>
<li>You are now on the server details page. Under the sub-heading &#8216;Technical Details&#8217;, copy the IP address.</li>
</ul>
<h2>Server setup basics</h2>
<p>You will need to install some software before you can begin. On windows, use Putty to create a new connection to your server, entering username, password and IP. If you are using linux/Mac, enter the following into a command prompt, followed by your password when prompted:</p>
<p><code>ssh root@[yourServerIP]</code></p>
<h3>Install Sun Java</h3>
<p>This line will allow us to use command line tools to update the source repositories. If you are not root, you will need to add &#8216;sudo&#8217; to the beginning of each command.</p>
<p><code>apt-get install --reinstall python-software-properties<br />
dpkg-reconfigure python-software-properties</code></p>
<p>Add the repository that contains our sun java package.</p>
<p><code>add-apt-repository "deb http://archive.canonical.com/ lucid partner"<br />
apt-get update</code></p>
<p>Begin the java installation. Accept all the defaults by pressing [enter]. You need to also accept Oracle/Sun&#8217;s license agreements, it will be a blue/white screen.</p>
<p><code>apt-get install sun-java6-jre</code></p>
<p>Test to ensure a successful installation:</p>
<p><code>java -version</code></p>
<p>The response to this command should be similar to the following:</p>
<p><code>java version "1.6.0_26"<br />
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)<br />
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)</code></p>
<h3>Install Screen</h3>
<p>Screen is a tool that allows you to keep your Minecraft multiplayer server running without having to stay logged into the server.</p>
<p><code>apt-get install screen</code></p>
<h3>Setup Your Minecraft user</h3>
<p>For security purposes, you should setup a different user that will actually run the Minecraft server. Type the following. When prompted, enter your password and accept all other defaults by pressing [enter].</p>
<p><code>adduser minecraft</code></p>
<p>Finally, log out of your root account:</p>
<p><code>exit</code></p>
<h2>Setup the Minecraft server</h2>
<h3>Login as the [minecraft] user you created in the prior step.</h3>
<p>SSH into your server using the Minecraft user you created in the previous step. With Windows Putty, simply create a new connection and insert your username/password/IP. In linux/MacOSX, type the following from a command prompt:</p>
<p><code>ssh minecraft@[yourIPAddress]</code></p>
<h3>Download and Unpack Minecraft</h3>
<p>Download the minecraft server using the linux tool &#8216;wget&#8217;.</p>
<p><code>wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar</code></p>
<h3>Run the server with screen</h3>
<p><code>screen -dmS minecraft java -Xms256M -Xmx512M -jar minecraft_server.jar nogui</code></p>
<p>If you get no errors, than your server is now starting up. It should take about 15 to 30 seconds to finish generating worlds and finish starting-up. To check on it, use screen to see how it is progressing:</p>
<p><code>screen -r minecraft</code></p>
<p>If you see the following, your server is now ready to use:</p>
<p><code>'2011-11-25 17:49:46 [INFO] Done (9753734653ns)! For help, type "help" or "?"</code></p>
<p>Since the server is now running, detach from your screen session by pressing [control]-[a]. Type the letter [d] and hit [enter].</p>
<p>Now, open minecraft on your home computer and craete a new multiplayer server. Use the IP address of your server. Enjoy! Remember, the Minecraft multiplayer version <em>must match</em> the Minecraft client installed on your home computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=312</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Add user w/ sudo on Ubuntu</title>
		<link>http://mejoe.com/blog/?p=309</link>
		<comments>http://mejoe.com/blog/?p=309#comments</comments>
		<pubDate>Thu, 24 Nov 2011 20:28:55 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ubuntu user administration]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=309</guid>
		<description><![CDATA[adduser [newusername] sudo]]></description>
			<content:encoded><![CDATA[<p>adduser [newusername] sudo</p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=309</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Salesforce Chatter API integration notes and tools</title>
		<link>http://mejoe.com/blog/?p=307</link>
		<comments>http://mejoe.com/blog/?p=307#comments</comments>
		<pubDate>Thu, 17 Nov 2011 21:33:16 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[salesforce developer tools]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=307</guid>
		<description><![CDATA[Here is a good video primer on the API. More documentation in PDF.]]></description>
			<content:encoded><![CDATA[<p>Here is a good <a href="http://www.youtube.com/watch?v=y9j7XYMt9AY">video primer</a> on the API. More <a href="http://www.google.com/url?sa=t&#038;rct=j&#038;q=&#038;esrc=s&#038;source=web&#038;cd=1&#038;ved=0CCEQFjAA&#038;url=http%3A%2F%2Fwww.salesforce.com%2Fus%2Fdeveloper%2Fdocs%2Fchatterapipre%2Fsalesforce_chatter_rest_api.pdf&#038;ei=aH3FTo6gEPG02AX9gsy2BQ&#038;usg=AFQjCNHtMw29_a05F6BO9gP8UPZhLfDqug&#038;sig2=GAtjR-HI6CqpbH353Z80dw">documentation in PDF</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=307</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Salesforce dataloader for Macs &#8211; LexiLoader</title>
		<link>http://mejoe.com/blog/?p=304</link>
		<comments>http://mejoe.com/blog/?p=304#comments</comments>
		<pubDate>Wed, 14 Sep 2011 15:55:20 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=304</guid>
		<description><![CDATA[LexiLoader]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pocketsoap.com/osx/lexiloader/">LexiLoader</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=304</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git cheat sheet</title>
		<link>http://mejoe.com/blog/?p=301</link>
		<comments>http://mejoe.com/blog/?p=301#comments</comments>
		<pubDate>Tue, 13 Sep 2011 14:45:34 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=301</guid>
		<description><![CDATA[http://help.github.com/git-cheat-sheets/ Some of my favorite commands git diff 26b8be988f885efe617fc39ebd5024d062c2ad4c --stat &#8211; shows what files have changed between current revision and previous commit more to come&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://help.github.com/git-cheat-sheets/">http://help.github.com/git-cheat-sheets/</a></p>
<h2>Some of my favorite commands</h2>
<ul>
<li><code>git diff 26b8be988f885efe617fc39ebd5024d062c2ad4c --stat</code> &#8211; shows what files have changed between current revision and previous commit</li>
<li>more to come&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=301</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Movies for Geek Kids</title>
		<link>http://mejoe.com/blog/?p=283</link>
		<comments>http://mejoe.com/blog/?p=283#comments</comments>
		<pubDate>Wed, 20 Apr 2011 03:23:49 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=283</guid>
		<description><![CDATA[Like any good parent, I want to ensure my child receives the best education and up-bringing that reflects my values. What better way then to expose them to a bunch of movies!!! What makes a geek movie? To provide me &#8230; <a href="http://mejoe.com/blog/?p=283">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like any good parent, I want to ensure my child receives the best education and up-bringing that reflects my values. What better way then to expose them to a bunch of movies!!! </p>
<h3>What makes a geek movie?</h3>
<p>To provide me with some guidelines for selection, I have defined criteria for this list.  The movie must be significant in one of the following ways:</p>
<ol>
<li>Visual effects</li>
<li>Technology &#038; humanity &#8211; provide social, cultural, or philosophical commentary on the subject. Comedy is acceptable.</li>
<li>Geek storyline &#8211; tell a story that resonates with geeks (geek kid is outkast, learns technology, saves world, gets girl)</li>
</ol>
<h3>Pre-teens</h3>
<p>Here is a list that will get my daughter started with a proper geek cultural education.</p>
<ul>
<li>Tron</li>
<li>Goonies</li>
<li>The Never Ending Story</li>
<li>Chitty Chitty Bang Bang</li>
<li>Willy Wonka and the Chocolate Factory</li>
<li>Star Wars series</li>
<li>The Last Starfighter</li>
<li>Time Bandits</li>
<li>The Dark Crystal</li>
<li>War Games</li>
<li>Back to the Future</li>
<li>Short Circuit</li>
<li>Star Trek</li>
<li>Space Balls</li>
<li>Indiana Jones &#038; the Raiders of the Lost Ark</li>
<li>Indiana Jones &#038; the Temple of Doom</li>
<li>The Lord of the Rings (1978 animated)</li>
<li>Superman</li>
<li>The Fifth Element</li>
<li>Real Genius</li>
<li>D.A.R.Y.L.</li>
<li>Bill &#038; Teds Excellent Adventure</li>
<li><a href="http://www.imdb.com/title/tt0091059/">Flight of the Navigator</a></li>
<li><a href="http://www.imdb.com/title/tt0091369/">Labyrinth</a></li>
<li>Iron Giant</li>
<li>The Incredibles</li>
<li>Justice League: The New Frontier</li>
<li>Willow</li>
<li>City of Ember</li>
</ul>
<h3>Teens</h3>
<p>When she gets older, we will start on these.</p>
<ul>
<li>Terminator</li>
<li>Monty Python and the Holy Grail</li>
<li>Metropolis</li>
<li>Brazil</li>
<li>Alien</li>
<li>Bladerunner</li>
<li>Planet of the Apes</li>
<li>The Matrix</li>
<li>Lord of the Rings Series</li>
<li>Akira</li>
<li>Pi</li>
<li>Sneakers</li>
<li>Weird Science</li>
<li>12 Monkeys</li>
<li>Hackers</li>
<li><a href="http://en.wikipedia.org/wiki/Fahrenheit_451_%281966_film%29">Fahrenheit 451</a></li>
<li>Rocky Horror Picture Show</li>
</ul>
<h3>Sources</h3>
<ul>
<li><a href="http://www.wired.com/geekdad/2008/08/10-geeky-movi-1/">10 Geeky Movies to raise your kids on</a></li>
<li><a href="http://listverse.com/2008/01/27/top-20-geek-movies-of-all-time/">Top 20 Geek Movies of all Time</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=283</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Security testing resources</title>
		<link>http://mejoe.com/blog/?p=261</link>
		<comments>http://mejoe.com/blog/?p=261#comments</comments>
		<pubDate>Mon, 04 Apr 2011 21:47:55 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=261</guid>
		<description><![CDATA[These resources were suggested by a colleague of mine. You can get a lot of these tools in one easy place using the OWASP LiveCD WebGoat Gruyere &#8211; Once you start the app, go through all their challenges. Some can &#8230; <a href="http://mejoe.com/blog/?p=261">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>These resources were suggested by a colleague of mine.</p>
<p>You can get a lot of these tools in one easy place using the <a href="http://www.owasp.org/index.php/Category:OWASP_Live_CD_Project">OWASP LiveCD</a></p>
<ul>
<li><a href="http://www.owasp.org/index.php/Category:OWASP_WebGoat_Project">WebGoat</a></li>
<li><a href="http://google-gruyere.appspot.com/">Gruyere</a> &#8211; Once you start the app, go through all their challenges. Some can get challenging</li>
<li>Proxies
<ul>
<li><a href="http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project">WebScarab</a></li>
<li><a href="http://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project">Zap</a></li>
<li><a href="http://portswigger.net/burp/">Burp</a></li>
</ul>
</li>
<li>Mailing Lists
<ul>
<li>http://www.securecoding.org/list/</li>
<li>http://lists.webappsec.org/mailman/listinfo/websecurity_lists.webappsec.org</li>
<li>http://www.securityfocus.com/archive/101/description</li>
</ul>
</li>
<li>OWASP Docs <a href="http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010.pdf">Top 10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=261</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a search index of DVD movie data with SOLR</title>
		<link>http://mejoe.com/blog/?p=266</link>
		<comments>http://mejoe.com/blog/?p=266#comments</comments>
		<pubDate>Thu, 10 Mar 2011 16:28:43 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=266</guid>
		<description><![CDATA[Install was tested on Ubuntu 10.04 Install Tomcat I based my install on this How-to. Use package manager to get relevant docs sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user tomcat6-docs tomcat6-examples Test the install by starting tomcat: sudo /etc/init.d/tomcat6 start &#8230; <a href="http://mejoe.com/blog/?p=266">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Install was tested on Ubuntu 10.04</p>
<h2>Install Tomcat</h2>
<p>I based my install on this <a href="http://www.ubuntugeek.com/how-to-install-tomcat-6-on-ubuntu-9-04-jaunty.html">How-to</a>.</p>
<p>Use package manager to get relevant docs<br />
<code>sudo apt-get install tomcat6 tomcat6-admin tomcat6-common tomcat6-user tomcat6-docs tomcat6-examples</code></p>
<p>Test the install by starting tomcat:<br />
<code>sudo /etc/init.d/tomcat6 start</code></p>
<p>Visit the server in a browser, or try:<br />
<code>wget http://localhost:8080</code></p>
<p>Some other handy requests for tomcat<br />
<code>sudo /etc/init.d/tomcat6 stop<br />
sudo /etc/init.d/tomcat6 restart<br />
sudo /etc/init.d/tomcat6 status</code></p>
<p>Now that we have a working copy of Tomcat.  We are ready to move on to the Solr installation.</p>
<h2>Install Solr</h2>
<p>Again, package manager for solr.  I just found a solr/tomcat bundle, so I&#8217;ll just use that. This operation will restart Tomcat as well.<br />
<code>sudo apt-get install solr-tomcat</code></p>
<p>Check that Solr is working in a browser, or try:<br />
<code>wget http://localhost:8080/solr</code></p>
<p>We now having a working install of Solr on Tomcat. I recommend you walk through the small <a href="http://lucene.apache.org/solr/tutorial.html">Solr tutorial</a>, it will give you a quick understanding of how to do some basic things, such as creating, reading, updating and deleting data. I would first <a href="http://www.takeyellow.com/apachemirror//lucene/solr/1.4.0/apache-solr-1.4.0.tgz">download a tar</a> of a working release so that you can get the examples. Skip to the &#8220;Indexing Data&#8221; heading, as you already have a working copy of Solr on Tomcat.</p>
<h2>Clear out test data</h2>
<p>We will create a small XML file that will be used to clear all data from the index.</p>
<p>Create the xml file that you will post to the service<br />
<code>vim delete.xml</code></p>
<p>Paste the following into the file<br />
<code>&lt;delete&gt;&lt;query&gt;*:*&lt;/query&gt;&lt;/delete&gt;</code></p>
<p>Post the file using CURL<br />
<code>curl http://localhost:8080/solr/update --data-binary @delete.xml -H 'Content-type:text/xml; charset=utf-8'</code></p>
<p>We now have any empty index, ready to modify and load.</p>
<h2>Download and Review the Movie DVD Database via CSV</h2>
<p>Although I wanted to use IMDB, the data they provide for download is in a wacky, non-standard format.  Instead, I found a little project that focuses on cataloging all DVDs ever released in region 1.  We will use that instead.</p>
<p>Download the CSV and unzip<br />
<code>wget http://www.hometheaterinfo.com/download/dvd_csv.zip<br />
unzip dvd_csv.zip</code></p>
<p>Take a moment to review the file labeled dvd_csv.txt. You will notice it is a pretty standard CSV document, the first line is dedicated to headers. Those headers will be used to define the search fields.</p>
<h2>Define your Solr data schema</h2>
<p>Update your Solr schema<br />
<code>vim /etc/solr/conf/schema.xml</code></p>
<p>Comment everything out between &#8220;&lt;fields&gt;&#8221;. Insert the following into the document:<br />
<code>&lt;fields&gt;<br />
&lt;!--DVD_Title,Studio,Released,Status,Sound,Versions,Price,Rating,Year,Genre,Aspect,UPC,DVD_ReleaseDate,ID,Timestamp--&gt;<br />
&lt;field name="DVD_Title" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Studio" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Released" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Status" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Sound" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Versions" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Price" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Rating" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Year" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Genre" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Aspect" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="UPC" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="DVD_ReleaseDate" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="ID" type="text" indexed="true" stored="true" /&gt;<br />
&lt;field name="Timestamp" type="text" indexed="true" stored="true" /&gt;<br />
&lt;/fields&gt;</code></p>
<p>After the closing &#8220;&lt;/fields&gt;&#8221; tag, make sure that everything is commented out except for the following lines:</p>
<p><code>&lt;uniqueKey&gt;ID&lt;/uniqueKey&gt;<br />
&lt;solrQueryParser defaultOperator="OR"/&gt;<br />
&lt;defaultSearchField&gt;DVD_Title&lt;/defaultSearchField&gt;</code></p>
<p>Restart Tomcat<br />
<code>sudo /etc/init.d/tomcat6 restart</code></p>
<p>Revisit your <a href="http://localhost:8080/solr/admin/">admin page</a> to ensure there are no errors.</p>
<h2>Index the data</h2>
<p>Index the data in the CSV<br />
<code>curl http://localhost:8080/solr/update/csv --data-binary @dvd_csv.txt -H 'Content-type:text/plain; charset=utf-8'</code></p>
<h2>Search some fields</h2>
<p>Now open <a href="http://localhost:8080/solr/admin">SOLR Admin interface</a> and enter some values.</p>
<p>Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=266</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Set up xterm to run remote window sessions</title>
		<link>http://mejoe.com/blog/?p=263</link>
		<comments>http://mejoe.com/blog/?p=263#comments</comments>
		<pubDate>Fri, 04 Mar 2011 16:36:39 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mejoe.com/blog/?p=263</guid>
		<description><![CDATA[Thanks to the Savich for the tip on this one! # Install xterm on ubuntu sudo apt-get install xterm # From X-11 terminal on my Mac, enter ssh -c blowfish -X joe@host.com # Once you have authenticated, enter the following: &#8230; <a href="http://mejoe.com/blog/?p=263">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thanks to the Savich for the tip on this one!</p>
<p><code># Install xterm on ubuntu<br />
sudo apt-get install xterm</p>
<p># From X-11 terminal on my Mac, enter<br />
ssh -c blowfish -X joe@host.com</p>
<p># Once you have authenticated, enter the following:<br />
xterm </p>
<p># Test it with Firefox<br />
sudo apt-get install firefox<br />
firefox</code></p>
]]></content:encoded>
			<wfw:commentRss>http://mejoe.com/blog/?feed=rss2&#038;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

