<?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>A Glass case of Thoughts &#187; svn repo</title>
	<atom:link href="http://jyotsna.philogy.com/tag/svn-repo/feed/" rel="self" type="application/rss+xml" />
	<link>http://jyotsna.philogy.com</link>
	<description>By Jyotsna Sonawane</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:47:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jyotsna.philogy.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/144e3f216a63c20ec12e9fd5e8727bd2?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>A Glass case of Thoughts &#187; svn repo</title>
		<link>http://jyotsna.philogy.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jyotsna.philogy.com/osd.xml" title="A Glass case of Thoughts" />
	<atom:link rel='hub' href='http://jyotsna.philogy.com/?pushpress=hub'/>
		<item>
		<title>linux: create svn repository</title>
		<link>http://jyotsna.philogy.com/2008/12/26/linux-create-svn-repository/</link>
		<comments>http://jyotsna.philogy.com/2008/12/26/linux-create-svn-repository/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 06:38:57 +0000</pubDate>
		<dc:creator>Jyotsna</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[create and checkout svn repository on linux]]></category>
		<category><![CDATA[create svn on linux]]></category>
		<category><![CDATA[create svn repo + chmod]]></category>
		<category><![CDATA[create svn repository linux]]></category>
		<category><![CDATA[create svn server]]></category>
		<category><![CDATA[creating repository using svn on linux]]></category>
		<category><![CDATA[linux commands to create a new repository]]></category>
		<category><![CDATA[svn create repo command line]]></category>
		<category><![CDATA[svn repo]]></category>
		<category><![CDATA[svn repository creation]]></category>
		<category><![CDATA[svnadmin]]></category>

		<guid isPermaLink="false">http://jyotsna.philogy.com/?p=128</guid>
		<description><![CDATA[Assumptions: You already have SVN installed on your linux server. If you do not know if it is installed, just type command which svn If this returns a valid path as output, then it means that svn is installed on your linux box. If not, you need to install it. Installing subversion is very easy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jyotsna.philogy.com&amp;blog=19356036&amp;post=128&amp;subd=jy0tsna&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Assumptions:</b><br />
You already have SVN installed on your linux server. If you do not know if it is installed, just type command
<pre>which svn</pre>
<p>If this returns a valid path as output, then it means that svn is installed on your linux box. If not, you need to install it. Installing subversion is very easy (for most distributions) and ample documentation is available on the web. You can start with <a href="http://subversion.tigris.org">http://subversion.apache.org/</a>.</p>
<p><b>Four steps to complete svn repository creation on linux</b></p>
<ol>
<li>log onto server as root</li>
<li>I prefer to have all svn repositories in one directory for better organization and easy maintenance. So next step for me would be to change to my svn directory.
<pre>cd /svnRepos</pre>
<p>If you do not already have a directory for svn repositories, I would recommend creating one.
<pre>mkdir svnRepos</pre>
</li>
<li>Create repository using following command</li>
<pre>svnadmin create /path/to/repo/RepoName</pre>
<p>where : RepoName is the name of repository to be created. As an example, I want to create a repository for my testproject. I would write</p>
<pre>svnadmin create testproject</pre>
<li>Change group ownership of repository for the intended group. In this case, consider I have a user group created as &#8220;all&#8221; and I want this group to have ownership to this repository.
<pre>chown -R :all /path/to/repo/RepoName</pre>
</li>
<li>Grant Read/Write/Execute permissions to &#8220;all&#8221; on this repository
<pre>chmod -R 770 /path/to/repo/RepoName</pre>
</li>
</ol>
<p>After this, all you need to do is</p>
<ul>
<li>Install a client like tortoiseSVN on the user&#8217;s machine</li>
<li>SVN Checkout the repository. I would use a URL like following to connect to my newly created repository
<pre>svn+ssh://username@servername/path/to/repo/RepoName</pre>
<p>Where</p>
<ul>
<li>username: one of the users from group all</li>
<li>servername: my linux server which hosts SVN</li>
</ul>
<p>For my testproject, the path looks like</p>
<pre>svn+ssh://jyotsnas@servername/svnRepos/testproject</pre>
</li>
</ul>
<p><strong>Related posts</strong></p>
<ul>
<li><a href="http://jyotsna.philogy.com/2009/05/what-to-do-when-your-svn-client-saves-a-wrong-password/">What to do : When your SVN client saves a wrong password</a></li>
<li><a href="http://jyotsna.philogy.com/2009/02/linux-how-to-replicate-svn-repository/">linux how to: replicate svn repository</a></li>
<li><a href="http://jyotsna.philogy.com/2008/12/how-to-make-svn-remember-password/">How to make SVN remember password</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jy0tsna.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jy0tsna.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jy0tsna.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jyotsna.philogy.com&amp;blog=19356036&amp;post=128&amp;subd=jy0tsna&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jyotsna.philogy.com/2008/12/26/linux-create-svn-repository/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59272e407d1ae02c38c11a03dbd61cc2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=X" medium="image">
			<media:title type="html">pixperiments</media:title>
		</media:content>
	</item>
	</channel>
</rss>
