<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Stewcraft's Blog</title>
	<atom:link href="http://stewcraft.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://stewcraft.wordpress.com</link>
	<description>Little Development Bytes</description>
	<lastBuildDate>Wed, 31 Dec 2008 07:44:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='stewcraft.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Stewcraft's Blog</title>
		<link>http://stewcraft.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://stewcraft.wordpress.com/osd.xml" title="Stewcraft&#039;s Blog" />
	<atom:link rel='hub' href='http://stewcraft.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Subversion and Trac on Ubuntu</title>
		<link>http://stewcraft.wordpress.com/2008/12/30/installing-subversion-and-trac-on-ubuntu/</link>
		<comments>http://stewcraft.wordpress.com/2008/12/30/installing-subversion-and-trac-on-ubuntu/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 07:39:37 +0000</pubDate>
		<dc:creator>stewcraft</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stewcraft.wordpress.com/?p=3</guid>
		<description><![CDATA[Today I setup Subversion and Trac, with Apache, WebDAV, and SSL on Ubuntu 8.10.  I found several instructions on the web, but most of them were for older versions of Ubuntu. First I followed the instructions from Ariejan.net: How to setup a Ubuntu development server &#8211; Part 1 From the Part 1 instructions I mainly followed the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stewcraft.wordpress.com&amp;blog=6005391&amp;post=3&amp;subd=stewcraft&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I setup Subversion and Trac, with Apache, WebDAV, and SSL on Ubuntu 8.10.  I found several instructions on the web, but most of them were for older versions of Ubuntu.</p>
<p>First I followed the instructions from Ariejan.net:</p>
<p><a href="http://ariejan.net/2006/12/01/how-to-setup-a-ubuntu-development-server-part-1/">How to setup a Ubuntu development server &#8211; Part 1</a></p>
<p>From the Part 1 instructions I mainly followed the steps after the &#8220;Getting SSH up and running&#8221; section.  Also under the &#8220;WebDAV for SVN&#8221; section, I did not want to allow anonymous access, so I edited the last part of the file to look like the following:</p>
<blockquote><p> # &lt;limitexcept GET PROPFIND OPTIONS REPORT &gt;<br />
    Require valid-user<br />
 # &lt;/ limitexcept &gt;</p>
<p>SSLRequireSSL<br />
&lt;/location&gt;</p></blockquote>
<p>Under the &#8220;Authentication&#8221; section, use htpasswd instead of htpasswd2.</p>
<p>I followed step 3 in Alaph Zarro&#8217;s instructions to generate the certificate under Ubuntu &gt;=Feisty:</p>
<p><a href="http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/">Installation of Subversion on Ubuntu, with Apache, SSL, and BasicAuth.</a></p>
<p>Also from the command line I enabled the default-ssl site with the following commands:</p>
<blockquote><p>sudo a2ensite default-ssl<br />
sudo /etc/init.d/apache2 reload</p></blockquote>
<p>After that I was able to use the SVN with https in the URL.</p>
<p>Next was installing Trac.  I again followed the instructions from Ariejan.net:</p>
<p><a href="http://ariejan.net/2006/12/02/how-to-setup-a-ubuntu-development-server-part-2/">How to setup a Ubuntu development server &#8211; Part 2</a></p>
<p>Instead of modifying the /etc/apache2/sites-available/default file, I modified the /etc/apache2/sites-available/default-ssl file instead to include the lines.  Also I did not follow the &#8220;Webadmin&#8221; section as it is for an older version of Trac.</p>
<p>After that I went to the &#8220;Admin&#8221; section of my new Trac project web interface and removed the items under &#8220;anonymous&#8221; and added them to &#8220;authenticated&#8221; instead.</p>
<p>I added new users with the following command:</p>
<blockquote><p>sudo htpasswd -m /etc/apache2/dav_svn.passwd SOMEUSER</p></blockquote>
<p>where SOMEUSER is the username to add.</p>
<p><a href="http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/"></a></p>
<p>At one point I ran across the following error when I attempted the apache reload:</p>
<blockquote><p><span style="font-family:Courier New;">httpd not running, trying to start<br />
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 </span></p></blockquote>
<p>Apparently I forgot to run &#8220;sudo&#8221; in front of the command, so remember to run &#8220;sudo&#8221; or else you&#8217;ll get the same error.</p>
<p>I may have forgotten some steps.  If I remember them I&#8217;ll add them in later.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/stewcraft.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/stewcraft.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/stewcraft.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=stewcraft.wordpress.com&amp;blog=6005391&amp;post=3&amp;subd=stewcraft&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://stewcraft.wordpress.com/2008/12/30/installing-subversion-and-trac-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da841e991ef3dc80d30bd641f61671ae?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">stewcraft</media:title>
		</media:content>
	</item>
	</channel>
</rss>
