<?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>Ashish Kulkarni &#187; Fedora</title>
	<atom:link href="http://www.ashishkulkarni.com/tags/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashishkulkarni.com</link>
	<description>A Blog on OpenSource Technology and more...</description>
	<lastBuildDate>Mon, 07 Nov 2011 18:04:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Installing SubVersion on Fedora Linux</title>
		<link>http://www.ashishkulkarni.com/installing-subversion-on-fedora-linux/</link>
		<comments>http://www.ashishkulkarni.com/installing-subversion-on-fedora-linux/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 10:48:38 +0000</pubDate>
		<dc:creator>ashish</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://www.ashishkulkarni.com/?p=21</guid>
		<description><![CDATA[To install subversion on Linux and make it available over Apache, I took the following steps: Install subversion on Fedora yum install subversion Install mod_dav_svn yum install mod_dav_svn Create the SVN Repository mkdir /svn/repos svnadmin create /svn/repos/sandbox Change ownership of the folder to Apache chown -R apache.apache /svn Create /svn/repos/sandbox/svnauth file [/] user1 = rw [...]]]></description>
			<content:encoded><![CDATA[<p>To install subversion on Linux and make it available over Apache, I took the following steps:</p>
<h4>Install subversion on Fedora</h4>
<p><code>yum install subversion</code></p>
<h4>Install mod_dav_svn</h4>
<p><code>yum install mod_dav_svn</code></p>
<h4>Create the SVN Repository</h4>
<p><code>mkdir /svn/repos<br />
svnadmin create /svn/repos/sandbox<br />
</code></p>
<h4>Change ownership of the folder to Apache</h4>
<p><code>chown -R apache.apache /svn</code></p>
<h4>Create /svn/repos/sandbox/svnauth file</h4>
<p><code><br />
[/]<br />
user1 = rw<br />
user2 = r<br />
</code></p>
<p>Here, user <em>user1</em> will have read-write access while user <em>user2</em> will have read-only access to the entire repository.</p>
<h4>Create /svn/repos/sandbox/svnpass file</h4>
<p><code>htpasswd -bcm /svn/repos/sandbox/svnpass user1 passwordUser1<br />
htpasswd -bm /svn/repos/sandbox/svnpass user2 passwordUser2</code></p>
<p><strong>htpasswd</strong> has the following usage</p>
<p><code>Usage:<br />
htpasswd [-cmdpsD] passwordfile username<br />
htpasswd -b[cmdpsD] passwordfile username password<br />
 <br />
htpasswd -n[mdps] username<br />
htpasswd -nb[mdps] username password<br />
-c Create a new file.<br />
-n Don't update file; display results on stdout.<br />
-m Force MD5 encryption of the password.<br />
-d Force CRYPT encryption of the password (default).<br />
-p Do not encrypt the password (plaintext).<br />
-s Force SHA encryption of the password.<br />
-b Use the password from the command line rather than prompting for it.<br />
-D Delete the specified user.<br />
On Windows, NetWare and TPF systems the '-m' flag is used by default.<br />
On all other systems, the '-p' flag will probably not work.<br />
</code></p>
<h4>Add the following to your apache config file</h4>
<p><code>&lt;Location /svn/sandbox&gt;<br />
DAV svn<br />
SVNPath /svn/repos/sandbox<br />
AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile /svn/repos/sandbox/svnpass<br />
Require valid-user<br />
AuthzSVNAccessFile /svn/repos/sandbox/svnauth<br />
&lt;/Location&gt;</code></p>
<h4>Restart Apache</h4>
<p><code>httpd restart</code></p>
<p>Now you can access the above repository using your browser. Simply visit <a href="http://www.yourserver.com/svn/sandbox">http://www.yourserver.com/svn/sandbox</a>. You will be asked for username and password. Use one of the user names and passwords you used above. For example, <strong>user1</strong> and <strong>passwordUser1</strong>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ashishkulkarni.com%2Finstalling-subversion-on-fedora-linux%2F&amp;title=Installing%20SubVersion%20on%20Fedora%20Linux"><img src="http://www.ashishkulkarni.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.ashishkulkarni.com/installing-subversion-on-fedora-linux/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>

