svnserveサーバ

svnserve設定・アカウント作成

 cd /var/svn/repos
 vi svnserve.conf
 [general]
 anon-access = none
 password-db = passwd
 vi passwd
 [users]
 taro = taro_passwd

iptables 設定

 vi /etc/sysconfig/iptables
 -A INPUT -i eth1 -m state --state NEW -m tcp -p tcp --dport svn -j ACCEPT
 service iptables restart

svnserve 起動設定

 vi /etc/sysconfig/svnserve
 OPTIONS="-r /var/svn/repos"

svnserve 起動

 chkconfig --add svnserve
 chkconfig svnserve on
 chkconfig --list | grep svnserve

動作確認

 svn ls --username taror svn://localhost/

参考

http://www.ochounos.com/#blog/10


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2012-08-12 (日) 00:03:41