« | »

2010.02.09

LinuxTIPS – websvn インストールメモ

svnのリポジトリをwebで確認できるようにするため、
websvnをインストール。


ファイルは以下から取得

http://www.websvn.info/download/

1. ファイルを展開する
$ tar zxvf websvn-2.2.1.tar.gz

2. ドキュメントルートに移動させる
# mv websvn-2.2.1 /var/www/websvn/

3. config.phpを編集
# cp distconfig.php config.php
# vim config.php

—————————————————-
$config->addRepository(‘m120-test’, ‘http://192.168.0.50/svn/test/’, NULL, ‘apache’, ‘abc123′);

$config->setInputEncoding(‘UTF8′);  // Encoding of result returned by svn command line, etc.
$config->setContentEncoding(‘UTF8′);  // Content encoding of all your repositories

$config->setDefaultLanguage(‘jp’);
—————————————————-

たしか、こんな感じだった。


実用 Subversion 第2版実用 Subversion 第2版