<?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>AKISAME.JP &#187; サーバ設定</title>
	<atom:link href="http://akisame.jp/tag/server/feed" rel="self" type="application/rss+xml" />
	<link>http://akisame.jp</link>
	<description>gonishi&#039;s blog.</description>
	<lastBuildDate>Thu, 01 Sep 2011 10:52:03 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>さくらにsubversionをインストール</title>
		<link>http://akisame.jp/2008/12/02/subversion-install</link>
		<comments>http://akisame.jp/2008/12/02/subversion-install#comments</comments>
		<pubDate>Tue, 02 Dec 2008 08:24:36 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[さくらインターネット]]></category>
		<category><![CDATA[サーバ設定]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=18</guid>
		<description><![CDATA[さくらインターネットのレンタルサーバ(スタンダードプラン)にsubversionをインストールする方法のメモです。 プログラムのバージョン管理は、使い慣れてるSubversionを使用。 サーバ側にsubversionを [...]]]></description>
			<content:encoded><![CDATA[<p>さくらインターネットのレンタルサーバ(スタンダードプラン)にsubversionをインストールする方法のメモです。</p>
<p>プログラムのバージョン管理は、使い慣れてるSubversionを使用。<br />
サーバ側にsubversionをインストールして、クライアントはWindowsXPでToroiseSVNを使います。<br />
サーバのOSはFreeBSD 6.1-RELEASE-p24 i386。</p>
<h3>サーバにsubversionをインストールする</h3>
<p>以下の3つが必要。</p>
<ol>
<li>subversion</li>
<li>apr</li>
<li>apr-util</li>
</ol>
<p>検索したらswigとかneonも必要って書いてあったけど、上の３つだけで使えました。</p>
<h4>subversionダウンロードして解凍</h4>
<p>最新版は<a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a>から、たどれば持ってこれます。<br />
.tar.bz2でも.tar.gzでも.zipでもお好きなものを。<br />
今回は1.5.2の.tar.gzを持ってきてインストール。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>subversion.tigris.org<span style="color: #000000; font-weight: bold;">/</span>downloads<span style="color: #000000; font-weight: bold;">/</span>subversion-1.5.2.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf subversion-1.5.2.tar.gz</pre></div></div>

<h4>APRとAPR-Utilをダウンロードして解凍</h4>
<p>subversionは1.4.0移行だとAPRとAPR-Utilが入ってなくて<br />
makeできないのでAPRとAPR-Utilをダウンロード。<br />
最新版はもっと新しいけれど、subversionをconfigureしたときに<br />
0.9.xを入れろと書いてあったので0.9.xの最新を持ってくる。<br />
最新版は<a href="http://apr.apache.org/">http://apr.apache.org/</a>から0.9.XのところのDownloadをクリックしてたどれば持ってこられます。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.meisei-u.ac.jp<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>apache<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>apr<span style="color: #000000; font-weight: bold;">/</span>apr-0.9.17.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf apr-0.9.17.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.meisei-u.ac.jp<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>apache<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>apr<span style="color: #000000; font-weight: bold;">/</span>apr-util-0.9.15.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf apr-util-0.9.15.tar.gz</pre></div></div>

<p>解凍した中身をsubversionのディレクトリにコピー。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> subversion-1.5.2<span style="color: #000000; font-weight: bold;">/</span>apr
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> subversion-1.5.2<span style="color: #000000; font-weight: bold;">/</span>apr-util
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-rf</span> apr-0.9.17<span style="color: #000000; font-weight: bold;">/*</span> subversion-1.5.2<span style="color: #000000; font-weight: bold;">/</span>apr
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-rf</span> apr-util-0.9.15<span style="color: #000000; font-weight: bold;">/*</span> subversion-1.5.2<span style="color: #000000; font-weight: bold;">/</span>apr-util</pre></div></div>

<h4>subversionインストール</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #7a0874; font-weight: bold;">cd</span> subversion-1.5.2
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>configureはこれだけでいいのか不安。<br />
でもこれで使えました。</p>
<p>windowsの設定は、<a href="http://akisame.jp/2008/12/06/">WindowsでTortoiseSVNを使う</a>に書いておきました。</p>
<p>参考サイト</p>
<ul>
<li><a href="http://saikyoline.jp/weblog/2007/04/subversion_1.html">さくらインターネットでSubversionの補足。- SaikyoLine.jp -</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2008/12/02/subversion-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

