<?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>Make Tech Easier&#187; subversion svn</title>
	<atom:link href="http://maketecheasier.com/tag/subversion-svn/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Sun, 12 Feb 2012 15:58:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up Subversion Version control in Ubuntu</title>
		<link>http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11</link>
		<comments>http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11#comments</comments>
		<pubDate>Mon, 11 Aug 2008 06:37:00 +0000</pubDate>
		<dc:creator>Damien Oh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[subversion svn]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=698</guid>
		<description><![CDATA[When developing a project, you may want to keep a version control of all your files so that you can easily revert to an earlier page (or the previous revision) to fix any bugs or in the event that someone accidentally deleted your files. In Ubuntu, the easiest way to do version control is to [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11&amp;title=Setting+up+Subversion+Version+control+in+Ubuntu&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11">Setting up Subversion Version control in Ubuntu</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Subversion logo" src="http://imagecdn.maketecheasier.com/2008/08/subversion_logo.jpg" alt="Subversion logo" width="250" height="216" align="left" />When developing a project, you may want to keep a version control of all your files so that you can easily revert to an earlier page (or the previous revision) to fix any bugs or in the event that someone accidentally deleted your files.</p>
<p>In Ubuntu, the easiest way to do version control is to set up a Subversion (SVN) server.</p>
<p><span id="more-698"></span><strong>Install SVN and Apache</strong></p>
<p class="codeblock">sudo apt-get install subversion libapache2-svn</p>
<p>Next, we are going to create a directory to hold your repository.</p>
<p class="codeblock">sudo svnadmin create /var/lib/svn</p>
<p>Give apache the access right to the repository</p>
<p class="codeblock">sudo chown -R www-data:www-data /var/lib/svn<br />
sudo chmod 770 -R /var/lib/svn</p>
<p><strong>Configure Apache for SVN access</strong></p>
<p class="codeblock">gksu gedit /etc/apache2/mods-available/dav_svn.conf</p>
<p>Uncomment the codes by removing the &#8216;#&#8217; in front of the following lines:</p>
<p class="codeblock">&lt;Location /svn&gt;<br />
&#8230;<br />
DAV svn<br />
&#8230;<br />
AuthType Basic<br />
AuthName &#8220;Subversion Repository&#8221;<br />
AuthUserFile /etc/apache2/dav_svn.passwd<br />
&#8230;<br />
&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;<br />
Require valid-user<br />
&lt;/LimitExcept&gt;<br />
&lt;/Location&gt;</p>
<p>If you have only one repository for your SVN, uncomment the following line</p>
<p class="codeblock">SVNPath /var/lib/svn</p>
<p>Else if you are setting up multiple repositories, uncomment this line</p>
<p class="codeblock">SVNParentPath /var/lib/svn</p>
<p><em>Remember that at any time, only SVNPath or SVNParentPath is uncommented. Do not uncomment both at the same time.</em></p>
<p>Create a password for your username</p>
<p class="codeblock">sudo htpasswd -cm /etc/apache2/dav_svn.passwd yourusername</p>
<p>Restart apache</p>
<p class="codeblock">sudo /etc/init.d/apache2 restart</p>
<p>Now open your browser and go to <em>http://localhost/svn</em>. If you see the following, the your installation is successful.</p>
<p><img class="alignnone size-full wp-image-699" title="subversion" src="http://imagecdn.maketecheasier.com/2008/08/svn.jpg" alt="Subversion" width="338" height="102" /></p>
<p><strong>Importing your project into SVN</strong></p>
<p>You have successfully installed and configured SVN, now we need to import our project files to the SVN.</p>
<p class="codeblock">sudo apt-get install rapidsvn</p>
<p>Go to <em>Applications-&gt;Programming-&gt;RapidSVN</em></p>
<p>In the RapidSVN, go to <em>Repository-&gt;Import</em></p>
<p>In the window, enter the following:</p>
<p><img class="alignnone size-full wp-image-700" title="rapidsvn-import" src="http://imagecdn.maketecheasier.com/2008/08/rapidsvn-import.jpg" alt="rapidsvn-import" width="451" height="302" /></p>
<p>Click OK. Enter your <em>username</em> and <em>password</em>. Your project should be in the SVN now.</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11&amp;title=Setting+up+Subversion+Version+control+in+Ubuntu&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11">Setting up Subversion Version control in Ubuntu</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

