<?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; version control</title>
	<atom:link href="http://maketecheasier.com/tag/version-control/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Fri, 20 Nov 2009 13:39:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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</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 set [...]<p><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>)</p>



Related posts:<ol><li><a href='http://maketecheasier.com/setting-up-a-lamp-server-in-ubuntu-hardy-heron/2008/08/06' rel='bookmark' title='Permanent Link: Setting Up a LAMP Server In Ubuntu Hardy Heron'>Setting Up a LAMP Server In Ubuntu Hardy Heron</a></li><li><a href='http://maketecheasier.com/twitting-from-your-ubuntu-desktop/2008/04/09' rel='bookmark' title='Permanent Link: Twitting From Your Ubuntu Desktop'>Twitting From Your Ubuntu Desktop</a></li><li><a href='http://maketecheasier.com/how-to-install-and-setup-jinzora-media-server-in-ubuntu/2008/08/25' rel='bookmark' title='Permanent Link: How To Install And Setup Jinzora Media Server In Ubuntu'>How To Install And Setup Jinzora Media Server In Ubuntu</a></li><li><a href='http://maketecheasier.com/easily-upgrade-your-firefox-to-35-in-ubuntu/2009/08/12' rel='bookmark' title='Permanent Link: How to Easily Upgrade your Firefox to 3.5 (and future version) in Ubuntu'>How to Easily Upgrade your Firefox to 3.5 (and future version) in Ubuntu</a></li><li><a href='http://maketecheasier.com/sync-ipod-touch-with-win-xp-vm-in-ubuntu-intrepid/2008/12/16' rel='bookmark' title='Permanent Link: How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid'>How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Subversion logo" src="http://images.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><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://maketecheasier.com/wp-content/uploads/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://maketecheasier.com/wp-content/uploads/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><p><script type="text/javascript"><!--
google_ad_client = "pub-8765285789552883";
/* MTE body ad300x250, created 5/17/09 */
google_ad_slot = "3980792036";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p></p>
<p><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>)</p>


<p>Related posts:<ol><li><a href='http://maketecheasier.com/setting-up-a-lamp-server-in-ubuntu-hardy-heron/2008/08/06' rel='bookmark' title='Permanent Link: Setting Up a LAMP Server In Ubuntu Hardy Heron'>Setting Up a LAMP Server In Ubuntu Hardy Heron</a></li><li><a href='http://maketecheasier.com/twitting-from-your-ubuntu-desktop/2008/04/09' rel='bookmark' title='Permanent Link: Twitting From Your Ubuntu Desktop'>Twitting From Your Ubuntu Desktop</a></li><li><a href='http://maketecheasier.com/how-to-install-and-setup-jinzora-media-server-in-ubuntu/2008/08/25' rel='bookmark' title='Permanent Link: How To Install And Setup Jinzora Media Server In Ubuntu'>How To Install And Setup Jinzora Media Server In Ubuntu</a></li><li><a href='http://maketecheasier.com/easily-upgrade-your-firefox-to-35-in-ubuntu/2009/08/12' rel='bookmark' title='Permanent Link: How to Easily Upgrade your Firefox to 3.5 (and future version) in Ubuntu'>How to Easily Upgrade your Firefox to 3.5 (and future version) in Ubuntu</a></li><li><a href='http://maketecheasier.com/sync-ipod-touch-with-win-xp-vm-in-ubuntu-intrepid/2008/12/16' rel='bookmark' title='Permanent Link: How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid'>How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/setting-up-subversion-version-control-in-ubuntu/2008/08/11/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
