<?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>PHP Architect blog &#187; repository</title>
	<atom:link href="http://www.php-architect.com/blog/tag/repository/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-architect.com/blog</link>
	<description>PHP, MySQL, ZF, Python, Linux, Mac, C++, Java, Flex, Air, ActionScript &#38; apps development.</description>
	<lastBuildDate>Tue, 24 Aug 2010 06:32:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Subversion with Web Access on Ubuntu 8.04 (Hardy Heron)</title>
		<link>http://www.php-architect.com/blog/2008/10/07/install-subversion-with-web-access-on-ubuntu-804-hardy-heron/</link>
		<comments>http://www.php-architect.com/blog/2008/10/07/install-subversion-with-web-access-on-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 17:23:07 +0000</pubDate>
		<dc:creator>Me2resh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[versioning]]></category>

		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=111</guid>
		<description><![CDATA[well, it is very useful to have a subversion server so u can have different versions of your applications; for back up and to be able to restore old versions, and be able to share the project with the team, when there is more than one developer working on it. 1- install apache sudo apt-get [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>well, it is very useful to have a subversion server so u can have different versions of your applications; for back up and to be able to restore old versions, and be able to share the project with the team, when there is more than one developer working on it.</p>
<p>1- install apache</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> apache2</pre></div></div>

<p>2- install subversion</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion libapache2-svn</pre></div></div>

<p>3- We&#8217;re going to create the subversion repository in /svn</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">svnadmin</span> create <span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span></pre></div></div>

<p>4- Now we&#8217;ll need to edit the configuration file for the subversion webdav module</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-enabled<span style="color: #000000; font-weight: bold;">/</span>dav_svn.conf</pre></div></div>

<p>we will comment the following line, so we can access the repository using the address http://www.servername.com/svn</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&lt;Location /svn&gt;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&lt;/Location&gt;</pre></div></div>

<p>and the following line to enable the dav module</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">DAV svn</pre></div></div>

<p>and the following line to set the path to our repository which is /svn in our case</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SVNPath /svn</pre></div></div>

<p>and the following 3 lines to enable basic authentication</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">AuthType Basic
AuthName &quot;Subversion Repository&quot;
AuthUserFile /etc/apache2/dav_svn.passwd</pre></div></div>

<p>5- We create a user to have access to our repository</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> htpasswd <span style="color: #660033;">-cm</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>dav_svn.passwd</pre></div></div>

<p>where  is the desired login name<br />
6- We restart the apache server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>7- You can access now the repository using the address : http://www.servername.com/svn</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.php-architect.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2008/10/07/install-subversion-with-web-access-on-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
