アットウィキロゴ
 

インストール

yum install subversion
yum install mod_dav_svn

レポジトリの準備

hogeという名前のレポジトリを作る:

mkdir -p /var/www/svn/repos/hoge
svnadmin create /var/www/svn/repos/hoge
svn mkdir file://localhost/var/www/svn/repos/hoge/trunk -m "create"
svn mkdir file://localhost/var/www/svn/repos/hoge/branches -m "create"
svn mkdir file://localhost/var/www/svn/repos/hoge/tags -m "create"
chown -R apache:apache /var/www/svn/repos/hoge
htpasswd -c /somewhere/passwd-hoge okumura
htpasswd /somewhere/passwd-hoge darekasan
(必要なだけ繰り返す)

/etc/httpd/conf.d/subversion.conf に次のように書く:

<Location /svn/hoge>
  DAV svn
  SVNPath /var/www/svn/repos/hoge
  AuthType Basic
  AuthName "hoge"
  AuthUserFile /somewhere/passwd-hoge
  Require valid-user
</Location>

eclipse plugin

タグ:

+ タグ編集
  • タグ:
最終更新:2007年03月24日 17:30