<?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>Özgür Kuru &#187; mod_dav_svn</title>
	<atom:link href="http://www.ozgurkuru.net/ozgur/tag/mod_dav_svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ozgurkuru.net/ozgur</link>
	<description>Gözyaşı gülümsemelerinin yansımaları...</description>
	<lastBuildDate>Sun, 25 Jul 2010 19:36:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Centos Subversion Apache mod_dav_svn&#8230;</title>
		<link>http://www.ozgurkuru.net/ozgur/2010/01/29/centos-subversion-apache-mod_dav_svn/</link>
		<comments>http://www.ozgurkuru.net/ozgur/2010/01/29/centos-subversion-apache-mod_dav_svn/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 22:20:10 +0000</pubDate>
		<dc:creator>Özgür Kuru</dc:creator>
				<category><![CDATA[Suncu]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linuxgezegen]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache ile svn yayını yapmak]]></category>
		<category><![CDATA[centos ile apache ve svn mod_dav_svn]]></category>
		<category><![CDATA[mod_dav_svn]]></category>
		<category><![CDATA[subversin]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.ozgurkuru.net/ozgur/?p=816</guid>
		<description><![CDATA[Centos üzerinde Apache sunucusu ile birlikte subversion depolarınızı yayınlayabilirsiniz. Bunun için kurmanız gereken paketler şu şekilde: yum install httpd subversion mod_dav_svn Bu işlem ardından yapmanız gereken şey apache ile ilgili subversion ayar dosyasını düzenlemeniz. Centos zaten bu paketleri kurduğunuz da &#8230; <a href="http://www.ozgurkuru.net/ozgur/2010/01/29/centos-subversion-apache-mod_dav_svn/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Centos üzerinde Apache sunucusu ile birlikte subversion depolarınızı yayınlayabilirsiniz. Bunun için kurmanız gereken paketler şu şekilde:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> httpd subversion mod_dav_svn</pre></div></div>

<p>Bu işlem ardından yapmanız gereken şey apache ile ilgili subversion ayar dosyasını düzenlemeniz. Centos zaten bu paketleri kurduğunuz da &#8220;/etc/httpd/conf.d/&#8221; altına &#8220;subversion.conf&#8221; adıyla bir dosya oluşturuyor. Fakat bu dosyanın içerisi yorumlanmış şekilde.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">&gt;</span>
   DAV <span style="color: #c20cb9; font-weight: bold;">svn</span>
   SVNParentPath <span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>dopalarinin<span style="color: #000000; font-weight: bold;">/</span>bulundugu<span style="color: #000000; font-weight: bold;">/</span>dizin
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Bu şekilde basit bir ayar yapabilirsiniz. Bu ayardan sonra web sunucusunu baştan başlatmamız gerekiyor. Artık http://ipadresiniz/repos/depoadi veya http://domain.tld/repos/depoadi adresine girerek svn depolarınıza ulaşabilirsiniz.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>ipadresiniz<span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">/</span>depoadi</pre></div></div>

<p>komutu ile doponucu check out yapabilirsiniz. Eğer depoya erişimi şifreli yapmak istiyorsanız.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">&gt;</span>
   DAV <span style="color: #c20cb9; font-weight: bold;">svn</span>
   SVNParentPath <span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>dopalarinin<span style="color: #000000; font-weight: bold;">/</span>bulundugu<span style="color: #000000; font-weight: bold;">/</span>dizin
&nbsp;
      AuthType Basic
      AuthName <span style="color: #ff0000;">&quot;Svn deposu....&quot;</span>
      AuthUserFile <span style="color: #000000; font-weight: bold;">/</span>sifrenin<span style="color: #000000; font-weight: bold;">/</span>saklanacagi<span style="color: #000000; font-weight: bold;">/</span>dosya
      Require valid-user
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Şeklinde bir ayar dosyası hazırlamanız gerekiyor. Bu şekilde bir giriş kontrolü için &#8220;htpasswd&#8221; ile kullanıcı hesapları oluşturuyoruz. Bunun için komutumuz:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">htpasswd <span style="color: #660033;">-b</span> <span style="color: #000000; font-weight: bold;">/</span>sifrenin<span style="color: #000000; font-weight: bold;">/</span>saklanacagi<span style="color: #000000; font-weight: bold;">/</span>dosya kullaniciadi sifre</pre></div></div>

<p>Buraya kadar, subversin, apache ve apache üzerinden svn yayını yapmak için gerekli adımları uyguladık. Tabi bunlar için svn deposu oluşturmanız da gerekiyor.</p>
<p>Bunun için kullancağınız komut ise:</p>

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

<p>Burda dikkat edilmesi gereken şey oluşturacağınız deponun apache ayar dosyasında belirttiğiniz SVNParentPath ile belirtilen dizin altında olması.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ozgurkuru.net/ozgur/2010/01/29/centos-subversion-apache-mod_dav_svn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
