<?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>byCycle.org &#187; System Administration</title>
	<atom:link href="http://info.bycycle.org/category/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.bycycle.org</link>
	<description>Get There by Cycle!</description>
	<lastBuildDate>Fri, 02 Sep 2011 07:28:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>byCycle is Down</title>
		<link>http://info.bycycle.org/2011/07/06/bycycle-is-down/</link>
		<comments>http://info.bycycle.org/2011/07/06/bycycle-is-down/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 04:53:33 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Trip Planner]]></category>

		<guid isPermaLink="false">http://info.bycycle.org/?p=173</guid>
		<description><![CDATA[The server hosting the trip planner had a meltdown yesterday. At this time, it is unknown when or if the site will come back online.]]></description>
			<content:encoded><![CDATA[<p>The server hosting the trip planner had a meltdown yesterday. At this time, it is unknown when or if the site will come back online.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2011/07/06/bycycle-is-down/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Upgraded to Python 2.5</title>
		<link>http://info.bycycle.org/2007/02/11/upgraded-to-python-25/</link>
		<comments>http://info.bycycle.org/2007/02/11/upgraded-to-python-25/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 04:28:00 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Core]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Trip Planner]]></category>

		<guid isPermaLink="false">http://bycycle.org/2007/02/11/upgraded-to-python-25/</guid>
		<description><![CDATA[I just got done installing Python 2.5 and converting the trip planner code to use it instead of 2.4. The only required change was pointing the &#8220;dispatch&#8221; file at the 2.5 executable. No other changes to the code were required &#8230; <a href="http://info.bycycle.org/2007/02/11/upgraded-to-python-25/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just got done installing Python 2.5 and converting the trip planner code to use it instead of 2.4. The only required change was pointing the &#8220;dispatch&#8221; file at the 2.5 executable. No other changes to the code were required to make it run on 2.5.</p>
<p>A few little things also got cleaned up, and I updated to the latest versions of MySQLdb (1.2.2b3) and simplejson (1.5).</p>
<p>Hopefully nothing will blow up.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2007/02/11/upgraded-to-python-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress CMS</title>
		<link>http://info.bycycle.org/2007/01/25/wordpress-cms/</link>
		<comments>http://info.bycycle.org/2007/01/25/wordpress-cms/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 00:26:19 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://bycycle.org/2007/01/25/wordpress-cms/</guid>
		<description><![CDATA[Previously, we were using a hacked together &#8220;content management system&#8221; (CMS) to maintain this site. We had integrated WordPress for blogging, but all the pages were stored in separate files. Keeping things updated was a pain in the ass. In &#8230; <a href="http://info.bycycle.org/2007/01/25/wordpress-cms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Previously, we were using a hacked together &#8220;content management system&#8221; (CMS) to maintain this site. We had integrated <a href="http://wordpress.org/">WordPress</a> for blogging, but all the pages were stored in separate files. Keeping things updated was a pain in the ass.</p>
<p>In order to simplify things, we wanted to move the whole site and blog into a unified CMS. We tried <a href="http://mephistoblog.com/">Mephisto</a>, and it&#8217;s pretty nice, but we didn&#8217;t want to be tied to using <a href="http://rubyonrails.org/">Ruby on Rails</a>, which Mephisto is built on.</p>
<p>We can run WordPress almost anywhere, easily, and <a href="http://affil.aplus.net/Affiliates/click.jsp?bid=111&amp;aid=1003145" title="aPlus Web hosting">inexpensively</a>. There&#8217;s also a ton of info for hacking WordPress on the Web. PHP is pretty weak compared to Python or Ruby, but that doesn&#8217;t really matter for this purpose.</p>
<p>The theme for the site is being developed by <a href="http://wyattbaldwin.com/">Wyatt</a> and is available for download via <a href="http://subversion.tigris.org/" title="SVN Version Control">Subversion</a> (you might need to log in with username:password guest:guest):</p>
<div style="overflow:auto;">
<code>svn co http://svn.bycycle.org/bycycle.org/wordpress/themes/byCycle/trunk byCycle</code>
</div>
<p>We may have introduced some broken links or other problems during this change. If you notice anything, please <a href="/contact">let us know</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2007/01/25/wordpress-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems with the Trip Planner in the Last Day or So</title>
		<link>http://info.bycycle.org/2006/10/26/problems-with-the-trip-planner-in-the-last-day-or-so/</link>
		<comments>http://info.bycycle.org/2006/10/26/problems-with-the-trip-planner-in-the-last-day-or-so/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 11:40:12 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Trip Planner]]></category>

		<guid isPermaLink="false">http://bycycle.org/blog/2006/10/26/problems-with-the-trip-planner-in-the-last-day-or-so/</guid>
		<description><![CDATA[Our hosting provider moved all our files to a new server&#8211;without letting us know before hand that they were going to do so. Most things kept working. A few did not, as you may have noticed. The reason some things &#8230; <a href="http://info.bycycle.org/2006/10/26/problems-with-the-trip-planner-in-the-last-day-or-so/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Our hosting provider moved all our files to a new server&#8211;without letting us know before hand that they were going to do so. Most things kept working. A few did not, as you may have noticed.</p>
<p>The reason some things stopped working is, the new server is running a newer version of the operating system and some of the software the trip planner depends on[1] had to be recompiled [reinstalled from source code].</p>
<p>Though I think the upgrade is a good thing overall, I hope they let us know about it before they do it next time!</p>
<p>[1] The MySQL bindings for Python, in case you really wanted to know. I also updated Python from 2.4.3 to 2.4.4, but I don&#8217;t know if that was strictly necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2006/10/26/problems-with-the-trip-planner-in-the-last-day-or-so/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreekBox</title>
		<link>http://info.bycycle.org/2006/09/05/freekbox/</link>
		<comments>http://info.bycycle.org/2006/09/05/freekbox/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 02:43:13 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://bycycle.org/blog/2006/09/05/freekbox/</guid>
		<description><![CDATA[Today we went to Free Geek and picked up a Grant Box. It&#8217;s a pretty sweet computer, especially for the price ($0). We received the box through their hardware grant program. Here&#8217;s a little about Free Geek from their mission &#8230; <a href="http://info.bycycle.org/2006/09/05/freekbox/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today we went to <a title="Free Geek site" href="http://freegeek.org/">Free Geek</a> and picked up a Grant Box. It&#8217;s a pretty sweet computer, especially for the price ($0). We received the box through their <a title="Free Geek Hardware Grants" href="http://freegeek.org/grants.php">hardware grant</a> program. Here&#8217;s a little about Free Geek from their <a title="Free Geek Mission page" href="http://freegeek.org/mission.php">mission page</a>:</p>
<p>&#8220;FREE GEEK is a 501(c)(3) not for profit community   organization that recycles used technology to provide computers,   education, internet access and job skills training to those in   need in exchange for community service.&#8221;</p>
<p>The box came with <a title="Ubuntu Linux" href="http://ubuntu.com/">Ubuntu GNU/Linux</a> pre-installed, which is excellent because that&#8217;s what I&#8217;m running on my development box and on our new virtual private server (which now hosts our <a title="byCycle Trac" href="http://trac.bycycle.org/">project tracker</a> and soon will host a new version of the trip planner).</p>
<p>Our plan for the box is to use it for testing purposes (e.g., browser compatibility) and/or as a staging server before pushing new versions out to production.</p>
<p>Thanks, Free Geek!</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2006/09/05/freekbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Upgrade and K2</title>
		<link>http://info.bycycle.org/2006/08/13/wordpress-upgrade-and-k2/</link>
		<comments>http://info.bycycle.org/2006/08/13/wordpress-upgrade-and-k2/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 04:36:56 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://bycycle.org/blog/2006/08/13/wordpress-upgrade-and-k2/</guid>
		<description><![CDATA[Today we upgraded to WordPress 2.0.4. It&#8217;s a security release. Upgrading is easy: just copy the new directory over the old (being careful to save any customizations first, although if you created new directories for your custom themes, you won&#8217;t &#8230; <a href="http://info.bycycle.org/2006/08/13/wordpress-upgrade-and-k2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today we upgraded to WordPress 2.0.4. It&#8217;s a security release. Upgrading is easy: just copy the new directory over the old (being careful to save any customizations first, although if you created new directories for your custom themes, you won&#8217;t have to do anything).</p>
<p>We also moved from the old default  theme, Kubrick, to a new version of it called <a title="Get K2 WordPress Theme" href="http://getk2.com/">K2</a>. This version makes a lot of things easier, and it looks better out of the box. One day we might customize it.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2006/08/13/wordpress-upgrade-and-k2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Trac</title>
		<link>http://info.bycycle.org/2006/08/05/installing-trac/</link>
		<comments>http://info.bycycle.org/2006/08/05/installing-trac/#comments</comments>
		<pubDate>Sat, 05 Aug 2006 14:07:21 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Site]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Trip Planner]]></category>

		<guid isPermaLink="false">http://bycycle.org/blog/2006/08/05/installing-trac/</guid>
		<description><![CDATA[Today I installed Trac. &#8220;Trac is an enhanced wiki and issue tracking system for software development projects.&#8221; We plan to use it to keep track of issues with the trip planner and any other software projects we might undertake. Issues &#8230; <a href="http://info.bycycle.org/2006/08/05/installing-trac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I installed Trac. &#8220;<a href="http://trac.edgewall.org/" title="Trac Web Site">Trac</a> is an enhanced wiki and issue tracking system for software development projects.&#8221; We plan to use it to keep track of issues with the <a href="http://tripplanner.bycycle.org/" title="byCycle Trip Planner">trip planner</a> and any other software projects we might undertake.</p>
<p>Issues (AKA bugs) with the trip planner can now be reported at <a href="http://trac.bycycle.org/newticket" title="byCycle.org : Trac : Trip Planner : Create New Ticket">http://trac.bycycle.org/newticket</a>. This is somewhat developer-oriented, but users can (and should!) use it too.</p>
<p>Also, since Trac contains a Wiki, anyone can contribute useful information about the trip planner, which might be documentation, tips and tricks, or anything else that&#8217;s relevant.</p>
<p>Here is the high-level outline of our Trac installation:</p>
<ul>
<li>Create a directory to contain Trac projects; each project will live in a subdirectory</li>
<li>Create a subdomain at trac.bycycle.org for accessing Trac projects
<ul>
<li>The files for this will live in the html subdirectory of the main Trac directory</li>
<li>Each project will have a subdirectory in the html directory that contains a simple script to make the project accessible from the Web</li>
</ul>
</li>
</ul>
<p>Dependencies</p>
<ul>
<li>Subversion 1.3.2
<ul>
<li>Berkeley DB 4.4.20</li>
</ul>
</li>
<li>ClearSilver 0.10.3</li>
<li>SQLite 3.3.6</li>
<li>PySQLite 2.3.2 (Python bindings for SQLite)</li>
</ul>
<p>Install Subversion</p>
<ul>
<li>First install BDB
<ul>
<li>cd build_unix</li>
<li>../dist/configure &#8211;prefix=$HOME</li>
<li>make &amp;&amp; make install</li>
</ul>
</li>
<li>./configure &#8211;prefix=$HOME &#8211;with-berkeley-db=$HOME</li>
<li>make &amp;&amp; make install</li>
<li>cd subversion/bindings/swig/</li>
<li>make swig-py</li>
<li>make install-swig-py</li>
<li>echo ~/lib/svn-python &gt; ~/lib/python2.4/site-packages/subversion.pth</li>
</ul>
<p>Install ClearSilver</p>
<ul>
<li>./configure &#8211;prefix=$HOME &#8211;with-python=$HOME/bin/python &#8211;disable-ruby &#8211;disable-java &#8211;disable-perl &#8211;disable-csharp</li>
<li>make &amp;&amp; make install</li>
</ul>
<p>Install SQLite</p>
<ul>
<li>./configure &#8211;prefix=$HOME</li>
<li>make &amp;&amp; make install</li>
</ul>
<p>Install PySQLite</p>
<p><em>For some reason, this was the hardest thing to install.</em></p>
<ul>
<li>Edit setup.cfg, changing the values of these variables as shown
<ul>
<li>include_dirs=/home/u6/bycycle/include</li>
<li>library_dirs=/home/u6/bycycle/lib</li>
</ul>
</li>
<li>python setup.py build</li>
<li>py setup.py install</li>
</ul>
<p>Install Trac</p>
<ul>
<li>python setup.py install</li>
</ul>
<p>Set Up and Configure Trac</p>
<ul>
<li>Create a trac subdomain at trac.bycycle.org
<ul>
<li>Create ~/bycycle.org/trac &#8212; projects will live here</li>
<li>Create ~/bycycle.org/trac/html &#8212; each project will have a Web-accessible directory here</li>
</ul>
</li>
<li>Create a .htaccess file in ~/bycycle.org/trac/html that points all requests to any subdirectoy of trac.bycycle.org to the index.cgi bootstrap program in the subdirectory</li>
</ul>
<p>Create a Trac Project Environment for the Trip Planner</p>
<ul>
<li>cd ~/bycycle.org/trac</li>
<li>trac-admin ./tripplanner initenv</li>
<li>Edit tripplanner/conf/trac.ini</li>
<li>cd bycycle.org/trac/html/tripplanner</li>
<li>cp ~/share/trac/cgi-bin/trac.cgi .</li>
<li>Edit trac.cgi, adding these two lines at the very beginning of the try clause
<ul>
<li>import os</li>
<li>os.environ['TRAC_ENV'] = &#8216;/home/u6/bycycle/bycycle.org/trac/tripplanner&#8217;</li>
</ul>
</li>
<li>Create a simple c program, index.c, that puts LD_LIBRARY_PATH=/home/u6/bycycle/lib in the environment and then calls trac.cgi; compile it to index.cgi (Questions: why can&#8217;t we use Python instead? Why can&#8217;t we add that to os.environ in trac.cgi and get rid of index.cgi)</li>
<li>Visit <a href="http://trac.bycycle.org/tripplanner/" title="byCycle.org : Trac : Trip Planner">http://trac.bycycle.org/tripplanner/</a> and make sure it works</li>
</ul>
<p>TODO</p>
<ul>
<li>Serve static files statically instead of via CGI</li>
<li>Look into authentication if necessary</li>
<li>Add content!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2006/08/05/installing-trac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Setup</title>
		<link>http://info.bycycle.org/2006/07/28/embedded-wordpress-setup/</link>
		<comments>http://info.bycycle.org/2006/07/28/embedded-wordpress-setup/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 03:50:18 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Site]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://bycycle.org/blog/2006/07/28/embedded-wordpress-setup/</guid>
		<description><![CDATA[Installing WordPress is straightforward. Since we wanted an embedded blog for news on our front page, along with a standard blog in a subdirectory, we had to go through a few extra steps. Here&#8217;s how to reproduce our setup: Note: &#8230; <a href="http://info.bycycle.org/2006/07/28/embedded-wordpress-setup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Installing WordPress is straightforward. Since we wanted an <em>embedded</em> blog for news on our front page, along with a standard blog in a subdirectory, we had to go through a few extra steps.</p>
<p>Here&#8217;s how to reproduce our setup:</p>
<p><em>Note: The following assumes </em><em>Apache, PHP, and MySQL are</em><em> already installed and configured (correctly), which means, amongst other things, Apache is configured to load the PHP module, there&#8217;s a database for the WordPress tables to be installed into, and there&#8217;s a MySQL user that can access those tables.<br />
</em></p>
<ul>
<li>Download WordPress 2.0.3 from <a href="http://wordpress.org/download/">http://wordpress.org/download/</a></li>
<li>Decompress the downloaded file into the top-level HTML directory; this will create a new directory named wordpress</li>
<li>Rename the wordpress directory to blog (not strictly necessary, but looks better)</li>
<li>In the blog directory, copy wp-config-sample.php to wp-config.php</li>
<li>Open wp-config.php in a text editor and follow the directions in the file (this just involves a few settings for MySQL)</li>
<li>Navigate to http://byCycle.org/blog/wp-admin/install.php and follow the directions</li>
<li>Assuming Apache, PHP, and MySQL are installed and configured and wp-config.php is correct, the blog is now installed and ready to use at http://byCycle.org/blog/ (Styling the blog to match the rest of the site is left as an exercise)</li>
<li>To embed WordPress in the home page, first rename the home page to index.php (index.html =&gt; index.php)</li>
<li>Add the following PHP to the <em>top</em> of index.php (before <em>anything</em> else):<br />
<code>&lt;?php<br />
$cat = 2;<br />
$show_how_many_posts = 2;<br />
require('./blog/wp-blog-header.php');<br />
?&gt;<br />
</code></li>
<li>Determine where the news section will be, probably in something like &lt;div id=&#8221;news&#8221;&gt;&lt;!&#8211; News will go here &#8211;&gt;&lt;/div&gt;</li>
<li>Inside the news div, copy The WordPress Loop; The Loop can be copied from blog/wp-content/themes/default/index.php; it consists of all the stuff inside<br />
&lt;div class=&#8221;narrowcolumn&#8221; id=&#8221;content&#8221;&gt;&lt;/div&gt; (but not the div tags)</li>
<li>Modify The Loop; this isn&#8217;t strictly necessary, but to use the $cat and  $show_how_many_posts variables from above, a few changes need to be made; (instead of pasting our version of the loop here, <strike>here is the source</strike>; look for the section that starts with &lt;!&#8211; Begin Embedded WordPress &#8211;&gt;)</li>
<li>And I think that&#8217;s all; let us know if it looks like we left anything out</li>
</ul>
<p>I should mention that even though PHP is not my favorite language, I think WordPress is pretty cool, and hacking on it is fairly easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2006/07/28/embedded-wordpress-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

