<?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>Ammon Shepherd - Historical Webber</title>
	<atom:link href="http://mossiso.com/feed" rel="self" type="application/rss+xml" />
	<link>http://mossiso.com</link>
	<description>History, it happens every yesterday</description>
	<lastBuildDate>Wed, 25 Apr 2012 19:23:58 +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>Filling in the missing dates with AWStats</title>
		<link>http://mossiso.com/2012/04/25/filling-in-the-missing-dates-with-awstats.html</link>
		<comments>http://mossiso.com/2012/04/25/filling-in-the-missing-dates-with-awstats.html#comments</comments>
		<pubDate>Wed, 25 Apr 2012 19:23:58 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1226</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Filling+in+the+missing+dates+with+AWStats&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-04-25&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F04%2F25%2Ffilling-in-the-missing-dates-with-awstats.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical&amp;rft.subject=Websites"></span>
Doh! Sometimes AWStats will miss some days in calculating stats for your site, and that leaves a big hole in your records. Usually, as in my case, it&#8217;s because I...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Filling+in+the+missing+dates+with+AWStats&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-04-25&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F04%2F25%2Ffilling-in-the-missing-dates-with-awstats.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical&amp;rft.subject=Websites"></span>
<h3>Doh!</h3>
<p>Sometimes AWStats will miss some days in calculating stats for your site, and that leaves a big hole in your records. Usually, as in my case, it&#8217;s because I messed up. I reinstalled some software on our AWStats machine, and forgot to reinstall cron. Cron is the absolutely necessary tool for getting the server to run things on a timed schedule. I didn&#8217;t notice this until several days later, leading to a large gap in the stats for April.</p>
<h3>What to do?</h3>
<p>Fortunately, there is a fix. Unfortunately, it&#8217;s a bit labor intensive, and depends on how you rotate your apache logs (if at all, which you should). The <a href="http://awstats.sourceforge.net/docs/awstats_faq.html#OLDLOG">AWStats Documentation</a> (see FAQ-COM350 and FAQ-COM360) has some basic steps to fix the issue, outlined below:</p>
<ol>
<li>Move the AWStats data files for months newer to a temporary directory.</li>
<li>Copy the Apache logs with all of the stats for the month with the missing days to a temporary directory.</li>
<li>Run the AWStats update tool, using AWStat&#8217;s logresolvemerge tool and other changed paramaters, to re-create the AWStats data file for that month</li>
<li>Replace the AWStats data files for the following months (undo step 1).</li>
</ol>
<h3>The Devil&#8217;s in the Details</h3>
<p>Again, depending on how you have Apache logs set up, this can be an intensive process. Here&#8217;s how I have Apache set up, and the process I went through to get the missing days back into AWStats.</p>
<p>We have our Apache logs rotate each day for each domain on the server (or sub-directory that is calculated separately). This means I&#8217;ll have to do this process about 140 times. Looks like I need to write a script&#8230;</p>
<h3>Step 1. Move the data files of newer months</h3>
<p>AWStats can&#8217;t run the update on older months if there are more recent months located in the data directory. So we&#8217;ll need to move the more recent month&#8217;s stats to a temporary location out of the way. So, if the missing dates are in June, and it is currently August, you&#8217;ll need to remove the data files for June, July, and August (they look like this <code>awstatsMMYYYY.domain-name.com.txt</code> where MM is the two digit month and YYYY is the four digit year) to a temporary directory so they are out of the way.</p>
<h3>Step 2. Get the Apache logs for the month.</h3>
<p>First step is to get all of the logs for each domain for the month. This will work out to about 30 or 31 files (if the month is already past), or however many days have past in the current month. For me, each domain archives the days logs in the following format <code>domain.name.com-access_log-X.gz</code> and <code>domain.name.com-error_log-X.gz</code> where the X is a sequential number. So the first problem is how to get the correct file name without having to look in each file to see if it has the right day? Fortunately for me, nothing touches these files after they are created, so their mtime (the <strong>time</strong> stamp of when they were last <strong>m</strong>odified) is intact and usable. Now, a quick one-liner to grab all of the files within a certain date range and put their content in a new file.</p>
<p>We&#8217;ll use the find command to find the correct files. Before we construct that command, we&#8217;ll need to create a couple of files to use for our start and end dates.</p>
<pre>touch --date YYYY-MM-DD /tmp/start</pre>
<pre>touch --date YYYY-MM-DD /tmp/end</pre>
<p>Now we can use those files in the actual find command. You may need to create the &lt;code&gt;/tmp/apachelogs/&lt;/code&gt; directory first.</p>
<pre>find /path/to/apache/logs/archive/ -name "domain-name.com-*" -newer /tmp/start -not -newer /tmp/end -exec cp '{}' /tmp/apachelogs/ \;</pre>
<p>Now unzip those files so they are usable. Move into the &lt;code&gt;/tmp/apachelogs/&lt;/code&gt; directory, and run the gunzip command.</p>
<pre>gunzip *log*</pre>
<p>Then copy in the current apache log for that domain.</p>
<pre>cp /path/to/apache/logs/current/domain-name.com* /tmp/apachelogs/</pre>
<p>This puts all of the domains log files for the month into a directory that we can use in the AWStats update command</p>
<h3>Step 3. Run the AWStats logresolvemerge and update tool</h3>
<p>Now comes the fun part. We first run the logresolvemerge tool on the log files we created in the previous step to create one single log file for the whole month. While in the &lt;code&gt;/tmp/apachelogs/&lt;/code&gt; directory, run:</p>
<pre>perl /path/to/logresolvemerger.pl *log* &gt; domain-name.com-YYYY-MM-log</pre>
<p>Now, we need to run the AWStats update tool with a few parameters to account for the location of the new log file.</p>
<pre>perl /path/to/awstats.pl -update -configdir="/path/to/awstats/configs" -config="domain-name.com" -LogFile="/tmp/apachelogs/domain-name.com-YYYY-MM-log"</pre>
<h3>Step 4. Move back any remaining files</h3>
<p>If you moved any of the AWStats data files (<code>awstatsMMYYYY.domain-name.com.txt</code> like for July and August in our example) now&#8217;s the time to move them back where they go.</p>
<p>&nbsp;</p>
<p>Yeah! That fixed it!</p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://mossiso.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-24-at-1.52.52-PM.png"><img class="aligncenter  wp-image-1227" title="Screen Shot 2012-04-24 at 1.52.52 PM" src="http://mossiso.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-24-at-1.52.52-PM.png" alt="" width="600" height="184" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2012/04/25/filling-in-the-missing-dates-with-awstats.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrivener and Zotero</title>
		<link>http://mossiso.com/2012/04/12/scrivener-and-zotero.html</link>
		<comments>http://mossiso.com/2012/04/12/scrivener-and-zotero.html#comments</comments>
		<pubDate>Thu, 12 Apr 2012 20:51:43 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Academic]]></category>
		<category><![CDATA[Dissertation]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[libreoffice]]></category>
		<category><![CDATA[scrivener]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[zotero]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1190</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Scrivener+and+Zotero&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-04-12&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F04%2F12%2Fscrivener-and-zotero.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Academic&amp;rft.subject=Dissertation&amp;rft.subject=History&amp;rft.subject=Technical"></span>
Scrivener is awesome software for writing, that I&#8217;ve mentioned before, but I had yet to really test out the integration with Zotero (my citation manager of choice). So now that...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Scrivener+and+Zotero&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-04-12&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F04%2F12%2Fscrivener-and-zotero.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Academic&amp;rft.subject=Dissertation&amp;rft.subject=History&amp;rft.subject=Technical"></span>
<p>Scrivener is awesome software for writing, that I&#8217;ve <a title="Nazi Tunnels" href="http://nazitunnels.org/2011/04/digging-in-to-the-dissertation.html" target="_blank">mentioned</a> before, but I had yet to really test out the integration with <a title="Zotero" href="http://www.zotero.org" target="_blank">Zotero</a> (my citation manager of choice). So now that I have finally started on my dissertation writing in earnest (and not grant writing), I needed to make sure that footnotes are usable in my work flow. So this is a quick write up of the tools I will use in writing my dissertation, and how I will use them.</p>
<h3>The Tools</h3>
<p><a title="Libre Office" href="http://www.libreoffice.org/" target="_blank"><img class="alignleft size-thumbnail wp-image-1191" title="images-1" src="http://mossiso.com/wp-content/uploads/2012/04/images-1.jpg" alt="" width="150" height="47" />LibreOffice</a>: Free and Open Source document software. Who knows how long I will have access to free Microsoft Word? LibreOffice (the fork of OpenOffice) will always be free and freely available. The steps will be basically the same if you are using Microsoft Word, just substitute that program for LibreOffice when it comes to it.</p>
<p><a title="Zotero" href="http://www.zotero.org" target="_blank"><br />
</a></p>
<p><a title="Zotero" href="http://www.zotero.org" target="_blank"><img class="alignleft size-thumbnail wp-image-1192" title="images-2" src="http://mossiso.com/wp-content/uploads/2012/04/images-2-150x150.jpg" alt="" width="150" height="150" />Zotero</a>: I&#8217;m certainly biased, but Zotero is the greatest citation management software evar! Also free and open source. I&#8217;m using the stand alone version, but you can use the Firefox extension as well. Should work the same.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a title="Scrivener" href="http://www.literatureandlatte.com/scrivener.php" target="_blank"><img class="alignleft size-thumbnail wp-image-1193" title="images" src="http://mossiso.com/wp-content/uploads/2012/04/images-150x150.jpg" alt="" width="150" height="150" />Scrivener</a>: The greatest writing software I&#8217;ve seen. So good I even paid for it. I don&#8217;t usually do that with software (as you can see, I like <strong>free</strong> and <strong>open source</strong>).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>The Process</h3>
<p>Here I will try to outline the process I found that will save footnotes from existing documents into Scrivener, and Scrivener created footnotes into exported documents. From there, it&#8217;s easy to create Zotero connected footnotes.</p>
<h4>1. Copy existing documents with footnotes into Scrivener</h4>
<div id="attachment_1213" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/copy-from-libreoffice.png"><img class="size-medium wp-image-1213" title="copy-from-libreoffice" src="http://mossiso.com/wp-content/uploads/2012/04/copy-from-libreoffice-300x289.png" alt="Copy from LibreOffice" width="300" height="289" /></a><p class="wp-caption-text">Copy from LibreOffice</p></div>
<p>The first issue to run across is to put your existing documents into scrivener. I wrote a paper for Hist 811 that is basically the bulk of Chapter 1 and Chapter 2 of the dissertation. It&#8217;s needs some finessing in order to fit in the dissertation. It would be a shame to lose the footnotes, which is what happens if you just use Scrivener&#8217;s import file process. This is an easy fix. Just copy the text from your document and paste it into a Scrivener text area.</p>
<p>Then with your Scrivener project open, create a new text area, or select an existing one, which ever, and paste it in. Nothing special there.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>2. Create new footnotes in Scrivener</h4>
<div id="attachment_1212" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/paste-into-scrivener.png"><img class="size-medium wp-image-1212" title="paste-into-scrivener" src="http://mossiso.com/wp-content/uploads/2012/04/paste-into-scrivener-300x168.png" alt="Scrivener makes a Footnote" width="300" height="168" /></a><p class="wp-caption-text">See how Scrivener makes a footnote!</p></div>
<p>What is special, though is what Scrivener does with that footnote. See there, footnote number 20, right after the quote about the cocktail of causes and rearmament being one of the ingredients? Now in Scrivener we have the word &#8220;ingredient&#8221; highlighted and underlined, and on the right side of the Scrivener window, there is a new footnote with all of the content of the original footnote. Sweet!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1216" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/insert-footnote-scrivener.png"><img class="size-medium wp-image-1216" title="insert-footnote-scrivener" src="http://mossiso.com/wp-content/uploads/2012/04/insert-footnote-scrivener-300x233.png" alt="" width="300" height="233" /></a><p class="wp-caption-text">Easy as Format-&gt;Footnote, or use the shorcut keys Ctrl-Cmd-8</p></div>
<p>That&#8217;s all well and good. What if we want to edit the text a little bit, add some good stuff and add another footnote in there? What do we do? Well, Scrivener has a way to add a footnote. Just highlight some text (the footnote will be inserted after the last word), and go to the Format menu and select Footnote. Or you can use the fancy shortcut keys, for faster typing and footnote inserting, Ctrl-Cmd-8 (⌃⌘8).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1208" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/new-footnote-scrivener.png"><img class="size-medium wp-image-1208" title="new-footnote-scrivener" src="http://mossiso.com/wp-content/uploads/2012/04/new-footnote-scrivener-300x181.png" alt="" width="300" height="181" /></a><p class="wp-caption-text">Look, Ma! A new footnote!</p></div>
<p>Now you have a new, blank, footnote area to put a footnote reverence in.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1209" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/drag-zotero-scrivener.png"><img class="size-medium wp-image-1209" title="drag-zotero-scrivener" src="http://mossiso.com/wp-content/uploads/2012/04/drag-zotero-scrivener-300x198.png" alt="" width="300" height="198" /></a><p class="wp-caption-text">Select the reference in Zotero and drag it into the footnote box in Scrivener.</p></div>
<p>Zotero makes it easy to put the reference in that new empty footnote with drag and drop citations. Just pull up your Zotero (either from Firefox, or if you have the standalone version). Select the reference you want, and drag it into the empty footnote section.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>3. Moving from Scrivener to a document, and keeping your footnotes!</h4>
<p>So, ideally, you would be able to export your text document, and all of these lovely footnotes you have made in Scrivener, using Zotero, would just magically work in a Word or LibreOffice document. It doesn&#8217;t, yet (or ever?). So here is how to get your footnotes into a document, and then get those footnotes to be Zotero enabled.</p>
<div id="attachment_1207" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/scrivener-export-file.png"><img class="size-medium wp-image-1207" title="scrivener-export-file" src="http://mossiso.com/wp-content/uploads/2012/04/scrivener-export-file-300x162.png" alt="" width="300" height="162" /></a><p class="wp-caption-text">Srivener-&gt;File-&gt;Export-&gt;Files</p></div>
<p>First, you export your Scrivener document to RTF format.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1206" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/scrivener-export-rtf.png"><img class="size-medium wp-image-1206" title="scrivener-export-rtf" src="http://mossiso.com/wp-content/uploads/2012/04/scrivener-export-rtf-300x129.png" alt="" width="300" height="129" /></a><p class="wp-caption-text">Select RTF format</p></div>
<p>Select the plain RTF format, and the first check box for only the selected files (although, you could un check this if you want to do all of your files at once. No other check boxes are needed. Then just hit the Export button.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1205" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/open-with-libreoffice.png"><img class="size-medium wp-image-1205" title="open-with-libreoffice" src="http://mossiso.com/wp-content/uploads/2012/04/open-with-libreoffice-300x47.png" alt="" width="300" height="47" /></a><p class="wp-caption-text">Open it up with your favorite document program, LibreOffice or Word.</p></div>
<p>Next, you will want to open your new RTF document in LibreOffice (or Word if you&#8217;re using that program).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1204" class="wp-caption alignleft" style="width: 228px"><a href="http://mossiso.com/wp-content/uploads/2012/04/insert-zotero-citation.png"><img class="size-medium wp-image-1204" title="insert-zotero-citation" src="http://mossiso.com/wp-content/uploads/2012/04/insert-zotero-citation-218x300.png" alt="" width="218" height="300" /></a><p class="wp-caption-text">All my citations are in the house!</p></div>
<p>You will notice that all of your footnotes are in this file. Yeah! Sometimes the text had odd font sizes and styles. So a quick &#8216;Select All&#8217; and change it to default style and Times New Roman, 12 pt should fix that right up. Now here is the labor intensive part. For each footnote, we&#8217;re going to have to recreate it so that it is handled by Zotero. Then we&#8217;ll delete the original footnote. It would be nice of Scrivener could export the footnotes in a way that Zotero could detect them, but alas it is not to be.</p>
<p>&nbsp;</p>
<p>Now you add a citation through the zotero buttons to make a zotero-aware citation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1204" class="wp-caption alignleft" style="width: 228px"><a href="http://mossiso.com/wp-content/uploads/2012/04/insert-zotero-citation.png"><img class="size-medium wp-image-1204" title="insert-zotero-citation" src="http://mossiso.com/wp-content/uploads/2012/04/insert-zotero-citation-218x300.png" alt="" width="218" height="300" /></a><p class="wp-caption-text">All my citations are in the house!</p></div>
<p>Insert a Zotero citation using the Zotero buttons in your document program&#8217;s menu bar.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1203" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/zotero-classic-view-find-citation.png"><img class="size-medium wp-image-1203" title="zotero-classic-view-find-citation" src="http://mossiso.com/wp-content/uploads/2012/04/zotero-classic-view-find-citation-300x222.png" alt="" width="300" height="222" /></a><p class="wp-caption-text">I prefer the Zotero classic view.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1202" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/zotero-new-view-find-citation.png"><img class="size-medium wp-image-1202" title="zotero-new-view-find-citation" src="http://mossiso.com/wp-content/uploads/2012/04/zotero-new-view-find-citation-300x132.png" alt="" width="300" height="132" /></a><p class="wp-caption-text">The new citation find view is pretty slick, though.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1201" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/zotero-new-view-add-page.png"><img class="size-medium wp-image-1201" title="zotero-new-view-add-page" src="http://mossiso.com/wp-content/uploads/2012/04/zotero-new-view-add-page-300x34.png" alt="" width="300" height="34" /></a><p class="wp-caption-text">You can add pages with a coma, space, number.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1200" class="wp-caption alignleft" style="width: 306px"><a href="http://mossiso.com/wp-content/uploads/2012/04/two-citations.png"><img class="size-medium wp-image-1200" title="two-citations" src="http://mossiso.com/wp-content/uploads/2012/04/two-citations-296x300.png" alt="" width="296" height="300" /></a><p class="wp-caption-text">Now you have two citations.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>With two citations in the document, you&#8217;ll need to delete the one that was not made by zotero.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1199" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/delete-duplicate-citation.png"><img class="size-medium wp-image-1199" title="delete-duplicate-citation" src="http://mossiso.com/wp-content/uploads/2012/04/delete-duplicate-citation-300x294.png" alt="" width="300" height="294" /></a><p class="wp-caption-text">Just make sure you delete the non-zotero aware citation. The Zotero citation is usually highlighted.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1198" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/libreoffice-saveas.png"><img class="size-medium wp-image-1198" title="libreoffice-saveas" src="http://mossiso.com/wp-content/uploads/2012/04/libreoffice-saveas-300x107.png" alt="" width="300" height="107" /></a><p class="wp-caption-text">Now you can save the document as a different file format: odt, doc, docx</p></div>
<p>Now save the document as an ODT document. If it is saved as anything else, it will not be Zotero aware.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1197" class="wp-caption alignleft" style="width: 260px"><a href="http://mossiso.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-10-at-6.09.56-PM.png"><img class="size-medium wp-image-1197" title="Many file types to choose from." src="http://mossiso.com/wp-content/uploads/2012/04/Screen-Shot-2012-04-10-at-6.09.56-PM-250x300.png" alt="" width="250" height="300" /></a><p class="wp-caption-text">Take your pick of file types.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_1195" class="wp-caption alignleft" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2012/04/zotero-warning.png"><img class="size-medium wp-image-1195" title="zotero-warning" src="http://mossiso.com/wp-content/uploads/2012/04/zotero-warning-300x122.png" alt="" width="300" height="122" /></a><p class="wp-caption-text">Save as the correct file format if you want Zotero to be able to edit them again.</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>One alternative method is to create footnotes in Scrivener using the format {Author, Year, Page#}. Then export as an RTF document as before. Then, in Zotero, use the &#8216;RTF Scan&#8217; tool in the Preferences menu. Zotero will see all of the citations and replace them nicely with formatted citations (using Ibid. and short notation for repeat books, and such). Zotero will not be aware of these citations at all, so if you need them to be Zotero aware, you might as well use the steps outlined above. If you do not expect to update citations or the text once done in Scrivener, then this may be the easiest way to go.</p>
<p>Now I can happily transfer existing documents into Scrivener and save the footnotes!</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2012/04/12/scrivener-and-zotero.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up a Hosting Environment &#8211; Part 2: Connecting the Storage Array</title>
		<link>http://mossiso.com/2012/03/09/setting-up-a-hosting-environment-part-2-connecting-the-storage-array.html</link>
		<comments>http://mossiso.com/2012/03/09/setting-up-a-hosting-environment-part-2-connecting-the-storage-array.html#comments</comments>
		<pubDate>Fri, 09 Mar 2012 21:56:00 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1170</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Setting+up+a+Hosting+Environment+-+Part+2%3A+Connecting+the+Storage+Array&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-03-09&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F03%2F09%2Fsetting-up-a-hosting-environment-part-2-connecting-the-storage-array.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
[See Part 1: The Servers] One of the most frustrating parts of this set up was getting the storage array talking to the servers. I finally got it figured out....]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Setting+up+a+Hosting+Environment+-+Part+2%3A+Connecting+the+Storage+Array&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-03-09&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F03%2F09%2Fsetting-up-a-hosting-environment-part-2-connecting-the-storage-array.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
<p>[<a title="Setting up a Hosting Environment: Part 1 – The servers" href="http://mossiso.com/2012/03/01/setting-up-a-hosting-environment-part-1-the-servers.html">See Part 1: The Servers</a>]</p>
<p>One of the most frustrating parts of this set up was getting the storage array talking to the servers. I finally got it figured out. I&#8217;m using a StorageTek 2530 to connect to two SunFire X2100 M2&#8242;s via SAS (Serial Attached SCSI) cables. I put in a dual port SAS HBA (Host Bus Adapter) in the X2100 M2&#8242;s, but for real redundancy, I should have used two single port HBA&#8217;s. The Sun/Oracle documentation is pretty good about how to physically set up the servers and storage array, but are pretty lacking from there on.</p>

<a href='http://mossiso.com/2012/03/09/setting-up-a-hosting-environment-part-2-connecting-the-storage-array.html/images-1' title='images-1'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2012/03/images-1-150x150.jpg" class="attachment-thumbnail" alt="images-1" title="images-1" /></a>
<a href='http://mossiso.com/2012/03/09/setting-up-a-hosting-environment-part-2-connecting-the-storage-array.html/images' title='images'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2012/03/images-150x150.jpg" class="attachment-thumbnail" alt="images" title="images" /></a>

<h2>StorageTek 2530 Set Up</h2>
<p><span style="color: #339966;"><strong>Replace the parts in squares brackets below with whatever you want.</strong></span></p>
<ul>
<li>Install the Sun CAM software.
<ul>
<li>Grab the latest version from <a href="http://support.oracle.com/">http://support.oracle.com</a>
<ul>
<li>You&#8217;ll need an active support contract and have an account.</li>
<li>Go to the ‘Patches and Updates’ tab.</li>
<li>Click on the ‘Product or Family (Advanced)’ link</li>
<li>In the ‘Product is’ section start typing in ‘Sun Storage Common Array Manager (CAM)’ and select it from the list</li>
<li>In the ‘Release is’ section select the most recent version</li>
<li>For the last section, select ‘Platform’ and then select ‘Linux x86-64’</li>
<li>Click ‘Search’</li>
<li>Click the ‘Download’ link for the software.</li>
<li>Upload the tar file to the server.</li>
</ul>
</li>
<li>Pre-requisite software that needs to be installed.
<ul>
<li><code>yum install ksh bc /lib/ld-linux.so.2 libgcc.i686 libstdc++.i686 libzip.i686 gettext</code></li>
</ul>
</li>
<li>Once CAM software is downloaded, un-zipped, un-tarred or what have you, change directories to HostSoftwareCD_6.9.0.16/components and install the jdk available there:
<ul>
<li><code>rpm -Uvh jdk-6u20-linux-i586.rpm</code></li>
</ul>
</li>
<li>Next run the RunMe.bin file in the HostSoftwareCD_6.9.0.16 folder
<ul>
<li><code>./RunMe.bin -c</code></li>
</ul>
</li>
<li>Agree to all License Agreement stuffs</li>
<li>Select the Typical install.</li>
</ul>
</li>
<li>Add the <code>/opt/sun/cam/bin</code>folder to path
<ul>
<li>With root using tcsh add this to .tcshrc
<ul>
<li><code>setenv PATH ${PATH}:/opt/sun/cam/bin</code></li>
</ul>
</li>
<li>Then do <code>source .tcshrc</code></li>
</ul>
</li>
<li>Make sure there is an IP on the same subnet as the array (192.168.128.xxx)
<ul>
<li>Make a <code>/etc/sysconfig/network-scripts/ifcfg-eth1:1</code>file and put this in there
<ul>
<li>
<div>DEVICE=“eth1:1”<br />
BOOTPROTO=static<br />
HWADDR=“xx:xx:xx:xx:xx:xx:xx”<br />
IPADDR=192.168.128.xxx<br />
NM_CONTROLLED=“no”<br />
ONBOOT=“yes”</div>
</li>
</ul>
</li>
<li>Install the RAID Proxy Agent package located in the Add_On/RaidArrayProxy directory of the latest CAM software distribution. (I found this to be optional.)
<ul>
<li><code>rpm -ivh SMruntime.xx.xx.xx.xx-xxxx.rpm</code></li>
<li><code>rpm -ivh SMagent-LINUX-xx.xx.xx.xx-xxxx.rpm</code></li>
</ul>
</li>
</ul>
</li>
<li>Register the StorageTek with the host. Process can take several minutes.
<ul>
<li><code>sscs register -d storage-system</code></li>
</ul>
</li>
<li>Once registered, you can name the array anything you want. Note what the array is named from the previous step.</li>
</ul>
<ul>
<li><code>sscs modify -T [Array-Name] array ARRAY1</code></li>
</ul>
<li>Set up the storage profile, pool, disk, volume, mapping. Use the command line commands below, or set it up via the web interface. NOTE: This part only needs to be done on one of the hosts.
<ul>
<li>If using the web interface, you have to use a windows laptop hooked up to the local network (192.168.128.xxx), or perhaps a server in the same local network that is not running CentOS 6, which has a known issue where the web interface does not work. For the web interface connect to https://localhost:6789 using the laptop or server Administrator/root account information.</li>
<li><code>sscs create -a knox pool [Pool-Name]<br />
</code></li>
<li><code>sscs create -a knox -p [Pool-Name] -n 11 vdisk [Vdisk-Name]<br />
</code></li>
<li><code>sscs create -a knox -p [Pool-Name] -s max -v [Vdisk-Name] volume [Volume-Name]</code></li>
</ul>
</li>
<li>Create the host group and apply to host.
<ul>
<li><code>sscs create -a knox hostgroup [ApacheHosts]</code></li>
</ul>
</li>
<li>Create hosts and assign to hostgroup
<ul>
<li><code>sscs create -a knox -g [ApacheHosts] host [Host-Name]</code> and repeat for other hosts.</li>
</ul>
</li>
<li>Map volume to host group
<ul>
<li><code>sscs map -a knox -g ApacheHosts volume Volume-Name<br />
</code></li>
</ul>
</li>
<li>The array volume should now be available as /dev/sdb and /dev/sdc because the hosts are connected by two SAS cables each.</li>
<p>It took me a while to grasp the meaning for the different terms: pool, volume, volume groups, disks, etc. I drew up a chart with the appropriate commands to create the different aspects.</p>
<p><a href="http://mossiso.com/wp-content/uploads/2012/03/StorageTek2530-DiskSetup.jpg"><img class="aligncenter size-large wp-image-1171" title="StorageTek2530-DiskSetup" src="http://mossiso.com/wp-content/uploads/2012/03/StorageTek2530-DiskSetup-1024x441.jpg" alt="" width="620" height="267" /></a></p>
<p>To utilize both cables connecting the server to the storage array, the OS needs to use multi-pathing. I had lots of troubles trying to set this up after the OS was installed, so I just let it be done by the installer. Here&#8217;s what should happen if you find the OS already installed and need to set up multi-paths.</p>
<p><a href="http://mossiso.com/wp-content/uploads/2012/03/multipath-server3.png"><img class="aligncenter size-full wp-image-1183" title="multipath-server3" src="http://mossiso.com/wp-content/uploads/2012/03/multipath-server3.png" alt="" width="306" height="323" /></a></p>
<ul>
<li>Set up DM-Multipath
<ul>
<li>NOTE: This is taken care of during the OS installation.</li>
<li>Multipath allows both SAS connections to the storage array to appear as one connection to the server. This allows for data to pass through even if one cable suddenly stops working, it seamlessly fails to the other path. For example, taken the image above, if the connection between hba1-&gt;cntrlr1 goes down, you still have connection hba2-&gt;cntrlr2. The OS sees one connection, and just uses whichever path is working.</li>
<li>After Multipath is set up, the storage array will be available as a device at <code>/dev/mapper/mpatha</code>. This will be the device to partition, format, and throw LVM on.</li>
<li>Install the multipath program and dependents
<ul>
<li><code>yum install device-mapper-multipath</code></li>
</ul>
</li>
<li>Run <code>mpathconf --enable</code> to create a default <code>/etc/multipath.conf</code>file or create one using the following:
<ul>
<li>
<div>#  multipath.conf written by anacondadefaults {<br />
user_friendly_names yes<br />
}<br />
blacklist {<br />
devnode “^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*”<br />
devnode “^hd[a-z]”<br />
devnode “^dcssblk[0-9]*”<br />
device {<br />
vendor “DGC”<br />
product “LUNZ”<br />
}<br />
device {<br />
vendor “IBM”<br />
product “S/390.*”<br />
}<br />
# don’t count normal SATA devices as multipaths<br />
device {<br />
vendor “ATA”<br />
}<br />
# don’t count 3ware devices as multipaths<br />
device {<br />
vendor “3ware”<br />
}<br />
device {<br />
vendor “AMCC”<br />
}<br />
# nor highpoint devices<br />
device {<br />
vendor “HPT”<br />
}<br />
wwid “3600508e000000000c9c1189277b84b05”<br />
device {<br />
vendor TEAC<br />
product DV-28E-V<br />
}<br />
wwid “*”<br />
}<br />
blacklist_exceptions {<br />
wwid “3600a0b80003abca4000007284f33c167”<br />
}<br />
multipaths {<br />
multipath {<br />
uid 0<br />
gid 0<br />
wwid “3600a0b80003abca4000007284f33c167”<br />
mode 0600<br />
}<br />
}</div>
</li>
</ul>
</li>
<li>Set multipathd to start on boot, and if not on, turn it on
<ul>
<li><code>chkconfig multipathd on</code></li>
<li><code>service multipathd start</code></li>
</ul>
</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2012/03/09/setting-up-a-hosting-environment-part-2-connecting-the-storage-array.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Hosting Environment: Part 1 &#8211; The servers</title>
		<link>http://mossiso.com/2012/03/01/setting-up-a-hosting-environment-part-1-the-servers.html</link>
		<comments>http://mossiso.com/2012/03/01/setting-up-a-hosting-environment-part-1-the-servers.html#comments</comments>
		<pubDate>Thu, 01 Mar 2012 21:00:57 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1158</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Setting+up+a+Hosting+Environment%3A+Part+1+-+The+servers&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-03-01&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F03%2F01%2Fsetting-up-a-hosting-environment-part-1-the-servers.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
I&#8217;ve spent a lot of time at work setting up a few servers to be our new production environment. Much of it was accomplished by reading the documentation over and...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Setting+up+a+Hosting+Environment%3A+Part+1+-+The+servers&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-03-01&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F03%2F01%2Fsetting-up-a-hosting-environment-part-1-the-servers.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
<p>I&#8217;ve spent a lot of time at work setting up a few servers to be our new production environment. Much of it was accomplished by reading the documentation over and over again. Not much out there on the Net, so I&#8217;m hoping this series of posts benefits someone else out there.</p>
<p>First of all, I&#8217;ll cover what set up I would like to achieve and why.</p>
<h4>Hardware</h4>
<p>I&#8217;m using two Sun SunFire X2100 M2 connected to a StorageTek 2530 with 4.5TB of drive space. The servers attach to the storage array via SCSI cables for quick data transfer speeds. The array also has the ability to handle iSCSI connections. This will give me a decent base set up, with room to grow.</p>
<h4>Set up</h4>
<p>I&#8217;ll put the two servers in a cluster and make the services available over the cluster. They will share the storage using GFS2. In the future, I&#8217;ll add a couple of load balancer/proxy machines to farm out the Web traffic, and add a couple more SunFire X2100 M2&#8242;s to take that load. One of the main reasons to set up a new configuration with new servers is to provide a clean environment for the many WordPress and Omeka installations we host. We&#8217;ve had to hang on to some legacy services to support some older projects, so this will allow us to keep up to date. It will also allow me to set up Apache and PHP to run as a server user, locked down to it&#8217;s own directory. That way each of the 100+ sites won&#8217;t be able to access any other site&#8217;s content. I picked CentOS as the OS because it has cluster and GFS2 options of RedHat, but without the cost.</p>
<p><a href="http://mossiso.com/wp-content/uploads/2012/03/CHNMproduction.png"><img class="size-full wp-image-1159 alignnone" title="CHNMproduction" src="http://mossiso.com/wp-content/uploads/2012/03/CHNMproduction.png" alt="" width="525" height="647" /></a></p>
<h2>Sun X2100 M2 OS Install steps</h2>
<ol>
<li>Boot up with CentOS 6.x Minimal Install CD for x86_64</li>
<li>Select the option to ‘Install or upgrade an existing system’, then hit the Enter key</li>
<li>Skip the media test.</li>
<li>You are now in graphic install mode.</li>
<li>Hit Enter for ‘OK’ for ’English as the language.</li>
<li>Hit Enter for ‘OK’ to US keyboard.</li>
<li>Select the option to do a “Specialized Storage Devices” install</li>
<li>Enter the computer name ‘bill.com’ or ‘ted.com’, etc</li>
<li>Click the button to ‘Configure Network’.
<ol>
<li>Eth2 seems to be the one associated with port 0 on the servers, so select that one and then ‘Add’</li>
<li>Select ‘Connect Automatically’.</li>
<li>Click the ‘IPv4 Settings’ tab.</li>
<li>Choose ‘Manual’ for the ‘Method’.</li>
<li>Enter the following for the info in ‘Addresses’.
<ol>
<li>Address: 192.168.1.1</li>
<li>Netmask: 255.255.255.0</li>
<li>Gateway: 192.168.1.1</li>
</ol>
</li>
<li>For ‘DNS servers’, enter 192.168.1.100</li>
<li>Then ‘Apply’</li>
</ol>
</li>
<li>Select ‘Next’ to keep the defaults for time zone and system clock.</li>
<li>Enter a root password</li>
<li><strong>DRIVE PARTITION SETUP</strong>
<ol>
<li>On the ‘Basic Devices’ tab, select the local drive and on the ‘Multipath Devices’ tab, select the storage array, and click ‘Next’.</li>
<li>Select the ‘Fresh Installation’ option for a fresh install, or ‘Upgrade an Existing Installation’ to upgrade. Hit ‘Next’.</li>
<li>Select ‘Create custom layout.’ and ‘Next’</li>
<li>Delete all of the current LVM and other partitions.</li>
<li>Select the free remaining drive for the local drive (should be /dev/sda). Click ‘Create’</li>
<li><strong>BOOT PARTITION</strong>
<ol>
<li>Select ‘Standard Partition’ and click ‘Create’</li>
<li>Set the Mount Point as <code>/boot</code>, the File System Type as ‘ext4’ and the Size (MB) as 500, then click ‘OK’</li>
</ol>
</li>
<li>Select the free space and click ‘Create’</li>
<li><strong>LVM PARTITION</strong>(NOTE: The sizes are different based on the size of the hard drives.)
<ol>
<li>Select ‘LVM Physical Volume’ and click ‘Create’</li>
<li>Select ‘Fill to maximum allowable size’ and click ‘OK’</li>
<li>Select the new LVM partition and click ‘Create’</li>
<li>Select ‘LVM Volume Group’ and click ‘Create’</li>
<li>Set the ‘Volume Group Name’ as ‘Local’  then click the ‘Add’ button</li>
<li>Set the ‘File System Type’ as swap, the ‘Logical Volume Name’ as ‘swap’ and the ‘Size(MB)’ as ‘12288’, then click ‘OK’.</li>
<li>Click the ‘Add’ button again. Set the ‘Mount Point’ to ‘/’, the ‘File System Type’ to ext4, the ‘Logical Volume Name’ to ‘root’, and the ‘Size(MB)’ to ‘51200’. Then click ‘OK’.</li>
<li>Click the ‘Add’ button again. Set the ‘Mount Point’ to ‘/home’, the ‘File System Type’ to ext4, the ‘Logical Volume Name’ to ‘home’, and the ‘Size(MB)’ to ‘500’. Then click ‘OK’.</li>
<li>Click the ‘Add’ button again. Set the ‘Mount Point’ to ‘/var’, the ‘File System Type’ to ext4, the ‘Logical Volume Name’ to ‘var’, and the ‘Size(MB)’ to the remaining space available. Then click ‘OK’.</li>
<li>Click ‘OK’</li>
</ol>
</li>
<li>Click ‘Next’ and ‘Write changes to disk’ to finish the partition creation.</li>
</ol>
</li>
<li>Leave the boot loader settings as is, and click ‘Next’</li>
<li>Select the ‘Minimal’ option and click ‘Next’</li>
</ol>
<p>One of the most important things to have with servers is some form of remote management. That way you don&#8217;t need to trek down to the data center each time the server hangs while testing (and it happens a lot). For Sun systems, that means setting up the ELOM (Embedded Lights Out Manager).</p>
<h2>Steps to set up the Remote Console (Embedded Lights Out Manager – ELOM) for SunFire X2100 M2</h2>
<h3>Set the SP serial port rate to 115200.</h3>
<ul>
<li>Log into the web based console, or through ssh via a computer on the same subnet (https://192.168.1.10) The IP is whatever the IP is set for the ELOM device. Check in BIOS for the IP.
<ul>
<li>Go to the Configuration tab, then the Serial Port tab.</li>
<li>Change the Baud Rate to 115200.</li>
</ul>
</li>
</ul>
<h3>Set BIOS</h3>
<pre>IPMI Config
   Set LAN Config
   Set PEF Config
     PEF Support ........ [Enabled]
     PEF Action Global
        All of them ..... [Enabled]
     Alert Startup Discover ..... [Disabled]
     Startup Delay .............. [Disabled]
     Event Message For PEF ...... [Disabled]
   BMC Watch Dog Timer Action ... [Disabled]
   External Com Port ............ [BMC]
Remote Access
   Remote Access ................ [Serial]
   Serial Port Number ........... [Com2]
   Serial Port Mode ............. [115200 8,n,1]
   Flow Control ................. [Hardware]
   Post-Boot Support ............ [Always]
   Terminal Type ................ [VT100]
   VT-UTF8 Combo Key ............ [Enabled]</pre>
<ul>
<li>Other options for the Serial Port Mode are 9600, 19200, 38400, and 57600</li>
</ul>
<h3>Edit Linux Config Files</h3>
<h4>Add a /etc/init/serial-ttyS1.conf file</h4>
<p>RedHat in EL 6, and thereby CentOS, moved to Upstart instead of Sysv, so we create a new serial-ttyS1.conf file instead of editing the /etc/inittab file.</p>
<pre style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#  This service maintains a getty on /dev/ttyS1.
stop on runlevel [016]

respawn
instance $TTY
exec /sbin/mingetty $TTY</pre>
<h4>Change grub.conf</h4>
<pre style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;"># grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/Logical/root
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console

title CentOS Linux (2.6.32-71.29.1.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/Local-root \
rd_LVM_LV=Local/root rd_LVM_LV=Local/swap rd_NO_LUKS rd_NO_MD rd_NO_DM \
console=tty1 console=ttyS1,115200n8
          initrd /initramfs-2.6.32-71.29.1.el6.x86_64.img</pre>
<h4>Add line to securetty</h4>
<pre style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
ttyS1</pre>
<hr />
<h3>SUN SP Commands</h3>
<p>Connect to the ELOM by ssh into the IP address.<br />
<code>ssh root@192.168.xxx.xxx</code></p>
<ul>
<li>To power on the host, enter the following command:
<ul>
<li><code>set /SP/SystemInfo/CtrlInfo PowerCtrl=on</code></li>
</ul>
</li>
</ul>
<ul>
<li>To power off the host gracefully, enter the following command:
<ul>
<li><code>set /SP/SystemInfo/CtrlInfo PowerCtrl=gracefuloff</code></li>
</ul>
</li>
</ul>
<ul>
<li>To power off the host forcefully, enter the following command:
<ul>
<li><code>set /SP/SystemInfo/CtrlInfo PowerCtrl=forceoff</code></li>
</ul>
</li>
</ul>
<ul>
<li>To reset the host, enter the following command:
<ul>
<li><code>set /SP/SystemInfo/CtrlInfo PowerCtrl=reset</code></li>
</ul>
</li>
</ul>
<ul>
<li>To reboot and enter the BIOS automatically, enter the following command:
<ul>
<li><code>set /SP/SystemInfo/CtrlInfo BootCtrl=BIOSSetup</code></li>
</ul>
</li>
</ul>
<ul>
<li>To change the IP address for the ELOM, enter:
<ul>
<li><code>set /SP/AgentInfo IpAddress=xxx.xxx.xxx.xxx </code></li>
</ul>
</li>
</ul>
<ul>
<li>The default user name is <code>root</code>, and the default password is <code>changeme</code>.
<ul>
<li><code>set /SP/User/[username] Password=[password]</code></li>
</ul>
</li>
</ul>
<ul>
<li>To start a session on the server console, enter this command:
<ul>
<li><code>start /SP/AgentInfo/console</code></li>
<li>To revert to CLI once the console has been started, press <code>Esc-Shift-9</code> keys.</li>
</ul>
</li>
</ul>
<ul>
<li> To terminate a server console session started by another user, enter this command:
<ul>
<li><code>stop /SP/AgentInfo/console</code></li>
</ul>
</li>
</ul>
<p>Next we secure the new servers with some software updates and a firewall.</p>
<h2>Software Updates and installs:</h2>
<ol>
<li>Edit <code>/etc/resolve.conf</code></li>
<li>
<div>nameserver 192.168.1.100<br />
options single-request-reopen</p>
<ul>
<li>The last line <code>options single-request-reopen</code> takes care of slow SSH logins. See here <a href="https://stomp.colorado.edu/blog/blog/2011/06/29/on-rhel-6-ssh-dns-firewalls-and-slow-logins/">https://stomp.colorado.edu/blog/blog/2011/06/29/on-rhel-6-ssh-dns-firewalls-and-slow-logins/</a> and here <a href="http://www.linuxquestions.org/questions/showthread.php?p=4399340#post4399340">http://www.linuxquestions.org/questions/showthread.php?p=4399340#post4399340</a> for more info.</li>
</ul>
</div>
</li>
<li><code>yum install openssh-clients tcsh ksh bc rpm-build gcc gcc-c++ redhat-rpm-config acl gcc gnupg make vim-enhanced man wget which mlocate bzip2-devel libxml2-devel screen sudo parted gd-devel pam_passwdqc.x86_64 rsync zip xorg-x11-server-utils gettext</code></li>
<li>disable SELinux. Edit the <code>/etc/sysconfig/selinux</code> file and set <code>SELINUX=disabled</code>.
<ul>
<li>Change takes affect on next reboot.</li>
</ul>
</li>
<li>Add the following lines to the <code>/etc/vimrc</code>file:
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">set autoindent &#8221; auto indent after {<br />
set smartindent &#8221; same<br />
set shiftwidth=4 &#8221; number of space characters inserted for indentation<br />
set expandtab &#8221; inserts spaces instead of tabs<br />
set tabstop=4 &#8221; number of spaces the tab is.<br />
set pastetoggle=&lt;C-P&gt; &#8221; Ctrl-P toggles paste mode</div>
</li>
<li>Switch root shell to <code>tcsh</code>
<ul>
<li>Edit the <code>/etc/passwd</code>file to have root use tcsh<code>root:x:0:0:root:/root:/bin/tcsh</code></li>
<li>Edit the <code>.tcshrc</code>file in root’s home.
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#  .tcshrc#  User specific aliases and functionsalias rm &#8216;rm -i&#8217;<br />
alias cp &#8216;cp -i&#8217;<br />
alias mv &#8216;mv -i&#8217;set prompt=&#8217;[%n@%m %c]# &#8216;</p>
<p>setenv PATH ${PATH}:/opt/sun/cam/bin</p>
<p>#  Make command completion (TAB key) cycle through all possible choices<br />
#  (The default is to simply display a list of all choices when more than one<br />
#  match is available.)<br />
bindkey &#8220;^I&#8221; complete-word-fwd</p>
</div>
</li>
<li>Logout and back in for it to take affect.</li>
</ul>
</li>
<li>Edit <code>/etc/hosts</code>. Add a line with IP and domain name.
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#  Do not remove the following line, or various programs<br />
#  that require network functionality will fail.<br />
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br />
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6#  External IPs<br />
192.168.1.1 bill.com<br />
192.168.1.2 ted.com192.168.1.3 domain.com # this needs to be an IP that the cluster server can manage#  Internal IPs<br />
192.168.1.11 bill.localdomain bill # notice the .localdomain, this is necessary for mysql later<br />
192.168.1.12 ted.localdomain ted othernode # this is bill&#8217;s hosts file. othernode would be on the bill line for ted&#8217;s hosts file.<br />
#  ServicePort IPs<br />
192.168.1.21 billsp # I like to have a short name to use to connect to the service port (ELOM)<br />
192.168.1.22 tedsp</p>
<p>#  Internal Services<br />
192.168.1.100 http.localdomain httpd.localdomain<br />
192.168.1.101 mysql.localdomain<br />
192.168.1.102 memcached.localdomain</p>
</div>
</li>
<li>Run <code>updatedb</code> to set up the <code>locate</code> database.</li>
<li>Edit password settings to allow for stricter control over passwords. This requires strong passwords or the use of passphrases.
<ul>
<li>Check here for updated info: <a href="http://www.nsa.gov/ia/guidance/security_configuration_guides/operating_systems.shtml#linux2">http://www.nsa.gov/ia/guidance/security_configuration_guides/operating_systems.shtml#linux2</a></li>
<li>Edit the <code>/etc/pam.d/system-auth</code>file. Change the line<code>password requisite pam_cracklib.so try_first_pass retry=3</code>to this<code>password requisite pam_passwdqc.so min=disabled,disabled,16,12,8</code></li>
</ul>
</li>
<li>[Optional] Firefox: <code>yum update</code>, and then a<code>yum install firefox xorg-x11-xauth xorg-x11-fonts-Type1</code>There will be more you’ll need too.
<ul>
<li>If you get this error: <code>process 702: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory</code>. Then run the following command as root.
<ul>
<li><code>dbus-uuidgen &gt; /var/lib/dbus/machine-id</code></li>
</ul>
</li>
</ul>
</li>
<li>Set up ssh keys
<ul>
<li><code>ssh-keygen</code></li>
<li>Copy the id_rsa.pub file to the other node</li>
<li>Copy the contents of id_rsa.pub to <code>cat id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys</code></li>
<li>Double check permission on <code>authorized_keys</code> and <code>id_rsa</code> both set to <code>rw-------</code></li>
<li>You should now be able to log in from bill to ted (and vice versa) without a password.</li>
</ul>
</li>
</ol>
<pre></pre>
<h2>Shorewall</h2>
<ul>
<li>Yum Install:
<ul>
<li>Get EPEL repository. Visit <a href="http://fedoraproject.org/wiki/EPEL">http://fedoraproject.org/wiki/EPEL</a> to get the URL for the correct rpm. Something like: epel-release-6-5.noarch.rpm.</li>
<li>Copy that URL and run<code>rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm</code>on the machine.</li>
<li>Edit the <code>/etc/yum.repos.d/epel.repo</code> file and set the first “enabled” line to equal 0. That disables yum from using the EPEL repo by default.</li>
<li>Install shorewall with yum.<code>yum --enablerepo=epel install shorewall</code></li>
</ul>
</li>
<li>Enable program to run by editing the <code>/etc/shorewall/shorewall.conf</code> file. Change the <code>STARTUP_ENABLED=NO</code>to<code>STARTUP_ENABLED=Yes</code></li>
<li>Edit the shorewall config files.</li>
<li>Edit the <code>/etc/shorewall/zones</code>file:
<ul>
<li>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#<br />
#  Shorewall version 4 – Zones File<br />
#<br />
#  For information about this file, type “man shorewall-zones”<br />
#<br />
#  The manpage is also online at<br />
#  http://www.shorewall.net/manpages/shorewall-zones.html<br />
#<br />
###############################################################################<br />
#ZONE TYPE OPTIONS IN OUT<br />
#  OPTIONS OPTIONSnet ipv4 # The big bad Internet<br />
loc ipv4 # Internal LAN<br />
fw firewall#LAST LINE – ADD YOUR ENTRIES ABOVE THIS ONE – DO NOT REMOVE#LAST LINE – ADD YOUR ENTRIES ABOVE THIS ONE – DO NOT REMOVE</div>
</li>
</ul>
</li>
<li>Edit the <code>/etc/shorewall/interfaces</code>file:
<ul>
<li>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#<br />
#  Shorewall version 4 – Interfaces File<br />
#<br />
#  For information about entries in this file, type “man shorewall-interfaces”<br />
#<br />
#  The manpage is also online at<br />
#  http://www.shorewall.net/manpages/shorewall-interfaces.html<br />
#<br />
###############################################################################<br />
#ZONE INTERFACE BROADCAST OPTIONS<br />
net eth2<br />
loc eth1</div>
</li>
</ul>
</li>
<li>Edit the <code>/etc/shorewall/policy</code>file:
<ul>
<li>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">###############################################################################<br />
#SOURCE DEST POLICY LOG LIMIT: CONNLIMIT:<br />
#  LEVEL BURST MASK<br />
#  To/from internal lan<br />
fw loc ACCEPT<br />
loc fw ACCEPT<br />
#  To/from net<br />
fw net ACCEPT<br />
net all DROP info<br />
#<br />
#  THE FOLLOWING POLICY MUST BE LAST<br />
#<br />
all all REJECT info<br />
#LAST LINE — DO NOT REMOVE</div>
</li>
</ul>
</li>
<li>Edit the <code>/etc/shorewall/rules</code>file:
<ul>
<li>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">######################################################################################<br />
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL<br />
#  PORT <acronym title="S">PORT</acronym> DEST<br />
#SECTION ESTABLISHED<br />
#SECTION RELATED<br />
SECTION NEWSECTION NEW#  Standard services<br />
#<br />
ACCEPT  net      fw      tcp     ssh<br />
ACCEPT  net      fw      tcp     80,443Ping/ACCEPT      net      fw</p>
<p>#LAST LINE — ADD YOUR ENTRIES BEFORE THIS ONE — DO NOT REMOVE</p>
</div>
</li>
</ul>
</li>
<li>Edit the <code>/etc/shorewall/routestopped</code>file:
<ul>
<li>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#<br />
#  Shorewall version 4 – Routestopped File<br />
#<br />
#  For information about entries in this file, type “man shorewall-routestopped”<br />
#<br />
#  The manpage is also online at<br />
#  http://www.shorewall.net/manpages/shorewall-routestopped.html<br />
#<br />
#  See http://shorewall.net/starting_and_stopping_shorewall.htm for additional<br />
#  information.<br />
#<br />
###############################################################################<br />
#INTERFACE <acronym title="S">HOST</acronym> OPTIONS PROTO DEST SOURCE<br />
#  <acronym title="S">PORT</acronym> <acronym title="S">PORT</acronym><br />
eth1     -<br />
eth2     -</div>
</li>
</ul>
</li>
<li>Set shorewall to start on reboots.<code>chkconfig shorewall on</code></li>
<li>Start shorewall:<code>service shorewall start</code></li>
</ul>
<p>The next part will be <a title="Setting up a Hosting Environment: Part 1 – The servers" href="http://mossiso.com/2012/03/01/setting-up-a-hosting-environment-part-1-the-servers.html">connecting the servers to the storage array</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2012/03/01/setting-up-a-hosting-environment-part-1-the-servers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing is like carving in stone</title>
		<link>http://mossiso.com/2012/02/29/writing-is-like-carving-in-stone.html</link>
		<comments>http://mossiso.com/2012/02/29/writing-is-like-carving-in-stone.html#comments</comments>
		<pubDate>Thu, 01 Mar 2012 01:49:07 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Academic]]></category>
		<category><![CDATA[Dissertation]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[humanities]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[School Work]]></category>
		<category><![CDATA[Analogies]]></category>
		<category><![CDATA[history profession]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[research funding]]></category>
		<category><![CDATA[scholarship]]></category>
		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1152</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Writing+is+like+carving+in+stone&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-02-29&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F02%2F29%2Fwriting-is-like-carving-in-stone.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Academic&amp;rft.subject=Dissertation&amp;rft.subject=History&amp;rft.subject=humanities&amp;rft.subject=Methodology&amp;rft.subject=School+Work"></span>
Cross posted at NaziTunnels.org. Like a block of stone I recently finished writing and rewriting and writing again the essays for several scholarship applications. It is probably a good thing, but...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Writing+is+like+carving+in+stone&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2012-02-29&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2012%2F02%2F29%2Fwriting-is-like-carving-in-stone.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Academic&amp;rft.subject=Dissertation&amp;rft.subject=History&amp;rft.subject=humanities&amp;rft.subject=Methodology&amp;rft.subject=School+Work"></span>
<p>Cross posted at <a title="NaziTunnels.org" href="http://nazitunnels.org/2012/02/writing-is-like-chiseling-a-statue.html">NaziTunnels.org</a>.</p>
<h3>Like a block of stone</h3>
<p><a title="MAY 3. 2007: THE STONE IS WAITING by Akbar Simonse, on Flickr" href="http://www.flickr.com/photos/simeon_barkas/502043040/"><img src="http://farm1.staticflickr.com/222/502043040_2be8463d8a_m.jpg" alt="MAY 3. 2007: THE STONE IS WAITING" width="240" height="194" /></a></p>
<p>I recently finished writing and rewriting and writing again the essays for several scholarship applications. It is probably a good thing, but that was the most time and effort I have ever spent writing three pages of text. I went through several revisions of each essay, had the wonderful Fulbright advisers at George Mason read and reread the essays, and even went to the vastly underused (by me anyways) campus writing center.</p>
<h3>Roughing it out</h3>
<p><a title="MAY 16. 2007 : DAY 14 by Akbar Simonse, on Flickr" href="http://www.flickr.com/photos/simeon_barkas/507181344/"><img src="http://farm1.staticflickr.com/193/507181344_572d027046_m.jpg" alt="MAY 16. 2007 : DAY 14" width="240" height="178" /></a></p>
<p>My personal essay started out as being a little too personal, as in informal. At the writing center, I also realized that the opening paragraph was too negative. I wanted to show how as a child I deeply disliked school. In first and second grades, in order to avoid going to school I would often hide in the backyard or somewhere in the house, and generally make a big stink every morning. One time my mom drove me to school (two blocks away) and when we got there I jumped out of the car and ran off into the neighborhood for an hour or so. The rest of elementary school through high school was better; I did not put up as much of a stink, but I still did not like school. I was convinced that I would never have anything to do with school again once I graduated from high school. That&#8217;s how my essay started out, a general idea of what I wanted to write about. Like a big block of stone that I hacked away at.</p>
<h3>Adding Detail</h3>
<p><a title="MAY 22. 2007: DAY 20 by Akbar Simonse, on Flickr" href="http://www.flickr.com/photos/simeon_barkas/513546327/"><img src="http://farm1.staticflickr.com/204/513546327_53d439b732_m.jpg" alt="MAY 22. 2007: DAY 20" width="177" height="240" /></a></p>
<p>I wanted to convey all of that in a couple of sentences, all to point to the irony that I am now pursuing the highest degree one can attain in school, and that I am still in school 16 years later, with another three years to go (I did have three years off in there, though). But the gal at the writing center was right. It was a bit too negative. Instead I focused on my strengths as an historian and my technical skills. This worked out much better, since this is one of the major focuses of the dissertation. Through this constant revision and insight from others my project started to take shape.</p>
<h3>Finishing<br />
<a title="FINISHED AND ON ITS PLACE by Akbar Simonse, on Flickr" href="http://www.flickr.com/photos/simeon_barkas/1754287634/"><img src="http://farm3.staticflickr.com/2130/1754287634_b87cc656b6_m.jpg" alt="FINISHED AND ON ITS PLACE" width="179" height="240" /></a></h3>
<p>One of the other really neat things about spending so much effort on an essay (especially one about my dissertation research) is that I was really able to focus my arguments and tighten up my thoughts on what I hope to accomplish. Through this process of constant revision I realized three things that I wanted to focus on in my dissertation: the story of the underground dispersal projects; how the projects are memorialized or not, and what that says about <a href="http://en.wikipedia.org/wiki/Vergangenheitsbewältigung">Vergangenheitsbewältigung</a>; and an argument for the change in what is considered scholarship in the historical profession. Going through the constant revisions has changed my focus in some small ways from my original proposal in the dissertation prospectus, but that is to be expected. I feel that I now have a much more polished and obtainable goal.</p>
<p>All images courtesy of Akbar Simonse, who photographed Mark Rietmeijer sculpture. <a href="http://www.flickr.com/photos/simeon_barkas/sets/72157600224554402/">http://www.flickr.com/photos/simeon_barkas/sets/72157600224554402/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2012/02/29/writing-is-like-carving-in-stone.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6, iDrac6 and PowerEdge R510</title>
		<link>http://mossiso.com/2011/10/17/centos-6-idrac6-and-poweredge-r510.html</link>
		<comments>http://mossiso.com/2011/10/17/centos-6-idrac6-and-poweredge-r510.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:39:00 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[systems administration]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1121</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=CentOS+6%2C+iDrac6+and+PowerEdge+R510&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-10-17&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F10%2F17%2Fcentos-6-idrac6-and-poweredge-r510.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
RedHat changed an important part of their system with the upgrade from version 5 to 6. This affects CentOS which is the same thing, but rebranded. I was updating one...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=CentOS+6%2C+iDrac6+and+PowerEdge+R510&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-10-17&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F10%2F17%2Fcentos-6-idrac6-and-poweredge-r510.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Technical"></span>
<ol>
<li>RedHat changed an important part of their system with the upgrade from version 5 to 6. This affects CentOS which is the same thing, but rebranded.</li>
</ol>
<p>I was updating one server to use CentOS 6, and ran into this issue of setting up the iDRAC for remote console use. In previous versions, I would add a line to the /etc/inittab file. This is now unused. RedHat is favoring the &#8220;Upstart&#8221; system developed by and for Ubuntu. It starts services on request, rather than all at once.</p>
<p>So here is how I set up my Dell PowerEdge R510 with CentOS 6 to use the iDRAC6.</p>
<p>Info was taken from the <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/ch04s02.html" target="_blank">RedHat manual</a>, the <a href="http://support.dell.com/support/edocs/software/smdrac3/idrac/idrac11mono/en/ug/html/racugc3.htm#wp3869" target="_blank">Dell iDRAC manual</a>, and probably a bunch of other <a href="http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/" target="_blank">sites</a> that I googled for.</p>
<p>These steps are by no means comprehensive or detailed. I barely even know what&#8217;s going on myself, but it seems to work. It&#8217;s kind of cool to see a system boot up in your terminal. It&#8217;s like your terminal turns into a monitor connected to the server.</p>
<p><a href="http://mossiso.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-17-at-Oct-17-1.35.06-PM.png"><img class="aligncenter size-medium wp-image-1123" title="Screen Shot 2011-10-17 at  Oct 17 1.35.06 PM" src="http://mossiso.com/wp-content/uploads/2011/10/Screen-Shot-2011-10-17-at-Oct-17-1.35.06-PM-300x215.png" alt="" width="300" height="215" /></a></p>
<h3>Setting up the iDrac6</h3>
<h4>Edit BIOS</h4>
<ol>
<li>Boot the server.</li>
<li>Press <code>F2</code> to enter the BIOS setup utility during POST.</li>
<li>Scroll down and select Serial Communication by pressing <code>&lt;Enter&gt;</code>.</li>
<li>Set the Serial Communication screen options as follows:</li>
<ul>
<li><code>serial communication....On with serial redirection via com2</code></li>
<li>NOTE: You can set serial communication to &#8216;On with serial redirection via com1&#8242; as long as the serial port address field, serial device2, is set to com1, also.</li>
<li><code>serial port address....Serial device1 = com1, serial device2 = com2</code></li>
<li><code>external serial connector....Serial device 1</code></li>
<li><code>failsafe baud rate....57600</code></li>
<li><code>remote terminal type....vt100/vt220</code></li>
<li><code>redirection after boot....Enabled</code></li>
</ul>
<li>Save the changes and exit.</li>
</ol>
<h4>Edit iDRAC settings</h4>
<ol>
<li>Turn on or restart your system.</li>
<li>Press <code>&lt;Ctrl&gt;&lt;E&gt;</code> when prompted during POST. If your operating system begins to load before you press <code>&lt;Ctrl&gt;&lt;E&gt;</code>, allow the system to finish booting, and then restart your system and try again.</li>
<li>Configure the LOM.</li>
</ol>
<ol>
<li>Use the arrow keys to select LAN Parameters and press <code>&lt;Enter&gt;</code>. NIC Selection is displayed.</li>
<li>Use the arrow keys to select one of the following NIC modes:</li>
<ul>
<li>Dedicated — Select this option to enable the remote access device to utilize the dedicated network interface available on the iDRAC6 Enterprise. This interface is not shared with the host operating system and routes the management traffic to a separate physical network, enabling it to be separated from the application traffic. This option is available only if an iDRAC6 Enterprise is installed in the system. After you install the iDRAC6 Enterprise card, ensure that you change the NIC Selection to Dedicated. This can be done either through the iDRAC6 Configuration Utility, the iDRAC6 Web Interface, or through RACADM.</li>
</ul>
</ol>
<ul>
<li>Configure the network controller LAN parameters to use DHCP or a Static IP address source.</li>
</ul>
<ol>
<li>Using the down-arrow key, select LAN Parameters, and press <code>&lt;Enter&gt;</code>.</li>
<li>Using the up-arrow and down-arrow keys, select IP Address Source.</li>
<li>Using the right-arrow and left-arrow keys, select DHCP, Auto Config or Static.</li>
<li>If you selected Static, configure the Ethernet IP Address, Subnet Mask, and Default Gateway settings.</li>
<li>Press <code>&lt;Esc&gt;</code>.</li>
</ol>
<ul>
<li>Press <code>&lt;Esc&gt;</code>.</li>
<li>Select Save Changes and Exit.</li>
</ul>
<h4>Set up Linux OS (to do after OS is installed)</h4>
<ul>
<li>Configuring Linux for Serial Console Redirection During Boot</li>
<li>The following steps are specific to the Linux GRand Unified Bootloader (GRUB). Similar changes would be necessary if you use a different boot loader.</li>
<li><strong>NOTE:</strong> When you configure the client VT100 emulation window, set the window or application that is displaying the redirected console to 25 rows x 80 columns to ensure proper text display; otherwise, some text screens may be garbled.</li>
</ul>
<ol>
<li>Make a copy of the <code>/boot/grub/grub.conf</code>file as follows:<code>cp /boot/grub/grub.conf /boot/grub/grub.conf.orig</code></li>
<li>Edit the <code>/boot/grub/grub.conf</code> file as follows:</li>
</ol>
<ol>
<li>Locate the General Setting sections in the file and add the following two new lines:<code>serial --unit=0 --speed=57600</code><code>terminal --timeout=10 serial console</code></li>
<li>Append two options to the kernel line:<code>kernel ............. console=ttyS1,57600 console=tty1</code></li>
<li>If the /etc/grub.conf contains a splashimage directive, comment it out.Sample File: <code>/boot/grub/grub.conf</code>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#  grub.conf generated by anaconda<br />
#<br />
#  Note that you do not have to rerun grub after making changes to this file<br />
#  NOTICE: You have a /boot partition. This means that<br />
#  all kernel and initrd paths are relative to /boot/, eg.<br />
#  root (hd0,0)<br />
#  kernel /vmlinuz-version ro root=/dev/Logical1/LogVol00<br />
#  initrd /initrd-version.img<br />
#boot=/dev/sda<br />
default=0<br />
timeout=5<br />
<strong> #splashimage=(hd0,0)/grub/splash.xpm.gz</strong><br />
#hiddenmenu<br />
<strong>serial &#8211;unit=1 &#8211;speed=57600</strong><br />
<strong>terminal &#8211;timeout=5 console serial</strong>title CentOS (2.6.18-164.11.1.el5) SOL Redirection<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-164.11.1.el5 ro root=/dev/Logical1/LogVol00 <strong>console=tty1 console=ttyS1,57600</strong><br />
initrd /initrd-2.6.18-164.11.1.el5.img<br />
title CentOS (2.6.18-164.el5)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/Logical1/LogVol00<br />
initrd /initrd-2.6.18-164.el5.img</div>
</li>
</ol>
<h4>Enabling Login to the Console After Boot</h4>
<ol>
<li>Create a new <code>/etc/init/serial-ttyS1.conf</code>file.Sample File: <code>/etc/inittab</code>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">#  This service maintains a getty on /dev/ttyS1.start on stopped rc RUNLEVEL=[2345]<br />
stop on starting runlevel [016]respawn<br />
exec /sbin/agetty -h -L 57600 ttyS1 vt102</div>
</li>
</ol>
<h4>Edit the file <code>/etc/securetty</code></h4>
<ol>
<li>Make a copy of the <code>/etc/securetty</code>file as follows:<code>cp /etc/securetty /etc/securetty.orig</code></li>
<li>Edit the file <code>/etc/securetty</code>as follows:Add a new line with the name of the serial tty for COM2:<code>ttyS1</code>Sample File: <code>/etc/securetty</code>
<div style="border: 1px solid; font-family: 'Courier New', Courier, monospace; color: #444; padding: 8px;">vc/1<br />
vc/2<br />
vc/3<br />
vc/4<br />
vc/5<br />
vc/6<br />
vc/7<br />
vc/8<br />
vc/9<br />
vc/10<br />
vc/11<br />
tty1<br />
tty2<br />
tty3<br />
tty4<br />
tty5<br />
tty6<br />
tty7<br />
tty8<br />
tty9<br />
tty10<br />
tty11<br />
*ttyS1*</div>
</li>
</ol>
<h2>Redirect the video output over ssh connections</h2>
<h3>Starting a Text Console Through SSH (Remote Access, SOL)</h3>
<p>To connect to the managed system text console, open an iDRAC6 command prompt (displayed through an SSH session):</p>
<p><code>ssh root@xxx.xxx.xxx.xxx</code></p>
<p>and type:</p>
<p><code>console com2</code></p>
<p>Only one <code>console com2</code> client is supported at a time. The <code>console -h com2</code> command displays the contents of the serial history buffer before waiting for input from the keyboard or new characters from the serial port.</p>
<p>To exit the console type these three keys: <code></code><code>&lt;Ctrl &gt;&lt;Shift &gt;\</code></p>
<p>The default (and maximum) size of the history buffer is 8192 characters. You can set this number to a smaller value using the command:</p>
<p><code>racadm config -g cfgSerial -o cfgSerialHistorySize &lt; number &gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2011/10/17/centos-6-idrac6-and-poweredge-r510.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Making SMF static</title>
		<link>http://mossiso.com/2011/09/27/making-smf-static.html</link>
		<comments>http://mossiso.com/2011/09/27/making-smf-static.html#comments</comments>
		<pubDate>Tue, 27 Sep 2011 14:28:10 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[systems administration]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1081</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Making+SMF+static&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-09-27&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F09%2F27%2Fmaking-smf-static.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Coding&amp;rft.subject=Technical"></span>
We have a few legacy forums powered by the good software SMF (SimpleMachines Forum). Like many of the WordPress installs, it&#8217;s a pain and a security risk to keep these...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Making+SMF+static&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-09-27&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F09%2F27%2Fmaking-smf-static.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Coding&amp;rft.subject=Technical"></span>
<p><a href="http://www.simplemachines.org/"><img class="aligncenter size-full wp-image-1113" title="frontpage_logo" src="http://mossiso.com/wp-content/uploads/2011/09/frontpage_logo.png" alt="" width="486" height="65" /></a>We have a few legacy forums powered by the good software SMF (<a title="http://www.simplemachines.org/" href="http://www.simplemachines.org/">SimpleMachines Forum</a>). Like many of the WordPress installs, it&#8217;s a pain and a security risk to keep these up-to-date when they are no longer needed as content creation platforms. So, once again I need to convert a web app into static HTML pages. This process proved a bit harder than converting WordPress to static HTML.</p>
<h2><strong>Step 1: Upgrade</strong></h2>
<p>The first thing to do is update to the latest version. This ensures that if you need to turn this back into a dynamic site, it should hopefully be compatible with whatever the latest version is at that time.</p>
<h2><strong>Step 2: Make it public</strong></h2>
<p>Next, we&#8217;ll need to make it public to guests, so that wget has access to the pages.</p>
<p>Go to the Admin-&gt;Features and Options page and check the &#8220;Allow guests to browse the forum&#8221; box, then click save. Now we have to change the permissions on each board separately. Or with a bit of MySQL magic, we can change them all at once using the CONCAT operator. Open of phpMyAdmin, or something else of your choice. Before we mess with the data, make a copy of the table, just in case we totally hose it.</p>
<p>Browse to the &#8216;boards&#8217; table, and then to the SQL tab. We&#8217;re going to enter an SQL command that will pre-pend (that&#8217;s append but onto the front rather than the end) some data.</p>
<pre>UPDATE boards SET member_groups=CONCAT('-1,', member_groups) WHERE 1</pre>
<p>This will add a -1, to the beginning of each field, which makes the board viewable by guests. No need to log in, which means wget can scrape the pages and turn them into HTML.</p>
<h2><strong>Step 3: Edit Theme files</strong></h2>
<p>Now we get to play around with the theme files to get rid of forum specific items that we won&#8217;t need, like links to member info, the login, help, and search links, and anything else that we don&#8217;t want.</p>
<p>Here are some items to delete or alter, and the files I found them in for our home-made theme based off of an old default theme.</p>
<h4><strong>index.template.php</strong></h4>
<ul>
<li>Add a title</li>
<li>Get rid of date stamp</li>
<li>Get rid of the main menu (Home, Help, Search, Login, etc)</li>
</ul>
<h4>BoardIndex.template.php</h4>
<ul>
<li>Search for ['member']['link'] and change it to ['member']['name'] This will take out all links to member profile pages.</li>
</ul>
<h4>Display.template.php</h4>
<ul>
<li>Search for ['member']['link'] and change it to ['member']['name'] This will take out all links to member profile pages.</li>
<li><strong></strong>Get rid of the drop down menu to select pages.</li>
</ul>
<h4>MessageIndex.template.php</h4>
<ul>
<li>Search for ['member']['link'] and change it to ['member']['name'] This will take out all links to member profile pages.</li>
<li>Delete the &#8216;Jump to&#8217; drop-down box and the icons explaining post/board types</li>
</ul>
<h2><strong>Step 4: Fix the URLs</strong></h2>
<p>As it stands, SMF has some pretty ugly URLs. There are a couple of mods that I could never get to work. But editing a file and adding an .htaccess file seems to do the trick.</p>
<p>Open the Sources/QueryString.php file and look for the line like this:</p>
<pre>$scripturl = $boardurl . '/index.php';</pre>
<p>and get rid of the /index.php</p>
<p>Now create a .htaccess file in the root of the forum (in the same folder as the Settings.php file). It should look similar to this:</p>
<pre>RewriteEngine On
RewriteBase /7tah/forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /7tah/forum/index.php [L]
</pre>
<h2>Step 5: Wget it</h2>
<p>Now we run wget on the command line to grab the pages.</p>
<pre>wget --mirror -P static-forum -nH -np -p -k -E --cut-dirs=2 http://domain.com/path/forum/</pre>
<p>All of the static HTML files will now be located in a directory called static-forum.</p>
<h2>Step 6: Fix filenames</h2>
<p>Some filenames will be a bit broken. Specifically the style.css has an extra &#8220;?fin11&#8243; in the html files where the file is called. Also, it get&#8217;s name that way. So fix that by changing the name of the file to just style.css (it&#8217;s in your Theme directory). Then run this one-line command to search and replace throughout all of the static html files (run the command when you are in the static-forum directory.</p>
<pre>find . -name '*.html' -type f -exec perl -pi -e 's/style.css%3Ffin11/style.css/g' {} \;</pre>
<p>This will look for all of the references to the style.css%3Ffin11 file and change them to style.css. Then the pretty colors and formatting will work. Just for clarification, the %3F is code for a question mark. It shows up as such in the HTML source when viewing from a browser, but is displayed as such in the actual code.</p>
<p>Don&#8217;t forget to change the the actual name of the css file to style.css.</p>
<h2>Step 7: Protect it</h2>
<p>Depending on  your needs, you may want to password protect your new static forum with an htaccess account. The good peoples at <a title="htaccess password tool" href="http://tools.dynamicdrive.com/password/" target="_blank">Dynamic Drive have an helpful tool</a> for making the two files necessary to make this happen. Just plug in your desired user name, password, and location of the htpasswd file, and then it&#8217;s copy and paste into those files on the server.</p>
<p>I change the last line of the htaccess file to <code>require user username</code> so that it works only with the given user, not any valid. But since it only pulls from the specified htpasswd file, it&#8217;s kind of pointless.</p>
<h2>Step 8: Backup the old</h2>
<p>It&#8217;s a good idea to make a backup of the database and site files before getting rid of them. I just make a mysqldump of the database, throw it in the forum folder, and then make a tar or zip file of that and put the file in the new static forum folder for safe keeping.</p>
<h2>Step 9: That&#8217;s it.</h2>
<p>Sit back and relax. Your forum is interactive no longer.</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2011/09/27/making-smf-static.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carl Edwin Shepherd &#8211; April 30, 1949 &#8211; August 8, 2011</title>
		<link>http://mossiso.com/2011/09/02/carl-edwin-shepherd-april-30-1949-august-8-2011.html</link>
		<comments>http://mossiso.com/2011/09/02/carl-edwin-shepherd-april-30-1949-august-8-2011.html#comments</comments>
		<pubDate>Fri, 02 Sep 2011 16:12:36 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[family]]></category>
		<category><![CDATA[Gospel of Jesus Christ]]></category>
		<category><![CDATA[life after death]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1072</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Carl+Edwin+Shepherd+-+April+30%2C+1949+-+August+8%2C+2011&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-09-02&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F09%2F02%2Fcarl-edwin-shepherd-april-30-1949-august-8-2011.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Personal"></span>
My dad passed away kind of unexpectedly a few weeks ago. He was diagnosed with liver cancer (although he never drank a drop of alcohol) about two years ago. At...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Carl+Edwin+Shepherd+-+April+30%2C+1949+-+August+8%2C+2011&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-09-02&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F09%2F02%2Fcarl-edwin-shepherd-april-30-1949-august-8-2011.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Personal"></span>
<div id="attachment_1074" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2011/09/theFamily.jpg"><img class="size-medium wp-image-1074" title="theFamily" src="http://mossiso.com/wp-content/uploads/2011/09/theFamily-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">My parents and siblings in 2008</p></div>
<p>My dad passed away kind of unexpectedly a few weeks ago. He was diagnosed with liver cancer (although he never drank a drop of alcohol) about two years ago. At that time he was given a year or two to live. For the past year or so, he was in and out of the hospital for treatments and other health issues. We thought his last trip to the hospital was just another one of those in and out visits. He got <a href="http://www.ncbi.nlm.nih.gov/pubmedhealth/PMH0001858/">cellulitis</a>in July, and that severely dehidrated his body, which</p>
<p>started to shut down his kidneys. By the beginning of August he was in the hospital again, and there was nothing they could do for him. All of his seven children and their families came back to Mesa, Arizona as quickly as we could. Unfortunately, my dad passed away the night before I got there. When I learned that he died, it was the first time I had really cried since I was a kid.</p>
<p>The funeral and everything went very well. The friends from my parents Ward were awesome and supplied us with ample and very yummy food, so that we didn&#8217;t have to worry about feeding the 28 or so people that were always at my parents house. I was asked to give the life sketch of my dad at the funeral. It was not all inclusive, or even all that detailed, but it expresses what my dad was: a simple, humble, loving father and husband, who tried to do what was right.</p>
<p>Here&#8217;s the life sketch:</p>
<p><strong>Life Sketch of Carl Edwin Shepherd</strong></p>
<p>&nbsp;</p>
<p>Dad was born April 30, 1949 in Mesa, Arizona, to Max and Lois Shepherd.</p>
<p>He received his Eagle Scout award, graduated from Mesa High School, and served a mission to Southern Germany. His life “took a major change” after meeting a girl at a Church dance. After the first date he was “hooked for life”. Ed and Cathy were married on February 16<sup>th</sup>, 1973.</p>
<p>&nbsp;</p>
<p>He died August 8, 2011, in Mesa, Arizona. His father and a younger brother preceded him in death, and he left behind his mother, his wife, seven children and fourteen grandchildren.</p>
<p>&nbsp;</p>
<p>In between those dates and events the world was forever changed by the life and love of the great man we honor and remember today.</p>
<p>&nbsp;</p>
<p><strong>Life Protected</strong></p>
<p>My Dad’s life was protected, even from his earliest days. When he was still a baby, he was in his crib for a nap. His mother was visiting with a neighbor, when she felt the distinct impression to go check on him. She followed the impression and when she went to the crib, my dad’s head was wedged between the crib and mattress, and was already nearly strangled.</p>
<p>When two years old, he was putting on his sandals, and was bit by a scorpion. He was in convulsions by the time he got to the hospital, but was able to get treated and was only sick for several days.</p>
<p>Dad was protected in other ways as well. He had many experiences that helped him learn the truth and power of God, and the plan He had for my Dad. Once as boy, he was tempted to drink alcohol when he found a bottle of liquor on his way home from school. He purchased a Slurpee from the store, poured the liquor in and was about to take a drink when the cup flew from his hand. He felt impressed that if he ever took a drink he would never be able to put it down. This experience helped him live the Word of Wisdom through out his life.</p>
<p>As it says in D&amp;C 89: 21, “And I, the Lord, give unto them a promise, that the destroying angel shall pass by them, as the children of Israel, and not slay them. Amen.” On Dec 17, 1988, Dad’s arm got stuck in a lathe at work, and broke in four places above the elbow. “The Lord was watching over me that day,” he wrote in his journal, “because it would have been so easy for the lathe to have ripped my arm clear off or done far more damage than it did.”  Dad’s brother Paul, who worked at the same shop, remarked on how much of a miracle it was. The only way the machine would stop was for someone to push the off button. With Dad stuck in the lathe there was no time and he was in no position to have done it, but the machine stopped before any more damage could be done. The Lord was definitely there to help out. Charity recalled that it was a blessing in disguise for Dad to be home so much to help take care of Charity and get to know her better. Shortly after the accident, his father Max Shepherd, blessed him that he would “heal quicker than normal and that this would be a testament to his family because he had never used drugs, alcohol, tobacco and had kept his body clean.” Indeed, this was a testimony to his family. The destroying angel had passed him by on this and many other occasions. Even though Dad died of ill health, it was not the destroying angel that came to take him away but it was an angel of compassion and love.</p>
<p>&nbsp;</p>
<p><strong>Worthy Priesthood Holder</strong></p>
<div id="attachment_1073" class="wp-caption alignright" style="width: 310px"><a href="http://mossiso.com/wp-content/uploads/2011/09/3Generations.jpg"><img class="size-medium wp-image-1073" title="3Generations" src="http://mossiso.com/wp-content/uploads/2011/09/3Generations-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Three generations. Asher shares his grandpa&#39;s birthday.</p></div>
<p>Dad emulated scriptures in many ways. My Dad was a humble servant and worthy priesthood holder, and surely one of the chosen of God. One of the great scriptures detailing the rights and responsibilities of the priesthood is found in D&amp;C 121: 40-44. “Hence many are called, but few are chosen. No power or influence can or ought to be maintained by virtue of the priesthood, only by persuasion, by long-suffering, by gentleness and meekness, and by love unfeigned; By kindness, and pure knowledge, which shall greatly enlarge the soul without hypocrisy, and without guile—Reproving betimes with sharpness, when moved upon by the Holy Ghost; and then showing forth afterwards an increase of love toward him whom thou hast reproved, lest he esteem thee to be his enemy; That he may know that thy faithfulness is stronger than the cords of death.” Of course I never needed reproving, but my siblings tell me this was my Dad’s way. J  Rarely would he yell, and then usually at the situation and not the individual. Ben remembers many times where Dad exemplified this eternal priesthood pattern, especially after Ben learned that our suburban was not only good for carrying people but for mud bogging, jumping out of retention basins, and all manner of shenanigans. After one such occasion the car would not start. My Dad found the problem, then asked Ben to come out to the car. Instead of yelling or getting mad, my Dad showed Ben how to clean the mud from the starter and get the car working again. He ended with his expression of love for Ben. Such was the pattern over and over again. Dad was quick with reprove, by story or explanation, and followed up with a show of love.</p>
<p>When Aaron was pre-school aged, he found a drill in the back yard that Dad had borrowed from our Grandpa. He started drilling holes in the dirt. After a few minutes Dad came out, asked him to stop, then went back inside. After he left, Aaron promptly forgot, and started drilling again. Dad came out and again asked him to stop. As soon as Dad went back inside, Aaron started drilling again. For the third time Dad came out. Aaron knew he was in trouble and expected it. Dad patiently picked up Aaron, brought him into the living room and sat him on the couch. He told Aaron he loved him, and then went back to what he was doing.</p>
<p>Dad reproved with sharpness at times, but always let us know that he loved us, and we know undeniably that his faithfulness is stronger than death.</p>
<p>&nbsp;</p>
<p>Dad loved serving in the Church. He had many callings, but the ones he wrote most of were the ones where he got to serve others the most, such as being a Stake Missionary, a Teachers Quorum Advisor while my brother Aaron and I were Teachers, and the Stake calling to be in charge of our building. I have many fond memories of helping him get the Stake Center satellite and recording equipment ready for General Conference. Two special times were right before my mission and right after. I could tell my Dad honored and sustained the Prophet and Apostles by his dedicated service in the Church. He taught all of us boys the “right way” to help with chairs at any Church function. 10 in a row, all facing the same way, evenly stacked on each side of the cultural hall.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Dad’s love</strong></p>
<p>Dad showed us love in so many ways. In a letter he wrote to Ben after his mission, he expressed the need for people to be shown love in different ways. “Consider the needs of each child separately, for just as adults are different, each child is different also. Each must be treated different. There are huggers and tell me but touch me nots. Some will learn from a lecture or a story, others need a more physical approach. Each needs to know that you truly love them for who they are, children of God on loan to two other children who have a few more minutes of experience.”</p>
<p>Even after getting up really early, and doing demanding physical work during the day, Dad would sing us to bed, or read us stories like the Hobbit and the Lord of the Ring trilogy.</p>
<p>Dad was so excited when Charity made the Cheerleading team. “Great!” he said, “I get to go to all the football games… to see you of course.”</p>
<p>Dad was always building stuff for us: a big fort in the back yard (he kept it a surprise by telling us it was a show case for his prize elk rack). He built a loft bed for our room (this was especially memorable for me, I even cried the day the family took it out). He built a couch to store our year supply, and an entertainment center out of a piano crate. He built rocking horses, and wooden guns.</p>
<p>Dad would make dinner everyday while Mom was giving piano lessons, and he would open the car door for Mom. On the occasions when he was home for breakfast, he would make pancakes or waffles with strawberries and whipped cream. These examples have become natural for his own sons, as they emulate his good example of service and love to his family.</p>
<p>More recently, when we would visit for Christmas, if ever we mentioned we needed something (like baby food), the next day there would be a month supply.</p>
<p>&nbsp;</p>
<p><strong>Remembrances</strong></p>
<p>We’ll always remember you Dad. Your collection of suspenders. Your garden and other yard projects. Your collecting quarters. Trips to the desert for picnics and shooting guns, and your amazing knowledge of plant life, wildlife and geology. The vast amounts of seemingly trivial trivia. If only we could have convinced you to be on Jeopardy, Ken Jennings would have met his match. We’ll miss your wonderful tenor singing. We’ll miss your cooking. Most of all we’ll miss your love and companionship.</p>
<p>&nbsp;</p>
<p>This is but a sad temporary parting, for our hope in eternal life and the beautiful plan of salvation made possible by our loving and merciful Savoir, allows us to hope for a better day, when we will all be reunited and have eternal life with God our Father and His Son Jesus Christ, whom we can all seek to emulate.</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2011/09/02/carl-edwin-shepherd-april-30-1949-august-8-2011.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3rd Annual Rolling Flubber</title>
		<link>http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html</link>
		<comments>http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html#comments</comments>
		<pubDate>Sun, 12 Jun 2011 14:32:20 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[bike]]></category>
		<category><![CDATA[skyline drive]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1059</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=3rd+Annual+Rolling+Flubber&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-06-12&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F06%2F12%2F3rd-annual-rolling-flubber.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Personal"></span>
I recently did the 130 miles on Skyline Drive. This was the third year in a row to do this ride. It was lots of fun, and lots of pain....]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=3rd+Annual+Rolling+Flubber&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-06-12&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F06%2F12%2F3rd-annual-rolling-flubber.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Personal"></span>
<p>I recently did the 130 miles on Skyline Drive. This was the third year in a row to do this ride. It was lots of fun, and lots of pain. I purchased a brand new cyclo-cross bike and got it the day before the ride. That was a bad mistake. Take a bike that you&#8217;ve been on a few times&#8230;</p>
<p>I had a few troubles with the brakes and front derailleur, but all in all it was a great trip. We stayed overnight in Waynesboro.</p>
<p>We went 66.8 miles on Friday, from Hawkes Bill Gap to Waynesboro, and 65.3 back the next day, for a total of 132.1 miles. I averaged about 6 or 7 miles an hour, and as you can see from the elevation profile, that was usually the speed up the hills. I got up to 40 miles/hour on one of the down hills.</p>
<p>Highlights of the trip: much nicer bike to ride than previous years, seeing a bear, turkey, and deer, speaking German to a couple from Germany, being interviewed by a news lady (someone had driven off the side of a cliff on Skyline Drive the day before), surviving 130 miles!</p>
<p>I was definitely worn out by the end of the ride. I&#8217;ll have to be in much better shape next year.</p>
<p>Thanks to Don and Taylor, two good buddies for making the trip possible.</p>
<p>Since then, I&#8217;ve already been out on a quick 14 mile ride (in only one hour).<br />

<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/p1100522' title='P1100522'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/P1100522-150x150.jpg" class="attachment-thumbnail" alt="P1100522" title="P1100522" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/p1100524' title='P1100524'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/P1100524-150x150.jpg" class="attachment-thumbnail" alt="P1100524" title="P1100524" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/p1100529' title='P1100529'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/P1100529-150x150.jpg" class="attachment-thumbnail" alt="P1100529" title="P1100529" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/screen-shot-2011-06-06-at-jun-6-9-09-34-am' title='Screen shot 2011-06-06 at  Jun 6 9.09.34 AM'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/Screen-shot-2011-06-06-at-Jun-6-9.09.34-AM-150x150.png" class="attachment-thumbnail" alt="Screen shot 2011-06-06 at  Jun 6 9.09.34 AM" title="Screen shot 2011-06-06 at  Jun 6 9.09.34 AM" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/screen-shot-2011-06-06-at-jun-6-9-11-13-am' title='Screen shot 2011-06-06 at  Jun 6 9.11.13 AM'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/Screen-shot-2011-06-06-at-Jun-6-9.11.13-AM-150x150.png" class="attachment-thumbnail" alt="Screen shot 2011-06-06 at  Jun 6 9.11.13 AM" title="Screen shot 2011-06-06 at  Jun 6 9.11.13 AM" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/screen-shot-2011-06-06-at-jun-6-9-16-33-am' title='Screen shot 2011-06-06 at  Jun 6 9.16.33 AM'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/Screen-shot-2011-06-06-at-Jun-6-9.16.33-AM-150x150.png" class="attachment-thumbnail" alt="Screen shot 2011-06-06 at  Jun 6 9.16.33 AM" title="Screen shot 2011-06-06 at  Jun 6 9.16.33 AM" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/skylinedrive-bikeride-2011-climstats' title='SkylineDrive-BikeRide-2011-ClimStats'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/SkylineDrive-BikeRide-2011-ClimStats-150x150.png" class="attachment-thumbnail" alt="SkylineDrive-BikeRide-2011-ClimStats" title="SkylineDrive-BikeRide-2011-ClimStats" /></a>
<a href='http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/skylinedrive-bikeride-2011-elevationprofile' title='SkylineDrive-BikeRide-2011-ElevationProfile'><img width="150" height="150" src="http://mossiso.com/wp-content/uploads/2011/06/SkylineDrive-BikeRide-2011-ElevationProfile-150x150.png" class="attachment-thumbnail" alt="SkylineDrive-BikeRide-2011-ElevationProfile" title="SkylineDrive-BikeRide-2011-ElevationProfile" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2011/06/12/3rd-annual-rolling-flubber.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python, Trac, virtualenv and CentOS</title>
		<link>http://mossiso.com/2011/04/05/python-trac-virtualenv-and-centos.html</link>
		<comments>http://mossiso.com/2011/04/05/python-trac-virtualenv-and-centos.html#comments</comments>
		<pubDate>Tue, 05 Apr 2011 18:05:37 +0000</pubDate>
		<dc:creator>ammon</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://mossiso.com/?p=1041</guid>
		<description><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Python%2C+Trac%2C+virtualenv+and+CentOS&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-04-05&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F04%2F05%2Fpython-trac-virtualenv-and-centos.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Coding&amp;rft.subject=Technical"></span>
I&#8217;ve just spent too much time figuring this out. I&#8217;ve had to piece it together from many other sites. I need to set up Trac .12 on CentOS 5, but...]]></description>
			<content:encoded><![CDATA[<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.type=&amp;rft.format=text&amp;rft.title=Python%2C+Trac%2C+virtualenv+and+CentOS&amp;rft.source=Ammon+Shepherd+-+Historical+Webber&amp;rft.date=2011-04-05&amp;rft.identifier=http%3A%2F%2Fmossiso.com%2F2011%2F04%2F05%2Fpython-trac-virtualenv-and-centos.html&amp;rft.language=English&amp;rft.aulast=Shepherd&amp;rft.aufirst=Ammon&amp;rft.subject=Coding&amp;rft.subject=Technical"></span>
<p>I&#8217;ve just spent too much time figuring this out. I&#8217;ve had to piece it together from many other sites.</p>
<p>I need to set up Trac .12 on CentOS 5, but want to do that without interfering with the current setup of Trac and Subversion on the system.</p>
<p>So in comes <a href="http://pypi.python.org/pypi/virtualenv">virtualenv</a>. This allows you to create a virtual environment for python. Like a separate install. The beauty is, once this is set up you can install different versions of python packages (like Trac and Subversion) that don&#8217;t have to interact with each other.</p>
<p>To install virtualenv was pretty simple. With root permissions do</p>
<pre>easy_install virtualenv</pre>
<p>Now, as your normal user, you can install a virtual environment.</p>
<pre>virtualenv --no-site-packages foo</pre>
<p>This will create a new folder called foo with a virtual environment for python. It won&#8217;t reference any of the other installed python packages (like the old Trac version).</p>
<p>Now upgrade the Genshi package with</p>
<pre>easy_install --upgrade Genshi</pre>
<p>Then, to install Trac do</p>
<pre>easy_install Trac==0.12</pre>
<p>That&#8217;s the part that always hung me up. I would just do
<pre>easy_install Trac</pre>
<p> which would cough up this ugly error:</p>
<pre>Searching for trac
Reading http://pypi.python.org/simple/trac/
Reading http://trac.edgewall.org/
Reading http://trac.edgewall.org/wiki/TracDownload
Reading http://trac.edgewall.com/
Reading http://projects.edgewall.com/trac
Reading http://projects.edgewall.com/trac/wiki/TracDownload
Best match: Trac 0.12.2
Downloading ftp://ftp.edgewall.com/pub/trac/Trac-0.12.2.zip
Processing Trac-0.12.2.zip
Running setup.py -q bdist_egg --dist-dir trac-dir/trac/egg-dist-tmp-JmdQXW
Traceback (most recent call last):
File "/home/ammon/foo/bin/easy_install", line 7, in ?
sys.exit(
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 1700, in with_ei_u
sage
return f()
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 1716, in &lt;lambda&gt;
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 446, in easy_insta
ll
return self.install_item(spec, dist.location, tmpdir, deps)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 476, in install_it
em
dists = self.install_eggs(spec, download, tmpdir)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 655, in install_eg
gs
return self.build_and_install(setup_script, setup_base)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 930, in build_and_
install
self.run_setup(setup_script, setup_base, args)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/sandbox.py", line 61, in run_setup
DirectorySandbox(setup_dir).run(
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/sandbox.py", line 105, in run
return func()
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/sandbox.py", line 64, in &lt;lambda&gt;
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 110, in ?
File "/usr/lib64/python2.4/distutils/core.py", line 110, in setup
_setup_distribution = dist = klass(attrs)
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/dist.py", line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/setuptools/dist.py", line 283, in fetch_build_eggs
for dist in working_set.resolve(
File "/home/ammon/foo/lib/python2.4/site-packages/setuptools-0.6c12dev_r88795-py2.4.egg/pkg_resources.py", line 569, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (Genshi 0.6dev (/usr/local/lib/python2.4/site-packages/Genshi-0.6dev-py2.4-linux-x86_64.egg), Requirement.parse('Genshi
&gt;=0.6'))</pre>
<p>Notice the last line referencing a version conflict with the &#8220;old&#8221; Genshi at /usr/local/lib/python2.4/site-packages. That&#8217;s the system-wide default install. So making explicit that you want to install Trac==0.12 is the way to get it installed in a virtual environment.</p>
<p>Now I just need to figure out how to configure Trac and Subversion using this virtual environment, and copy over a live older version of each.</p>
]]></content:encoded>
			<wfw:commentRss>http://mossiso.com/2011/04/05/python-trac-virtualenv-and-centos.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

